XBRL Frames
Compare the last reported standard fact that best aligns with a requested calendar frame across filers.
Typical use
Compare start and end dates explicitly. Request annual, quarterly, or instantaneous frames using SEC calendar codes. Automated requests must identify the client in User-Agent and follow the SEC fair-access limit of 10 requests per second. The read APIs require no key.
Limitations
The SEC selects the latest matching filing. As-of analysis needs filing-level data, and fiscal period boundaries can differ between filers. Consult the underlying filing for authoritative disclosures and the SEC access policy before automating requests.
Known issues (1)
- Primary key is inferred for the documented row grain.
11 columns in delivery order. Types are ODCS logical types; the format line shows how values are written.
| Column | Type | Key | Description |
|---|---|---|---|
| taxonomy | string | Key 1 · Required | Taxonomy from the response envelope |
| tag | string | Key 2 · Required | Concept tag from the response envelope |
| uom | string | Key 3 · Required | Unit of measure from the response envelope |
| ccp | string | Key 4 · Required | SEC calendar frame from the response envelope |
| accn | string | Required | Accession of the selected filing |
| cik | integer | Key 5 · Required | Central Index Key for the reporting entity |
| entityName | string | Reporting entity name | |
| loc | string | SEC location code for the entity when supplied | |
| start | date | Fact period start for duration frames | |
| end | date | Required | Fact period end or instant |
| val | number | Required | Numeric value selected for the frame |
- errorprimary_key_uniqueuniqueness
Check duplicate keys within a consistent source extract.
duplicateValues (properties: taxonomy, tag, uom, ccp, cik) must be 0
Delivery
REST API
JSON response with a data array. Carry taxonomy, tag, unit, and ccp from the response envelope into each row.
https://data.sec.gov/api/xbrl/frames/{taxonomy}/{tag}/{unit}/{frame}.json
Service levels
- History starts
- Not stated in the vendor documentation
Service levels describe the vendor feed as documented. They are draft values, not a commitment by AlphaSwarm.
Data Contract Editor · read-only preview — edits are not saved
Open-source Data Contract Editor (MIT). Changes stay in this browser tab: Cancel restores the published contract, and Download copy saves your edited YAML to your device only.
Contracts follow the Open Data Contract Standard (Bitol, LF AI & Data).
Vendor names are trademarks of their owners.