getCashFlow API

The getCashFlow API provides information about cash flow, income and cash equivalents of publicly traded companies.

All APIs

Contact Us to Get Access

Inputs

symbols required

A symbol or code that identifies a financial instrument. Multiple symbols separated by a comma may be used.

Type
list (A comma or semi-colon delimited string.) 
Example
AAPL,GOOG 

reportPeriod optional

Whether to return quarterly (3M) or annual (12M) reports.

Type
enum (A type which includes a list of valid possible values.) 
Example
12M 
Default
12M 

Valid Values:
12M, 3M

fields optional

The fields requested.

Type
list (A comma or semi-colon delimited string.) 

numberOfYears optional

The number of years to return data for.

Type
integer (A numeric type defining a whole number. (example: 2)) 
Example
Default

Outputs

Name / Requirement
Description
Type
symbol
always returned
string
A sequence of characters. (example: GOOG)
period
always returned
string
A sequence of characters. (example: GOOG)
netIncome
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
depreciationAndAmortization
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
deferredIncomeTax
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
accountsReceivable
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
accountsPayable
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
otherWorkingCapital
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
loans
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
otherOperatingActivities
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
netCashFromOperatingActivities
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
changeInDepositsWithBank
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
investmentsInProperty
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
netAcquisitions
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
purchasesOfInvestments
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
salesOfInvestments
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
purchasesAndSaleOfIntangibles
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
netChangeInLoans
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
otherInvestingActivity
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
netCashUsedForInvestingActivities
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
changeInDeposits
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
changeInShortTermBorrowing
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
debtIssued
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
debtRepayment
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
commonStockIssued
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
commonStockRepurchased
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
dividendPaid
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
otherFinancingActivity
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
netCashProvidedByFinancingActivities
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
effectOfExchangeRateChanges
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
cashAtBeginningOfPeriod
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
cashAtEndOfPeriod
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
netChangeInCash
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
operatingCashFlow
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
capitalExpenditure
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)
freeCashFlow
always returned
double
A numeric type defining a number with fractional parts. (example: 2.14)

Status Code Responses

200
OK
Success
400
Bad Request
The request was invalid, please see the message for more information.
500
Internal Server Error
Something is not working correctly, please contact support.


JSON

GET

GET https://ondemand.websol.barchart.com/getCashFlow.json?apikey=<YOUR API KEY>&symbols=AAPL%2CGOOG&reportPeriod=12M&fields=&numberOfYears=4
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getCashFlow.json
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=<YOUR API KEY>&symbols=AAPL%2CGOOG&reportPeriod=12M&fields=&numberOfYears=4

Response

