Get 10-Year Cash History
get_cash_historyRetrieve up to 10 years of quarterly cash position history from SEC XBRL filings. Returns data sorted chronologically with annual filings preferred over quarterly.
Instructions
Get up to 10 years of quarterly cash position history from SEC XBRL filings (data.sec.gov company-facts). Returns an array of {periodEnd, usd, formType, isAnnual} sorted chronologically. Deduped by period with annual filings preferred over quarterly. Not feature-gated — works for any company with SEC filings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | Stock ticker symbol (e.g., "AAPL", "TSLA") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |