Company API

API change history

A collection of RESTful methods that returns various financial data for a requested company including balance sheets, stock quotes , company look-up utilities and more.

Cash Flows

Returns a company's most recent cash flow statement showing the amount of cash used and generated

Try it

Request

Request URL

Request parameters

  • string

    Publicly traded company's stock symbol

  • (optional)
    string

    Retrieve Annual or Quarterly data. By default, Annual data is returned (formType = 10-K)

  • (optional)
    number

    Retrieve an older financial statement by specifying number of filings to go back. For example, to retrieve the 10-K filed last year, specify a filingOrder value of 1. By default, the most recent filing is returned (filingOrder = 0)

Request headers

  • string
    Subscription key which provides access to this API. Found in your Profile.

Request body

Responses

200 OK

Financial statement found. Keys in Data element varies per company and year of filing based on US GAAP Financial Reporting Taxonomy - http://www.fasb.org/jsp/FASB/Page/LandingPage&cid=1176164131053

Representations

{
"Status":0,
"Name":"Cash Flows Statements",
"CIK":"789019",
"Company":"MICROSOFT CORP",
"AccessionNumber":"0001193125-14-289961",
"Source":"10-K",
"FilingDate":"2014-07-31T17:16:52",
"FilingCount":5,
"Data":{
"NetIncomeLoss":22074000000.0,
"GoodwillImpairmentLoss":0.0,
"AllocatedShareBasedCompensationExpense":2446000000.0,
"ExcessTaxBenefitFromShareBasedCompensationOperatingActivities":-271000000.0,
"DeferredIncomeTaxExpenseBenefit":-331000000.0,
"IncreaseDecreaseInDeferredRevenue":44325000000.0,
"RecognitionOfDeferredRevenue":-41739000000.0,
"IncreaseDecreaseInAccountsReceivable":-1120000000.0,
"IncreaseDecreaseInInventories":-161000000.0,
"IncreaseDecreaseInOtherCurrentAssets":-29000000.0,
"IncreaseDecreaseInOtherNoncurrentAssets":-628000000.0,
"IncreaseDecreaseInAccountsPayable":473000000.0,
"IncreaseDecreaseInOtherCurrentLiabilities":1075000000.0,
"IncreaseDecreaseInOtherNoncurrentLiabilities":1014000000.0,
"NetCashProvidedByUsedInOperatingActivitiesContinuingOperations":32231000000.0,
"ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess":500000000.0,
"ProceedsFromDebtMaturingInMoreThanThreeMonths":10350000000.0,
"RepaymentsOfDebtMaturingInMoreThanThreeMonths":-3888000000.0,
"ProceedsFromIssuanceOfCommonStock":607000000.0,
"PaymentsForRepurchaseOfCommonStock":-7316000000.0,
"PaymentsOfDividendsCommonStock":-8879000000.0,
"ExcessTaxBenefitFromShareBasedCompensationFinancingActivities":271000000.0,
"ProceedsFromPaymentsForOtherFinancingActivities":-39000000.0,
"NetCashProvidedByUsedInFinancingActivitiesContinuingOperations":-8394000000.0,
"PaymentsToAcquirePropertyPlantAndEquipment":-5485000000.0,
"PaymentsToAcquireInvestments":-72690000000.0,
"ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities":5272000000.0,
"ProceedsFromSaleOfAvailableForSaleSecurities":60094000000.0,
"IncreaseDecreaseInCollateralHeldUnderSecuritiesLending":-87000000.0,
"NetCashProvidedByUsedInInvestingActivitiesContinuingOperations":-18833000000.0,
"EffectOfExchangeRateOnCashAndCashEquivalents":-139000000.0,
"CashAndCashEquivalentsPeriodIncreaseDecrease":4865000000.0,
"CashAndCashEquivalentsAtCarryingValue":3804000000.0
},
"Content":"<html><head></head><body><table class=\"report\" style=\"background-color: #fff;clear: both;color: #000;font: 8pt Helvetica,Arial,san-serif;margin-bottom: 2em\" border=\"0\" cellspacing=\"2\" id=\"ID0EDXBG\"> <tbody><tr> <th class=\"tl\" style=\"background-color: #600;color: #fff;font-weight: 700;text-align: center;font-size: 8pt\" colspan=\"1\" rowspan=\"2\"> <div style=\"width: 200px;\"><strong>CASH FLOWS STATEMENTS (USD $)<br>In Millions, unless otherwise specified</strong></div> </th> <th class=\"th\" style=\"background-color: #600;color: #fff;font-weight: 700;text-align: center;font-size: 8pt\" colspan=\"5\">12 Months Ended</th> </tr> <tr> <th class=\"th\" style=\"background-color: #600;color: #fff;font-weight: 700;text-align: center;font-size: 8pt\" colspan=\"2\"> <div>Jun. 30, 2014</div> </th> <th class=\"th\" style=\"background-color: #600;color: #fff;font-weight: 700;text-align: center;font-size: 8pt\" colspan=\"2\"> <div>Jun. 30, 2013</div> </th> <th class=\"th\" style=\"background-color: #600;color: #fff;font-weight: 700;text-align: center;font-size: 8pt\"> <div>Jun. 30, 2012</div> </th> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\"><strong>Operations</strong></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Net income</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">$ 22,074<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"><sup style=\"font-style: italic\">[1],[2]</sup></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">$ 21,863<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"><sup style=\"font-style: italic\">[1],[3]</sup></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">$ 16,978<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\"><strong>Adjustments to reconcile net income to net cash from operations:</strong></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Goodwill impairment</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">0<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">0<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">6,193<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Depreciation, amortization, and other</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">5,212<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">3,755<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">2,967<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Stock-based compensation expense</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">2,446<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">2,406<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">2,244<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Net recognized losses (gains) on investments and derivatives</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(109)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">80<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(200)<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Excess tax benefits from stock-based compensation</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(271)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(209)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(93)<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Deferred income taxes</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(331)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(19)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">954<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Deferral of unearned revenue</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">44,325<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">44,253<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">36,104<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Recognition of unearned revenue</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(41,739)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(41,921)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(33,347)<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\"><strong>Changes in operating assets and liabilities:</strong></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Accounts receivable</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(1,120)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(1,807)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(1,156)<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Inventories</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(161)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(802)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">184<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Other current assets</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(29)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(129)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">493<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Other long-term assets</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(628)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(478)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(248)<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Accounts payable</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">473<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">537<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(31)<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Other current liabilities</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">1,075<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">146<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">410<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Other long-term liabilities</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">1,014<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">1,158<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">174<span></span></td> </tr> <tr class=\"rou\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Net cash from operations</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em;border-bottom: 1px solid #000\">32,231<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em;border-bottom: 1px solid #000\">28,833<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em;border-bottom: 1px solid #000\">31,626<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\"><strong>Financing</strong></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Proceeds from issuance of short-term debt, maturities of 90 days or less, net</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">500<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">0<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">0<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Proceeds from issuance of debt</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">10,350<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">4,883<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">0<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Repayments of debt</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(3,888)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(1,346)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">0<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Common stock issued</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">607<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">931<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">1,913<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Common stock repurchased</td <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(7,316)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(5,360)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(5,029)<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Common stock cash dividends paid</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(8,879)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(7,455)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(6,385)<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Excess tax benefits from stock-based compensation</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">271<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">209<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">93<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Other</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(39)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(10)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">0<span></span></td> </tr> <tr class=\"rou\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Net cash used in financing</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap;border-bottom: 1px solid #000\">(8,394)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap;border-bottom: 1px solid #000\">(8,148)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap;border-bottom: 1px solid #000\">(9,408)<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\"><strong>Investing</strong></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"text\" style=\"text-align: left;white-space: normal\">&nbsp;<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Additions to property and equipment</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(5,485)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(4,257)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(2,305)<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Acquisition of companies, net of cash acquired, and purchases of intangible and other assets</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(5,937)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(1,584)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(10,112)<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Purchases of investments</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(72,690)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(75,396)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(57,250)<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Maturities of investments</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">5,272<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">5,130<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">15,575<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Sales of investments</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">60,094<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">52,464<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">29,700<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Securities lending payable</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(87)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(168)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(394)<span></span></td> </tr> <tr class=\"rou\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Net cash used in investing</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap;border-bottom: 1px solid #000\">(18,833)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap;border-bottom: 1px solid #000\">(23,811)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap;border-bottom: 1px solid #000\">(24,786)<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Effect of exchange rates on cash and cash equivalents</td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(139)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(8)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap\">(104)<span></span></td> </tr> <tr class=\"rou\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Net change in cash and cash equivalents</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em;border-bottom: 1px solid #000\">4,865<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap;border-bottom: 1px solid #000\">(3,134)<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"num\" style=\"text-align: right;white-space: nowrap;border-bottom: 1px solid #000\">(2,672)<span></span></td> </tr> <tr class=\"re\" style=\"background-color: #EAEAEA\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Cash and cash equivalents, beginning of period</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">3,804<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">6,938<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">9,610<span></span></td> </tr> <tr class=\"ro\" style=\"background-color: #fff\"> <td class=\"pl\" style=\"text-align: left;vertical-align: top;white-space: normal;width: 200px;word-wrap: break-word;border-bottom: 0px\" valign=\"top\">Cash and cash equivalents, end of period</td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">$ 8,669<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">$ 3,804<span></span></td> <td class=\"fn\" style=\"white-space: nowrap;border-bottom: 0px\"></td> <td class=\"nump\" style=\"text-align: right;white-space: nowrap;padding: 0 .4em 0 2em\">$ 6,938<span></span></td> </tr> <tr> <td colspan=\"6\"></td> </tr> <tr> <td colspan=\"6\"> <table class=\"outerFootnotes\" style=\"font-size: 1em\" width=\"100%\"> <tbody><tr class=\"outerFootnote\"> <td style=\"vertical-align: top;\" valign=\"top\">[1]</td> <td style=\"vertical-align: top;\" valign=\"top\">NDS has been included in our consolidated results of operations starting on April 25, 2014, the date of acquisition.</td> </tr> <tr class=\"outerFootnote\"> <td style=\"vertical-align: top;\" valign=\"top\">[2]</td> <td style=\"vertical-align: top;\" valign=\"top\">Includes a tax provision adjustment recorded in the fourth quarter of fiscal year 2014 related to adjustments to prior years' liabilities for intercompany transfer pricing which decreased net income by $458 million and diluted earnings per share by $0.05.</td> </tr> <tr class=\"outerFootnote\"> <td style=\"vertical-align: top;\" valign=\"top\">[3]</td> <td style=\"vertical-align: top;\" valign=\"top\">Includes a charge related to a fine imposed by the European Commission in March 2013 which decreased net income by $733 million (&#8364;561 million) and diluted earnings per share by $0.09. Also includes a charge for Surface RT inventory adjustments recorded in the fourth quarter of fiscal year 2013, which decreased net income by $596 million and diluted earnings per share by $0.07.</td> </tr> </tbody></table> </td> </tr> </tbody></table></body></html>"
}