{
    "status": {
        "code": 200,
        "message": "Success."
    },
    "results": [
        {
            "symbol": "AAPL",
            "period": "09-2017",
            "netIncome": 48351000000,
            "depreciationAndAmortization": 10157000000,
            "deferredIncomeTax": 5966000000,
            "accountsReceivable": -2093000000,
            "accountsPayable": 9618000000,
            "otherWorkingCapital": -5550000000,
            "loans": 0,
            "otherOperatingActivities": -2851000000,
            "netCashFromOperatingActivities": 63598000000,
            "changeInDepositsWithBank": -33147000000,
            "investmentsInProperty": -12451000000,
            "netAcquisitions": -329000000,
            "purchasesOfInvestments": -395000000,
            "salesOfInvestments": 0,
            "purchasesAndSaleOfIntangibles": -344000000,
            "netChangeInLoans": 0,
            "otherInvestingActivity": -124000000,
            "netCashUsedForInvestingActivities": -46446000000,
            "changeInDeposits": 0,
            "changeInShortTermBorrowing": 3852000000,
            "debtIssued": 28662000000,
            "debtRepayment": -3500000000,
            "commonStockIssued": 555000000,
            "commonStockRepurchased": -32900000000,
            "dividendPaid": -12769000000,
            "otherFinancingActivity": -1247000000,
            "netCashProvidedByFinancingActivities": -17347000000,
            "effectOfExchangeRateChanges": 0,
            "cashAtBeginningOfPeriod": 20484000000,
            "cashAtEndOfPeriod": 20289000000,
            "netChangeInCash": -195000000,
            "operatingCashFlow": 63598000000,
            "capitalExpenditure": -12451000000,
            "freeCashFlow": 51147000000
        },
        {
            "symbol": "AAPL",
            "period": "09-2016",
            "netIncome": 45687000000,
            "depreciationAndAmortization": 10505000000,
            "deferredIncomeTax": 4938000000,
            "accountsReceivable": 527000000,
            "accountsPayable": 1837000000,
            "otherWorkingCapital": -2000000,
            "loans": 0,
            "otherOperatingActivities": 2332000000,
            "netCashFromOperatingActivities": 65824000000,
            "changeInDepositsWithBank": -30634000000,
            "investmentsInProperty": -12734000000,
            "netAcquisitions": -297000000,
            "purchasesOfInvestments": -1388000000,
            "salesOfInvestments": 0,
            "purchasesAndSaleOfIntangibles": -814000000,
            "netChangeInLoans": 0,
            "otherInvestingActivity": -924000000,
            "netCashUsedForInvestingActivities": -45977000000,
            "changeInDeposits": 0,
            "changeInShortTermBorrowing": -397000000,
            "debtIssued": 24954000000,
            "debtRepayment": -2500000000,
            "commonStockIssued": 495000000,
            "commonStockRepurchased": -29722000000,
            "dividendPaid": -12150000000,
            "otherFinancingActivity": -1163000000,
            "netCashProvidedByFinancingActivities": -20483000000,
            "effectOfExchangeRateChanges": 0,
            "cashAtBeginningOfPeriod": 21120000000,
            "cashAtEndOfPeriod": 20484000000,
            "netChangeInCash": -636000000,
            "operatingCashFlow": 65824000000,
            "capitalExpenditure": -12734000000,
            "freeCashFlow": 53090000000
        },
        {
            "symbol": "AAPL",
            "period": "09-2015",
            "netIncome": 53394000000,
            "depreciationAndAmortization": 11257000000,
            "deferredIncomeTax": 1382000000,
            "accountsReceivable": 417000000,
            "accountsPayable": 5001000000,
            "otherWorkingCapital": 11262000000,
            "loans": 0,
            "otherOperatingActivities": -1447000000,
            "netCashFromOperatingActivities": 81266000000,
            "changeInDepositsWithBank": -44417000000,
            "investmentsInProperty": -11247000000,
            "netAcquisitions": -343000000,
            "purchasesOfInvestments": 0,
            "salesOfInvestments": 0,
            "purchasesAndSaleOfIntangibles": -241000000,
            "netChangeInLoans": 0,
            "otherInvestingActivity": -267000000,
            "netCashUsedForInvestingActivities": -56274000000,
            "changeInDeposits": 0,
            "changeInShortTermBorrowing": 2191000000,
            "debtIssued": 27114000000,
            "debtRepayment": 0,
            "commonStockIssued": 543000000,
            "commonStockRepurchased": -35253000000,
            "dividendPaid": -11561000000,
            "otherFinancingActivity": -750000000,
            "netCashProvidedByFinancingActivities": -17716000000,
            "effectOfExchangeRateChanges": 0,
            "cashAtBeginningOfPeriod": 13844000000,
            "cashAtEndOfPeriod": 21120000000,
            "netChangeInCash": 7276000000,
            "operatingCashFlow": 81266000000,
            "capitalExpenditure": -11247000000,
            "freeCashFlow": 70019000000
        },
        {
            "symbol": "AAPL",
            "period": "09-2014",
            "netIncome": 39510000000,
            "depreciationAndAmortization": 7946000000,
            "deferredIncomeTax": 2347000000,
            "accountsReceivable": -4232000000,
            "accountsPayable": 5938000000,
            "otherWorkingCapital": 7047000000,
            "loans": 0,
            "otherOperatingActivities": 1157000000,
            "netCashFromOperatingActivities": 59713000000,
            "changeInDepositsWithBank": -9017000000,
            "investmentsInProperty": -9571000000,
            "netAcquisitions": -3765000000,
            "purchasesOfInvestments": -10000000,
            "salesOfInvestments": 0,
            "purchasesAndSaleOfIntangibles": -242000000,
            "netChangeInLoans": 0,
            "otherInvestingActivity": -216000000,
            "netCashUsedForInvestingActivities": -22579000000,
            "changeInDeposits": 0,
            "changeInShortTermBorrowing": 6306000000,
            "debtIssued": 11960000000,
            "debtRepayment": 0,
            "commonStockIssued": 730000000,
            "commonStockRepurchased": -45000000000,
            "dividendPaid": -11126000000,
            "otherFinancingActivity": -419000000,
            "netCashProvidedByFinancingActivities": -37549000000,
            "effectOfExchangeRateChanges": 0,
            "cashAtBeginningOfPeriod": 14259000000,
            "cashAtEndOfPeriod": 13844000000,
            "netChangeInCash": -415000000,
            "operatingCashFlow": 59713000000,
            "capitalExpenditure": -9571000000,
            "freeCashFlow": 50142000000
        },
        {
            "symbol": "GOOG",
            "period": "12-2016",
            "netIncome": 19478000000,
            "depreciationAndAmortization": 6144000000,
            "deferredIncomeTax": -38000000,
            "accountsReceivable": -2578000000,
            "accountsPayable": 110000000,
            "otherWorkingCapital": 3300000000,
            "loans": 0,
            "otherOperatingActivities": 9620000000,
            "netCashFromOperatingActivities": 36036000000,
            "changeInDepositsWithBank": -17614000000,
            "investmentsInProperty": -9972000000,
            "netAcquisitions": -986000000,
            "purchasesOfInvestments": -659000000,
            "salesOfInvestments": 494000000,
            "purchasesAndSaleOfIntangibles": 0,
            "netChangeInLoans": 0,
            "otherInvestingActivity": -2428000000,
            "netCashUsedForInvestingActivities": -31165000000,
            "changeInDeposits": 0,
            "changeInShortTermBorrowing": 0,
            "debtIssued": 8729000000,
            "debtRepayment": -10064000000,
            "commonStockIssued": 0,
            "commonStockRepurchased": -3693000000,
            "dividendPaid": 0,
            "otherFinancingActivity": -3304000000,
            "netCashProvidedByFinancingActivities": -8332000000,
            "effectOfExchangeRateChanges": -170000000,
            "cashAtBeginningOfPeriod": 16549000000,
            "cashAtEndOfPeriod": 12918000000,
            "netChangeInCash": -3631000000,
            "operatingCashFlow": 36036000000,
            "capitalExpenditure": -10212000000,
            "freeCashFlow": 25824000000
        },
        {
            "symbol": "GOOG",
            "period": "12-2015",
            "netIncome": 16348000000,
            "depreciationAndAmortization": 5063000000,
            "deferredIncomeTax": -179000000,
            "accountsReceivable": -2094000000,
            "accountsPayable": 203000000,
            "otherWorkingCapital": -409000000,
            "loans": 0,
            "otherOperatingActivities": 7640000000,
            "netCashFromOperatingActivities": 26572000000,
            "changeInDepositsWithBank": -11463000000,
            "investmentsInProperty": -9915000000,
            "netAcquisitions": -236000000,
            "purchasesOfInvestments": -1901000000,
            "salesOfInvestments": 154000000,
            "purchasesAndSaleOfIntangibles": 0,
            "netChangeInLoans": 0,
            "otherInvestingActivity": -350000000,
            "netCashUsedForInvestingActivities": -23711000000,
            "changeInDeposits": 0,
            "changeInShortTermBorrowing": 0,
            "debtIssued": 13705000000,
            "debtRepayment": -13728000000,
            "commonStockIssued": 0,
            "commonStockRepurchased": -1780000000,
            "dividendPaid": 0,
            "otherFinancingActivity": -2422000000,
            "netCashProvidedByFinancingActivities": -4225000000,
            "effectOfExchangeRateChanges": -434000000,
            "cashAtBeginningOfPeriod": 18347000000,
            "cashAtEndOfPeriod": 16549000000,
            "netChangeInCash": -1798000000,
            "operatingCashFlow": 26572000000,
            "capitalExpenditure": -9950000000,
            "freeCashFlow": 16622000000
        },
        {
            "symbol": "GOOG",
            "period": "12-2014",
            "netIncome": 14136000000,
            "depreciationAndAmortization": 4979000000,
            "deferredIncomeTax": -104000000,
            "accountsReceivable": -1641000000,
            "accountsPayable": 436000000,
            "otherWorkingCapital": 672000000,
            "loans": 0,
            "otherOperatingActivities": 4546000000,
            "netCashFromOperatingActivities": 23024000000,
            "changeInDepositsWithBank": -4995000000,
            "investmentsInProperty": -10959000000,
            "netAcquisitions": -4502000000,
            "purchasesOfInvestments": -2215000000,
            "salesOfInvestments": 213000000,
            "purchasesAndSaleOfIntangibles": 0,
            "netChangeInLoans": 0,
            "otherInvestingActivity": 1403000000,
            "netCashUsedForInvestingActivities": -21055000000,
            "changeInDeposits": 0,
            "changeInShortTermBorrowing": 0,
            "debtIssued": 11625000000,
            "debtRepayment": -11643000000,
            "commonStockIssued": 0,
            "commonStockRepurchased": 0,
            "dividendPaid": 0,
            "otherFinancingActivity": -2069000000,
            "netCashProvidedByFinancingActivities": -2087000000,
            "effectOfExchangeRateChanges": -433000000,
            "cashAtBeginningOfPeriod": 18898000000,
            "cashAtEndOfPeriod": 18347000000,
            "netChangeInCash": -551000000,
            "operatingCashFlow": 23024000000,
            "capitalExpenditure": -11014000000,
            "freeCashFlow": 12010000000
        },
        {
            "symbol": "GOOG",
            "period": "12-2013",
            "netIncome": 12733000000,
            "depreciationAndAmortization": 3939000000,
            "deferredIncomeTax": -437000000,
            "accountsReceivable": -1307000000,
            "accountsPayable": 605000000,
            "otherWorkingCapital": 156000000,
            "loans": 0,
            "otherOperatingActivities": 2970000000,
            "netCashFromOperatingActivities": 18659000000,
            "changeInDepositsWithBank": -7130000000,
            "investmentsInProperty": -7358000000,
            "netAcquisitions": 1077000000,
            "purchasesOfInvestments": 31000000,
            "salesOfInvestments": 0,
            "purchasesAndSaleOfIntangibles": 0,
            "netChangeInLoans": 0,
            "otherInvestingActivity": -299000000,
            "netCashUsedForInvestingActivities": -13679000000,
            "changeInDeposits": 0,
            "changeInShortTermBorrowing": 0,
            "debtIssued": 10768000000,
            "debtRepayment": -11325000000,
            "commonStockIssued": 0,
            "commonStockRepurchased": 0,
            "dividendPaid": 0,
            "otherFinancingActivity": -300000000,
            "netCashProvidedByFinancingActivities": -857000000,
            "effectOfExchangeRateChanges": -3000000,
            "cashAtBeginningOfPeriod": 14778000000,
            "cashAtEndOfPeriod": 18898000000,
            "netChangeInCash": 4120000000,
            "operatingCashFlow": 18659000000,
            "capitalExpenditure": -7358000000,
            "freeCashFlow": 11301000000
        }
    ]
}

XML

GET

GET https://ondemand.websol.barchart.com/getCashFlow.xml?apikey=<YOUR API KEY>&symbols=AAPL%2CGOOG&reportPeriod=12M&fields=&numberOfYears=4
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getCashFlow.xml
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=<YOUR API KEY>&symbols=AAPL%2CGOOG&reportPeriod=12M&fields=&numberOfYears=4

Response


<?xml version="1.0" encoding="utf-8"?>
 <getCashFlow>
  <status>
   <code>200</code>
   <message>Success.</message>
  </status>
  <item>
   <symbol>AAPL</symbol>
   <period>09-2017</period>
   <netIncome>48351000000</netIncome>
   <depreciationAndAmortization>10157000000</depreciationAndAmortization>
   <deferredIncomeTax>5966000000</deferredIncomeTax>
   <accountsReceivable>-2093000000</accountsReceivable>
   <accountsPayable>9618000000</accountsPayable>
   <otherWorkingCapital>-5550000000</otherWorkingCapital>
   <loans>0</loans>
   <otherOperatingActivities>-2851000000</otherOperatingActivities>
   <netCashFromOperatingActivities>63598000000</netCashFromOperatingActivities>
   <changeInDepositsWithBank>-33147000000</changeInDepositsWithBank>
   <investmentsInProperty>-12451000000</investmentsInProperty>
   <netAcquisitions>-329000000</netAcquisitions>
   <purchasesOfInvestments>-395000000</purchasesOfInvestments>
   <salesOfInvestments>0</salesOfInvestments>
   <purchasesAndSaleOfIntangibles>-344000000</purchasesAndSaleOfIntangibles>
   <netChangeInLoans>0</netChangeInLoans>
   <otherInvestingActivity>-124000000</otherInvestingActivity>
   <netCashUsedForInvestingActivities>-46446000000</netCashUsedForInvestingActivities>
   <changeInDeposits>0</changeInDeposits>
   <changeInShortTermBorrowing>3852000000</changeInShortTermBorrowing>
   <debtIssued>28662000000</debtIssued>
   <debtRepayment>-3500000000</debtRepayment>
   <commonStockIssued>555000000</commonStockIssued>
   <commonStockRepurchased>-32900000000</commonStockRepurchased>
   <dividendPaid>-12769000000</dividendPaid>
   <otherFinancingActivity>-1247000000</otherFinancingActivity>
   <netCashProvidedByFinancingActivities>-17347000000</netCashProvidedByFinancingActivities>
   <effectOfExchangeRateChanges>0</effectOfExchangeRateChanges>
   <cashAtBeginningOfPeriod>20484000000</cashAtBeginningOfPeriod>
   <cashAtEndOfPeriod>20289000000</cashAtEndOfPeriod>
   <netChangeInCash>-195000000</netChangeInCash>
   <operatingCashFlow>63598000000</operatingCashFlow>
   <capitalExpenditure>-12451000000</capitalExpenditure>
   <freeCashFlow>51147000000</freeCashFlow>
  </item>
  <item>
   <symbol>AAPL</symbol>
   <period>09-2016</period>
   <netIncome>45687000000</netIncome>
   <depreciationAndAmortization>10505000000</depreciationAndAmortization>
   <deferredIncomeTax>4938000000</deferredIncomeTax>
   <accountsReceivable>527000000</accountsReceivable>
   <accountsPayable>1837000000</accountsPayable>
   <otherWorkingCapital>-2000000</otherWorkingCapital>
   <loans>0</loans>
   <otherOperatingActivities>2332000000</otherOperatingActivities>
   <netCashFromOperatingActivities>65824000000</netCashFromOperatingActivities>
   <changeInDepositsWithBank>-30634000000</changeInDepositsWithBank>
   <investmentsInProperty>-12734000000</investmentsInProperty>
   <netAcquisitions>-297000000</netAcquisitions>
   <purchasesOfInvestments>-1388000000</purchasesOfInvestments>
   <salesOfInvestments>0</salesOfInvestments>
   <purchasesAndSaleOfIntangibles>-814000000</purchasesAndSaleOfIntangibles>
   <netChangeInLoans>0</netChangeInLoans>
   <otherInvestingActivity>-924000000</otherInvestingActivity>
   <netCashUsedForInvestingActivities>-45977000000</netCashUsedForInvestingActivities>
   <changeInDeposits>0</changeInDeposits>
   <changeInShortTermBorrowing>-397000000</changeInShortTermBorrowing>
   <debtIssued>24954000000</debtIssued>
   <debtRepayment>-2500000000</debtRepayment>
   <commonStockIssued>495000000</commonStockIssued>
   <commonStockRepurchased>-29722000000</commonStockRepurchased>
   <dividendPaid>-12150000000</dividendPaid>
   <otherFinancingActivity>-1163000000</otherFinancingActivity>
   <netCashProvidedByFinancingActivities>-20483000000</netCashProvidedByFinancingActivities>
   <effectOfExchangeRateChanges>0</effectOfExchangeRateChanges>
   <cashAtBeginningOfPeriod>21120000000</cashAtBeginningOfPeriod>
   <cashAtEndOfPeriod>20484000000</cashAtEndOfPeriod>
   <netChangeInCash>-636000000</netChangeInCash>
   <operatingCashFlow>65824000000</operatingCashFlow>
   <capitalExpenditure>-12734000000</capitalExpenditure>
   <freeCashFlow>53090000000</freeCashFlow>
  </item>
  <item>
   <symbol>AAPL</symbol>
   <period>09-2015</period>
   <netIncome>53394000000</netIncome>
   <depreciationAndAmortization>11257000000</depreciationAndAmortization>
   <deferredIncomeTax>1382000000</deferredIncomeTax>
   <accountsReceivable>417000000</accountsReceivable>
   <accountsPayable>5001000000</accountsPayable>
   <otherWorkingCapital>11262000000</otherWorkingCapital>
   <loans>0</loans>
   <otherOperatingActivities>-1447000000</otherOperatingActivities>
   <netCashFromOperatingActivities>81266000000</netCashFromOperatingActivities>
   <changeInDepositsWithBank>-44417000000</changeInDepositsWithBank>
   <investmentsInProperty>-11247000000</investmentsInProperty>
   <netAcquisitions>-343000000</netAcquisitions>
   <purchasesOfInvestments>0</purchasesOfInvestments>
   <salesOfInvestments>0</salesOfInvestments>
   <purchasesAndSaleOfIntangibles>-241000000</purchasesAndSaleOfIntangibles>
   <netChangeInLoans>0</netChangeInLoans>
   <otherInvestingActivity>-267000000</otherInvestingActivity>
   <netCashUsedForInvestingActivities>-56274000000</netCashUsedForInvestingActivities>
   <changeInDeposits>0</changeInDeposits>
   <changeInShortTermBorrowing>2191000000</changeInShortTermBorrowing>
   <debtIssued>27114000000</debtIssued>
   <debtRepayment>0</debtRepayment>
   <commonStockIssued>543000000</commonStockIssued>
   <commonStockRepurchased>-35253000000</commonStockRepurchased>
   <dividendPaid>-11561000000</dividendPaid>
   <otherFinancingActivity>-750000000</otherFinancingActivity>
   <netCashProvidedByFinancingActivities>-17716000000</netCashProvidedByFinancingActivities>
   <effectOfExchangeRateChanges>0</effectOfExchangeRateChanges>
   <cashAtBeginningOfPeriod>13844000000</cashAtBeginningOfPeriod>
   <cashAtEndOfPeriod>21120000000</cashAtEndOfPeriod>
   <netChangeInCash>7276000000</netChangeInCash>
   <operatingCashFlow>81266000000</operatingCashFlow>
   <capitalExpenditure>-11247000000</capitalExpenditure>
   <freeCashFlow>70019000000</freeCashFlow>
  </item>
  <item>
   <symbol>AAPL</symbol>
   <period>09-2014</period>
   <netIncome>39510000000</netIncome>
   <depreciationAndAmortization>7946000000</depreciationAndAmortization>
   <deferredIncomeTax>2347000000</deferredIncomeTax>
   <accountsReceivable>-4232000000</accountsReceivable>
   <accountsPayable>5938000000</accountsPayable>
   <otherWorkingCapital>7047000000</otherWorkingCapital>
   <loans>0</loans>
   <otherOperatingActivities>1157000000</otherOperatingActivities>
   <netCashFromOperatingActivities>59713000000</netCashFromOperatingActivities>
   <changeInDepositsWithBank>-9017000000</changeInDepositsWithBank>
   <investmentsInProperty>-9571000000</investmentsInProperty>
   <netAcquisitions>-3765000000</netAcquisitions>
   <purchasesOfInvestments>-10000000</purchasesOfInvestments>
   <salesOfInvestments>0</salesOfInvestments>
   <purchasesAndSaleOfIntangibles>-242000000</purchasesAndSaleOfIntangibles>
   <netChangeInLoans>0</netChangeInLoans>
   <otherInvestingActivity>-216000000</otherInvestingActivity>
   <netCashUsedForInvestingActivities>-22579000000</netCashUsedForInvestingActivities>
   <changeInDeposits>0</changeInDeposits>
   <changeInShortTermBorrowing>6306000000</changeInShortTermBorrowing>
   <debtIssued>11960000000</debtIssued>
   <debtRepayment>0</debtRepayment>
   <commonStockIssued>730000000</commonStockIssued>
   <commonStockRepurchased>-45000000000</commonStockRepurchased>
   <dividendPaid>-11126000000</dividendPaid>
   <otherFinancingActivity>-419000000</otherFinancingActivity>
   <netCashProvidedByFinancingActivities>-37549000000</netCashProvidedByFinancingActivities>
   <effectOfExchangeRateChanges>0</effectOfExchangeRateChanges>
   <cashAtBeginningOfPeriod>14259000000</cashAtBeginningOfPeriod>
   <cashAtEndOfPeriod>13844000000</cashAtEndOfPeriod>
   <netChangeInCash>-415000000</netChangeInCash>
   <operatingCashFlow>59713000000</operatingCashFlow>
   <capitalExpenditure>-9571000000</capitalExpenditure>
   <freeCashFlow>50142000000</freeCashFlow>
  </item>
  <item>
   <symbol>GOOG</symbol>
   <period>12-2016</period>
   <netIncome>19478000000</netIncome>
   <depreciationAndAmortization>6144000000</depreciationAndAmortization>
   <deferredIncomeTax>-38000000</deferredIncomeTax>
   <accountsReceivable>-2578000000</accountsReceivable>
   <accountsPayable>110000000</accountsPayable>
   <otherWorkingCapital>3300000000</otherWorkingCapital>
   <loans>0</loans>
   <otherOperatingActivities>9620000000</otherOperatingActivities>
   <netCashFromOperatingActivities>36036000000</netCashFromOperatingActivities>
   <changeInDepositsWithBank>-17614000000</changeInDepositsWithBank>
   <investmentsInProperty>-9972000000</investmentsInProperty>
   <netAcquisitions>-986000000</netAcquisitions>
   <purchasesOfInvestments>-659000000</purchasesOfInvestments>
   <salesOfInvestments>494000000</salesOfInvestments>
   <purchasesAndSaleOfIntangibles>0</purchasesAndSaleOfIntangibles>
   <netChangeInLoans>0</netChangeInLoans>
   <otherInvestingActivity>-2428000000</otherInvestingActivity>
   <netCashUsedForInvestingActivities>-31165000000</netCashUsedForInvestingActivities>
   <changeInDeposits>0</changeInDeposits>
   <changeInShortTermBorrowing>0</changeInShortTermBorrowing>
   <debtIssued>8729000000</debtIssued>
   <debtRepayment>-10064000000</debtRepayment>
   <commonStockIssued>0</commonStockIssued>
   <commonStockRepurchased>-3693000000</commonStockRepurchased>
   <dividendPaid>0</dividendPaid>
   <otherFinancingActivity>-3304000000</otherFinancingActivity>
   <netCashProvidedByFinancingActivities>-8332000000</netCashProvidedByFinancingActivities>
   <effectOfExchangeRateChanges>-170000000</effectOfExchangeRateChanges>
   <cashAtBeginningOfPeriod>16549000000</cashAtBeginningOfPeriod>
   <cashAtEndOfPeriod>12918000000</cashAtEndOfPeriod>
   <netChangeInCash>-3631000000</netChangeInCash>
   <operatingCashFlow>36036000000</operatingCashFlow>
   <capitalExpenditure>-10212000000</capitalExpenditure>
   <freeCashFlow>25824000000</freeCashFlow>
  </item>
  <item>
   <symbol>GOOG</symbol>
   <period>12-2015</period>
   <netIncome>16348000000</netIncome>
   <depreciationAndAmortization>5063000000</depreciationAndAmortization>
   <deferredIncomeTax>-179000000</deferredIncomeTax>
   <accountsReceivable>-2094000000</accountsReceivable>
   <accountsPayable>203000000</accountsPayable>
   <otherWorkingCapital>-409000000</otherWorkingCapital>
   <loans>0</loans>
   <otherOperatingActivities>7640000000</otherOperatingActivities>
   <netCashFromOperatingActivities>26572000000</netCashFromOperatingActivities>
   <changeInDepositsWithBank>-11463000000</changeInDepositsWithBank>
   <investmentsInProperty>-9915000000</investmentsInProperty>
   <netAcquisitions>-236000000</netAcquisitions>
   <purchasesOfInvestments>-1901000000</purchasesOfInvestments>
   <salesOfInvestments>154000000</salesOfInvestments>
   <purchasesAndSaleOfIntangibles>0</purchasesAndSaleOfIntangibles>
   <netChangeInLoans>0</netChangeInLoans>
   <otherInvestingActivity>-350000000</otherInvestingActivity>
   <netCashUsedForInvestingActivities>-23711000000</netCashUsedForInvestingActivities>
   <changeInDeposits>0</changeInDeposits>
   <changeInShortTermBorrowing>0</changeInShortTermBorrowing>
   <debtIssued>13705000000</debtIssued>
   <debtRepayment>-13728000000</debtRepayment>
   <commonStockIssued>0</commonStockIssued>
   <commonStockRepurchased>-1780000000</commonStockRepurchased>
   <dividendPaid>0</dividendPaid>
   <otherFinancingActivity>-2422000000</otherFinancingActivity>
   <netCashProvidedByFinancingActivities>-4225000000</netCashProvidedByFinancingActivities>
   <effectOfExchangeRateChanges>-434000000</effectOfExchangeRateChanges>
   <cashAtBeginningOfPeriod>18347000000</cashAtBeginningOfPeriod>
   <cashAtEndOfPeriod>16549000000</cashAtEndOfPeriod>
   <netChangeInCash>-1798000000</netChangeInCash>
   <operatingCashFlow>26572000000</operatingCashFlow>
   <capitalExpenditure>-9950000000</capitalExpenditure>
   <freeCashFlow>16622000000</freeCashFlow>
  </item>
  <item>
   <symbol>GOOG</symbol>
   <period>12-2014</period>
   <netIncome>14136000000</netIncome>
   <depreciationAndAmortization>4979000000</depreciationAndAmortization>
   <deferredIncomeTax>-104000000</deferredIncomeTax>
   <accountsReceivable>-1641000000</accountsReceivable>
   <accountsPayable>436000000</accountsPayable>
   <otherWorkingCapital>672000000</otherWorkingCapital>
   <loans>0</loans>
   <otherOperatingActivities>4546000000</otherOperatingActivities>
   <netCashFromOperatingActivities>23024000000</netCashFromOperatingActivities>
   <changeInDepositsWithBank>-4995000000</changeInDepositsWithBank>
   <investmentsInProperty>-10959000000</investmentsInProperty>
   <netAcquisitions>-4502000000</netAcquisitions>
   <purchasesOfInvestments>-2215000000</purchasesOfInvestments>
   <salesOfInvestments>213000000</salesOfInvestments>
   <purchasesAndSaleOfIntangibles>0</purchasesAndSaleOfIntangibles>
   <netChangeInLoans>0</netChangeInLoans>
   <otherInvestingActivity>1403000000</otherInvestingActivity>
   <netCashUsedForInvestingActivities>-21055000000</netCashUsedForInvestingActivities>
   <changeInDeposits>0</changeInDeposits>
   <changeInShortTermBorrowing>0</changeInShortTermBorrowing>
   <debtIssued>11625000000</debtIssued>
   <debtRepayment>-11643000000</debtRepayment>
   <commonStockIssued>0</commonStockIssued>
   <commonStockRepurchased>0</commonStockRepurchased>
   <dividendPaid>0</dividendPaid>
   <otherFinancingActivity>-2069000000</otherFinancingActivity>
   <netCashProvidedByFinancingActivities>-2087000000</netCashProvidedByFinancingActivities>
   <effectOfExchangeRateChanges>-433000000</effectOfExchangeRateChanges>
   <cashAtBeginningOfPeriod>18898000000</cashAtBeginningOfPeriod>
   <cashAtEndOfPeriod>18347000000</cashAtEndOfPeriod>
   <netChangeInCash>-551000000</netChangeInCash>
   <operatingCashFlow>23024000000</operatingCashFlow>
   <capitalExpenditure>-11014000000</capitalExpenditure>
   <freeCashFlow>12010000000</freeCashFlow>
  </item>
  <item>
   <symbol>GOOG</symbol>
   <period>12-2013</period>
   <netIncome>12733000000</netIncome>
   <depreciationAndAmortization>3939000000</depreciationAndAmortization>
   <deferredIncomeTax>-437000000</deferredIncomeTax>
   <accountsReceivable>-1307000000</accountsReceivable>
   <accountsPayable>605000000</accountsPayable>
   <otherWorkingCapital>156000000</otherWorkingCapital>
   <loans>0</loans>
   <otherOperatingActivities>2970000000</otherOperatingActivities>
   <netCashFromOperatingActivities>18659000000</netCashFromOperatingActivities>
   <changeInDepositsWithBank>-7130000000</changeInDepositsWithBank>
   <investmentsInProperty>-7358000000</investmentsInProperty>
   <netAcquisitions>1077000000</netAcquisitions>
   <purchasesOfInvestments>31000000</purchasesOfInvestments>
   <salesOfInvestments>0</salesOfInvestments>
   <purchasesAndSaleOfIntangibles>0</purchasesAndSaleOfIntangibles>
   <netChangeInLoans>0</netChangeInLoans>
   <otherInvestingActivity>-299000000</otherInvestingActivity>
   <netCashUsedForInvestingActivities>-13679000000</netCashUsedForInvestingActivities>
   <changeInDeposits>0</changeInDeposits>
   <changeInShortTermBorrowing>0</changeInShortTermBorrowing>
   <debtIssued>10768000000</debtIssued>
   <debtRepayment>-11325000000</debtRepayment>
   <commonStockIssued>0</commonStockIssued>
   <commonStockRepurchased>0</commonStockRepurchased>
   <dividendPaid>0</dividendPaid>
   <otherFinancingActivity>-300000000</otherFinancingActivity>
   <netCashProvidedByFinancingActivities>-857000000</netCashProvidedByFinancingActivities>
   <effectOfExchangeRateChanges>-3000000</effectOfExchangeRateChanges>
   <cashAtBeginningOfPeriod>14778000000</cashAtBeginningOfPeriod>
   <cashAtEndOfPeriod>18898000000</cashAtEndOfPeriod>
   <netChangeInCash>4120000000</netChangeInCash>
   <operatingCashFlow>18659000000</operatingCashFlow>
   <capitalExpenditure>-7358000000</capitalExpenditure>
   <freeCashFlow>11301000000</freeCashFlow>
  </item>
 </getCashFlow>

CSV

GET

GET https://ondemand.websol.barchart.com/getCashFlow.csv?apikey=<YOUR API KEY>&symbols=AAPL%2CGOOG&reportPeriod=12M&fields=&numberOfYears=4
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getCashFlow.csv
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=<YOUR API KEY>&symbols=AAPL%2CGOOG&reportPeriod=12M&fields=&numberOfYears=4

Response

symbol,period,netIncome,depreciationAndAmortization,deferredIncomeTax,accountsReceivable,accountsPayable,otherWorkingCapital,loans,otherOperatingActivities,netCashFromOperatingActivities,changeInDepositsWithBank,investmentsInProperty,netAcquisitions,purchasesOfInvestments,salesOfInvestments,purchasesAndSaleOfIntangibles,netChangeInLoans,otherInvestingActivity,netCashUsedForInvestingActivities,changeInDeposits,changeInShortTermBorrowing,debtIssued,debtRepayment,commonStockIssued,commonStockRepurchased,dividendPaid,otherFinancingActivity,netCashProvidedByFinancingActivities,effectOfExchangeRateChanges,cashAtBeginningOfPeriod,cashAtEndOfPeriod,netChangeInCash,operatingCashFlow,capitalExpenditure,freeCashFlow
"AAPL","09-2017","48351000000","10157000000","5966000000","-2093000000","9618000000","-5550000000","0","-2851000000","63598000000","-33147000000","-12451000000","-329000000","-395000000","0","-344000000","0","-124000000","-46446000000","0","3852000000","28662000000","-3500000000","555000000","-32900000000","-12769000000","-1247000000","-17347000000","0","20484000000","20289000000","-195000000","63598000000","-12451000000","51147000000"
"AAPL","09-2016","45687000000","10505000000","4938000000","527000000","1837000000","-2000000","0","2332000000","65824000000","-30634000000","-12734000000","-297000000","-1388000000","0","-814000000","0","-924000000","-45977000000","0","-397000000","24954000000","-2500000000","495000000","-29722000000","-12150000000","-1163000000","-20483000000","0","21120000000","20484000000","-636000000","65824000000","-12734000000","53090000000"
"AAPL","09-2015","53394000000","11257000000","1382000000","417000000","5001000000","11262000000","0","-1447000000","81266000000","-44417000000","-11247000000","-343000000","0","0","-241000000","0","-267000000","-56274000000","0","2191000000","27114000000","0","543000000","-35253000000","-11561000000","-750000000","-17716000000","0","13844000000","21120000000","7276000000","81266000000","-11247000000","70019000000"
"AAPL","09-2014","39510000000","7946000000","2347000000","-4232000000","5938000000","7047000000","0","1157000000","59713000000","-9017000000","-9571000000","-3765000000","-10000000","0","-242000000","0","-216000000","-22579000000","0","6306000000","11960000000","0","730000000","-45000000000","-11126000000","-419000000","-37549000000","0","14259000000","13844000000","-415000000","59713000000","-9571000000","50142000000"
"GOOG","12-2016","19478000000","6144000000","-38000000","-2578000000","110000000","3300000000","0","9620000000","36036000000","-17614000000","-9972000000","-986000000","-659000000","494000000","0","0","-2428000000","-31165000000","0","0","8729000000","-10064000000","0","-3693000000","0","-3304000000","-8332000000","-170000000","16549000000","12918000000","-3631000000","36036000000","-10212000000","25824000000"
"GOOG","12-2015","16348000000","5063000000","-179000000","-2094000000","203000000","-409000000","0","7640000000","26572000000","-11463000000","-9915000000","-236000000","-1901000000","154000000","0","0","-350000000","-23711000000","0","0","13705000000","-13728000000","0","-1780000000","0","-2422000000","-4225000000","-434000000","18347000000","16549000000","-1798000000","26572000000","-9950000000","16622000000"
"GOOG","12-2014","14136000000","4979000000","-104000000","-1641000000","436000000","672000000","0","4546000000","23024000000","-4995000000","-10959000000","-4502000000","-2215000000","213000000","0","0","1403000000","-21055000000","0","0","11625000000","-11643000000","0","0","0","-2069000000","-2087000000","-433000000","18898000000","18347000000","-551000000","23024000000","-11014000000","12010000000"
"GOOG","12-2013","12733000000","3939000000","-437000000","-1307000000","605000000","156000000","0","2970000000","18659000000","-7130000000","-7358000000","1077000000","31000000","0","0","0","-299000000","-13679000000","0","0","10768000000","-11325000000","0","0","0","-300000000","-857000000","-3000000","14778000000","18898000000","4120000000","18659000000","-7358000000","11301000000"


PHP

<?php

$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');

$params = [
    'symbols' => 'AAPL,GOOG',
    'reportPeriod' => '12M',
    'fields' => '',
    'numberOfYears' => '4',
];

$result = $ondemand->getCashFlow($params);
var_dump($result);

Classic ASP

Dim ondemand
Dim result

Set ondemand = Server.CreateObject("MSSOAP.SoapClient30")
ondemand.ClientProperty("ServerHTTPRequest") = True
ondemand.MSSoapInit("https://ondemand.websol.barchart.com/service?wsdl")

Set result = ondemand.getCashFlow("AAPL,GOOG", "12M", "", "4")

Perl

use SOAP::Lite;
use SOAP::WSDL;

my $ondemand = SOAP::Lite
    -> service('https://ondemand.websol.barchart.com/service?wsdl');

my $result = $ondemand->getCashFlow('AAPL,GOOG', '12M', '', '4');

print $result;

Python

from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')

result = client.service.getCashFlow('AAPL,GOOG', '12M', '', '4')

print result

Ruby

require 'savon'

ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')

response = ondemand.call(
    :getCashFlow,
    message: {
        symbols: 'AAPL,GOOG',
        reportPeriod: '12M',
        fields: '',
        numberOfYears: '4',
    }
)

response.body