# SEC EDGAR on Onekey > 5 endpoints for SEC EDGAR (5 stable, 0 beta), 1 to 5 credits each. Category: Finance & markets. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/edgar Reference (Markdown): https://onekey.dev/docs/api/edgar.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 5 mapped SEC EDGAR endpoints return each: - `entity.id` (string): 5 - `entity.name` (string): 4 - `entity.category` (string): 3 - `entity.date` (ISO 8601 date): 2 - `market.symbol` (string): 2 - `content.createdAt` (ISO 8601 date): 1 - `entity.url` (URL): 1 - `market.exchange` (string): 1 - plus 18 platform-specific fields under `ext.` ## Endpoints ### edgar.company_tickers All SEC-registered tickers with CIK, name and exchange. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/edgar/company_tickers` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name`, `market.symbol`, `entity.category` - Reference: https://onekey.dev/docs/api/edgar/company_tickers.md ### edgar.concept XBRL history of one us-gaap concept (USD) for a company, e.g. Revenues, NetIncomeLoss. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/edgar/concept?cik=320193&tag=AccountsPayableCurrent` with header `x-api-key: YOUR_API_KEY` - Parameters: - `cik` (string, required): Zero-padded 10-digit CIK, e.g. 0000320193 - `tag` (string, required): us-gaap tag, e.g. AccountsPayableCurrent - Fields returned: `entity.date`, `entity.category`, `content.createdAt`, `entity.id`, `ext.value`, `ext.fiscalYear`, `ext.fiscalPeriod` - Reference: https://onekey.dev/docs/api/edgar/concept.md ### edgar.frames One XBRL concept across all filers for a calendar period (e.g. CY2019Q1I). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/edgar/frames?tag=AccountsPayableCurrent&period=CY2019Q1I` with header `x-api-key: YOUR_API_KEY` - Parameters: - `tag` (string, required): us-gaap tag - `period` (string, required): Period, e.g. CY2019Q1I or CY2019 - Fields returned: `entity.id`, `entity.name`, `entity.date`, `ext.value`, `ext.location`, `ext.accession` - Reference: https://onekey.dev/docs/api/edgar/frames.md ### edgar.recent_filings Recent filings for a company (columnar arrays: form, filingDate, accessionNumber, primaryDocument). - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/edgar/recent_filings?cik=320193` with header `x-api-key: YOUR_API_KEY` - Parameters: - `cik` (string, required): Zero-padded 10-digit CIK, e.g. 0000320193 - Fields returned: `entity.id`, `entity.name`, `ext.forms`, `ext.filingDates`, `ext.accessionNumbers`, `ext.primaryDocuments`, `ext.reportDates` - Reference: https://onekey.dev/docs/api/edgar/recent_filings.md ### edgar.submissions Company profile from SEC submissions (SIC, exchanges, tickers, fiscal year end). - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/edgar/submissions?cik=320193` with header `x-api-key: YOUR_API_KEY` - Parameters: - `cik` (string, required): Zero-padded 10-digit CIK, e.g. 0000320193 - Fields returned: `entity.id`, `entity.name`, `market.symbol`, `market.exchange`, `entity.category`, `entity.url`, `ext.sic`, `ext.entityType`, `ext.fiscalYearEnd`, `ext.stateOfIncorporation`, `ext.filerCategory`, `ext.phone`, `ext.businessCity`, `ext.businessState` - Reference: https://onekey.dev/docs/api/edgar/submissions.md ## Sample request ```bash curl "https://api.onekey.dev/v1/edgar/recent_filings?cik=320193" \ -H "x-api-key: YOUR_API_KEY" ```