404 Not Found

Company does not have a financial statement of this type

Code samples

@ECHO OFF

curl -v -X GET "https://services.last10k.com/v1/company/{ticker}/cashflows?formType=10-K&filingOrder=0"
-H "Ocp-Apim-Subscription-Key: {subscription key}"

--data-ascii "{body}" 
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;

namespace CSHttpClientSample
{
    static class Program
    {
        static void Main()
        {
            MakeRequest();
            Console.WriteLine("Hit ENTER to exit...");
            Console.ReadLine();
        }
        
        static async void MakeRequest()
        {
            var client = new HttpClient();
            var queryString = HttpUtility.ParseQueryString(string.Empty);

            // Request headers
            client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", "{subscription key}");

            // Request parameters
            queryString["formType"] = "10-K";
            queryString["filingOrder"] = "0";
            var uri = "https://services.last10k.com/v1/company/{ticker}/cashflows?" + queryString;

            var response = await client.GetAsync(uri);
        }
    }
}	
// // This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;

public class JavaSample 
{
    public static void main(String[] args) 
    {
        HttpClient httpclient = HttpClients.createDefault();

        try
        {
            URIBuilder builder = new URIBuilder("https://services.last10k.com/v1/company/{ticker}/cashflows");

            builder.setParameter("formType", "10-K");
            builder.setParameter("filingOrder", "0");

            URI uri = builder.build();
            HttpGet request = new HttpGet(uri);
            request.setHeader("Ocp-Apim-Subscription-Key", "{subscription key}");


            // Request body
            StringEntity reqEntity = new StringEntity("{body}");
            request.setEntity(reqEntity);

            HttpResponse response = httpclient.execute(request);
            HttpEntity entity = response.getEntity();

            if (entity != null) 
            {
                System.out.println(EntityUtils.toString(entity));
            }
        }
        catch (Exception e)
        {
            System.out.println(e.getMessage());
        }
    }
}

