Datasets API endpoint
Use Crawlora's SEC Company Financials Dataset API to search or inspect stored structured datasets as JSON. This page includes request parameters, cURL examples, response schema, validation behavior, credit cost, and a Playground link for testing before integration. Dataset endpoints read indexed records and do not apply proxy routing.
/datasets/sec-companies/financials/{cik}Returns a company's normalized financial-statement history (income statement, balance sheet, cash flow) from the SEC companies dataset, newest fiscal year first. An unknown CIK or a company with no XBRL data returns an empty series rather than a 404 — most filers without a current ticker have no financial-statement history at all. `lines` keys are the same normalized concept names the live `/sec/financials` endpoint uses (e.g. `revenue`, `net_income`, `total_assets`); `ratios` keys include `gross_margin`, `operating_margin`, `net_margin`, `revenue_growth_yoy`, `current_ratio`, `debt_to_equity`, `free_cash_flow` where derivable. statement enum: `income`, `balance`, `cash_flow`. period enum: `annual`, `quarterly`. Developers commonly use this endpoint for repeatable dataset search, filtering, facets, local business enrichment, analytics, exports, and internal tools that need structured records beyond the limited manual refinement available in the Google Maps app. Authentication uses the x-api-key header, usage is metered with the credit cost shown on this page, and the request does not trigger live scraping or proxy routing.
Request parameters are generated from the active endpoint catalog. Dataset parameters filter, page, facet, or locate stored structured records; they do not configure a live scraper or proxy path.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| cik (path) | string | Yes | SEC CIK, numeric or zero-padded | ||
| statement | string | No | Statement enum: income, balance, cash_flow. Omit to return all three. Allowed values: income, balance, cash_flow | ||
| period | string | No | Period-type enum: annual, quarterly. Omit to return both. Allowed values: annual, quarterly | ||
| from | integer | No | Inclusive lower bound on fiscal_year | ||
| to | integer | No | Inclusive upper bound on fiscal_year | ||
| limit | integer | No | Maximum points returned (most recent fiscal years first), default 100, max 400 | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/datasets/sec-companies/financials/%3Ccik%3E?statement=income&period=annual&limit=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint reads stored indexed dataset records. It does not execute a live upstream Google Maps request, browser session, or proxy-routed scraping job.
- An unknown CIK or a company with no XBRL data returns an empty series (HTTP `200` with `count: 0`) rather than a `404` — most filers without a current ticker have no financial-statement history at all. - `lines` keys are the same normalized concept names the live `GET /sec/financials` endpoint uses (e.g. `revenue`, `net_income`, `total_assets`, `operating_cash_flow`). - `ratios` keys include `gross_margin`, `operating_margin`, `net_margin`, `revenue_growth_yoy`, `current_ratio`, `debt_to_equity`, `free_cash_flow` where derivable from the reported lines. - A period's `_id` is keyed by `(cik, statement, period, fiscal_year[, fiscal_period])`, so a later crawl that picks up an SEC restatement overwrites that period's figures rather than duplicating it — there is only ever one point per fiscal period. Example response: ```json { "code": 200, "msg": "OK", "data": { "dataset": "sec-companies", "cik": 320193, "count": 2, "points": [ { "cik": 320193, "statement": "income", "period": "annual", "fiscal_year": 2024, "fiscal_period": "FY", "end_date": "2024-09-28", "form": "10-K", "currency": "USD", "lines": { "revenue": 391035000000, "net_income": 93736000000, "gross_profit": 180683000000 }, "ratios": { "gross_margin": 0.4621, "net_margin": 0.2397, "revenue_growth_yoy": 0.0206 } }, { "cik": 320193, "statement": "income", "period": "annual", "fiscal_year": 2023, "fiscal_period": "FY", "end_date": "2023-09-30", "form": "10-K", "currency": "USD", "lines": { "revenue": 383285000000, "net_income": 96995000000 } } ] } } ```
Crawlora does not silently return invalid dataset search results when filters, pagination, coordinates, or stored record lookups cannot be satisfied.
| Status | Common failure case |
|---|---|
| 400 | Invalid input, missing required parameter, invalid enum, bad coordinate pair, or result window beyond the dataset limit |
| 404 | Requested stored dataset item is not present |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal dataset query or storage error |
When possible, Crawlora returns structured error context so your integration can adjust filters, page size, location inputs, or lookup identifiers.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"dataset": "sec-companies",
"cik": 320193,
"count": 2,
"points": [
{
"cik": 320193,
"statement": "income",
"period": "annual",
"fiscal_year": 2024,
"fiscal_period": "FY",
"end_date": "2024-09-28",
"form": "10-K",
"currency": "USD",
"lines": {
"revenue": 391035000000,
"net_income": 93736000000,
"gross_profit": 180683000000
},
"ratios": {
"gross_margin": 0.4621,
"net_margin": 0.2397,
"revenue_growth_yoy": 0.0206
}
},
{
"cik": 320193,
"statement": "income",
"period": "annual",
"fiscal_year": 2023,
"fiscal_period": "FY",
"end_date": "2023-09-30",
"form": "10-K",
"currency": "USD",
"lines": {
"revenue": 383285000000,
"net_income": 96995000000
}
}
]
}
}Request schema
No body schema
Response schema
#/definitions/datasets.secCompaniesFinancialsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | datasets.SecCompanyFinancialsResponse | No | ||||
| data.cik | integer | No | ||||
| data.count | integer | No | ||||
| data.dataset | string | No | ||||
| data.points | array | No | ||||
| data.points[].cik | integer | No | ||||
| data.points[].currency | string | No | ||||
| data.points[].end_date | string | No | ||||
| data.points[].fiscal_period | string | No | e.g. FY, Q1..Q4 | |||
| data.points[].fiscal_year | integer | No | ||||
| data.points[].form | string | No | ||||
| data.points[].lines | object | No | ||||
| data.points[].period | string | No | annual | quarterly | |||
| data.points[].ratios | object | No | ||||
| data.points[].statement | string | No | income | balance | cash_flow | |||
| data.points[].synced_at | string | No | ||||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/datasets/sec-companies/financials/%3Ccik%3E?statement=income&period=annual&limit=10" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms