Financial Data
Access structured XBRL financial data from SEC 10-K and 10-Q filings. Get balance sheets, income statements, cash flow statements, and historical trends.
Balance Sheet
/v2/financials/balance-sheetRetrieve balance sheet data including assets, liabilities, and stockholders' equity from XBRL filings.
Parameters
| Name | Type | Description |
|---|---|---|
api_keyrequired | string | Your API key for authentication |
cikrequired | string | Company CIK number Example: "320193" |
accession_number | string | Specific filing accession number. If omitted, returns the most recent filing. |
concepts | string[] | Specific XBRL concepts to retrieve. If omitted, returns all available concepts. Example: ["us-gaap:Assets", "us-gaap:Liabilities"] |
Example
curl "https://api.secblast.com/v2/financials/balance-sheet?api_key=YOUR_KEY&cik=320193"Income Statement
/v2/financials/income-statementRetrieve income statement data including revenues, expenses, and net income from XBRL filings.
Parameters
| Name | Type | Description |
|---|---|---|
api_keyrequired | string | Your API key for authentication |
cikrequired | string | Company CIK number |
accession_number | string | Specific filing accession number. If omitted, returns the most recent filing. |
concepts | string[] | Specific XBRL concepts to retrieve Example: ["us-gaap:Revenues", "us-gaap:NetIncomeLoss"] |
Example
curl "https://api.secblast.com/v2/financials/income-statement?api_key=YOUR_KEY&cik=320193"Cash Flow Statement
/v2/financials/cash-flowRetrieve cash flow statement data including operating, investing, and financing activities from XBRL filings.
Parameters
| Name | Type | Description |
|---|---|---|
api_keyrequired | string | Your API key for authentication |
cikrequired | string | Company CIK number |
accession_number | string | Specific filing accession number. If omitted, returns the most recent filing. |
concepts | string[] | Specific XBRL concepts to retrieve |
Example
curl "https://api.secblast.com/v2/financials/cash-flow?api_key=YOUR_KEY&cik=320193"Raw XBRL Data
/v2/financials/rawRetrieve complete raw XBRL data with presentation hierarchy and all facts from the filing.
Parameters
| Name | Type | Description |
|---|---|---|
api_keyrequired | string | Your API key for authentication |
cikrequired | string | Company CIK number |
accession_number | string | Specific filing accession number. If omitted, returns the most recent filing. |
Example
curl "https://api.secblast.com/v2/financials/raw?api_key=YOUR_KEY&cik=320193"List Financial Filings
/v2/financials/filingsList all available 10-K and 10-Q filings for a company that contain XBRL data.
Parameters
| Name | Type | Description |
|---|---|---|
api_keyrequired | string | Your API key for authentication |
cikrequired | string | Company CIK number |
Example
curl "https://api.secblast.com/v2/financials/filings?api_key=YOUR_KEY&cik=320193"{
"cik": "320193",
"company_name": "Apple Inc.",
"filings": [
{
"accession_number": "0000320193-24-000081",
"form_type": "10-K",
"filing_date": "2024-11-01",
"period_of_report": "2024-09-28",
"fiscal_year": 2024,
"fiscal_period": "FY"
},
{
"accession_number": "0000320193-24-000069",
"form_type": "10-Q",
"filing_date": "2024-08-02",
"period_of_report": "2024-06-29",
"fiscal_year": 2024,
"fiscal_period": "Q3"
}
]
}Historical Data
/v2/financials/historyGet historical values for specific XBRL concepts across multiple filings. Useful for trend analysis and charting.
Parameters
| Name | Type | Description |
|---|---|---|
api_keyrequired | string | Your API key for authentication |
cikrequired | string | Company CIK number |
conceptsrequired | string[] | XBRL concepts to retrieve history for Example: ["us-gaap:Revenues", "us-gaap:NetIncomeLoss"] |
Example
curl -X POST "https://api.secblast.com/v2/financials/history" \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_KEY",
"cik": "320193",
"concepts": ["us-gaap:Revenues", "us-gaap:NetIncomeLoss"]
}'{
"cik": "320193",
"company_name": "Apple Inc.",
"data": {
"us-gaap:Revenues": [
{
"period_end": "2024-09-28",
"fiscal_year": 2024,
"fiscal_period": "FY",
"value": 391035000000
},
{
"period_end": "2023-09-30",
"fiscal_year": 2023,
"fiscal_period": "FY",
"value": 383285000000
}
],
"us-gaap:NetIncomeLoss": [
{
"period_end": "2024-09-28",
"fiscal_year": 2024,
"fiscal_period": "FY",
"value": 93736000000
}
]
}
}Excel Export
/v2/financials/export/excelExport financial data to Excel (.xlsx) format. Downloads a spreadsheet with balance sheet, income statement, and cash flow data.
Parameters
| Name | Type | Description |
|---|---|---|
api_keyrequired | string | Your API key for authentication |
cikrequired | string | Company CIK number |
accession_number | string | Specific filing accession number. If omitted, uses the most recent filing. |
Example
curl -o financials.xlsx "https://api.secblast.com/v2/financials/export/excel?api_key=YOUR_KEY&cik=320193"Common XBRL Concepts
Balance Sheet
| Concept | Description |
|---|---|
| us-gaap:Assets | Total assets |
| us-gaap:Liabilities | Total liabilities |
| us-gaap:StockholdersEquity | Total stockholders' equity |
| us-gaap:CashAndCashEquivalentsAtCarryingValue | Cash and cash equivalents |
Income Statement
| Concept | Description |
|---|---|
| us-gaap:Revenues | Total revenues |
| us-gaap:NetIncomeLoss | Net income (loss) |
| us-gaap:GrossProfit | Gross profit |
| us-gaap:OperatingIncomeLoss | Operating income (loss) |
| us-gaap:EarningsPerShareBasic | Basic earnings per share |
Cash Flow Statement
| Concept | Description |
|---|---|
| us-gaap:NetCashProvidedByUsedInOperatingActivities | Operating cash flow |
| us-gaap:NetCashProvidedByUsedInInvestingActivities | Investing cash flow |
| us-gaap:NetCashProvidedByUsedInFinancingActivities | Financing cash flow |