<!DOCTYPE html>
<html>
<head>
    <title>JSSample</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>

<script type="text/javascript">
    $(function() {
        var params = {
            // Request parameters
            "formType": "10-K",
            "filingOrder": "0",
        };
      
        $.ajax({
            url: "https://services.last10k.com/v1/company/{ticker}/cashflows?" + $.param(params),
            beforeSend: function(xhrObj){
                // Request headers
                xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key","{subscription key}");
            },
            type: "GET",
            // Request body
            data: "{body}",
        })
        .done(function(data) {
            alert("success");
        })
        .fail(function() {
            alert("error");
        });
    });
</script>
</body>
</html>
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
    NSString* path = @"https://services.last10k.com/v1/company/{ticker}/cashflows";
    NSArray* array = @[
                         // Request parameters
                         @"entities=true",
                         @"formType=10-K",
                         @"filingOrder=0",
                      ];
    
    NSString* string = [array componentsJoinedByString:@"&"];
    path = [path stringByAppendingFormat:@"?%@", string];

    NSLog(@"%@", path);

    NSMutableURLRequest* _request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:path]];
    [_request setHTTPMethod:@"GET"];
    // Request headers
    [_request setValue:@"{subscription key}" forHTTPHeaderField:@"Ocp-Apim-Subscription-Key"];
    // Request body
    [_request setHTTPBody:[@"{body}" dataUsingEncoding:NSUTF8StringEncoding]];
    
    NSURLResponse *response = nil;
    NSError *error = nil;
    NSData* _connectionData = [NSURLConnection sendSynchronousRequest:_request returningResponse:&response error:&error];

    if (nil != error)
    {
        NSLog(@"Error: %@", error);
    }
    else
    {
        NSError* error = nil;
        NSMutableDictionary* json = nil;
        NSString* dataString = [[NSString alloc] initWithData:_connectionData encoding:NSUTF8StringEncoding];
        NSLog(@"%@", dataString);
        
        if (nil != _connectionData)
        {
            json = [NSJSONSerialization JSONObjectWithData:_connectionData options:NSJSONReadingMutableContainers error:&error];
        }
        
        if (error || !json)
        {
            NSLog(@"Could not parse loaded json with error:%@", error);
        }
        
        NSLog(@"%@", json);
        _connectionData = nil;
    }
    
    [pool drain];

    return 0;
}
<?php
// This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
require_once 'HTTP/Request2.php';

$request = new Http_Request2('https://services.last10k.com/v1/company/{ticker}/cashflows');
$url = $request->getUrl();

$headers = array(
    // Request headers
    'Ocp-Apim-Subscription-Key' => '{subscription key}',
);

$request->setHeader($headers);

$parameters = array(
    // Request parameters
    'formType' => '10-K',
    'filingOrder' => '0',
);

$url->setQueryVariables($parameters);

$request->setMethod(HTTP_Request2::METHOD_GET);

// Request body
$request->setBody("{body}");

try
{
    $response = $request->send();
    echo $response->getBody();
}
catch (HttpException $ex)
{
    echo $ex;
}

?>
########### Python 2.7 #############
import httplib, urllib, base64

headers = {
    # Request headers
    'Ocp-Apim-Subscription-Key': '{subscription key}',
}

params = urllib.urlencode({
    # Request parameters
    'formType': '10-K',
    'filingOrder': '0',
})

try:
    conn = httplib.HTTPSConnection('services.last10k.com')
    conn.request("GET", "/v1/company/{ticker}/cashflows?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################

########### Python 3.2 #############
import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
    # Request headers
    'Ocp-Apim-Subscription-Key': '{subscription key}',
}

params = urllib.parse.urlencode({
    # Request parameters
    'formType': '10-K',
    'filingOrder': '0',
})

try:
    conn = http.client.HTTPSConnection('services.last10k.com')
    conn.request("GET", "/v1/company/{ticker}/cashflows?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################
require 'net/http'

uri = URI('https://services.last10k.com/v1/company/{ticker}/cashflows')

query = URI.encode_www_form({
    # Request parameters
    'formType' => '10-K',
    'filingOrder' => '0'
})

if uri.query && uri.query.length > 0
    uri.query += '&' + query
else
    uri.query = query
end

request = Net::HTTP::Get.new(uri.request_uri)
# Request headers
request['Ocp-Apim-Subscription-Key'] = '{subscription key}'
# Request body
request.body = "{body}"

response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
    http.request(request)
end

puts response.body