Effortlessly parse and standardize XBRL data, converting it into a standardized JSON format within seconds without the need for coding. Quickly extract financial statements from annual and quarterly reports, such as 10-K, 10-Q, and 8-K documents
Dataset Size: All SEC EDGAR filings, exhibits, and attachments filed since 1993.
Data Update Frequency: Less than 300 milliseconds.
API Endpointhttps://api.secfilingdata.com/v1/filings/XbrlToJson/
Supported HTTP methods: GET
AuthenticationTo authenticate and access the XBRL to Json API, use the API key provided in your user profile after signing up.
1. Set as Authorization Header: Before making a POST request to `https://api.secfilingdata.com/xbrl-to-json-convertor`, set the Authorization header in your request to `YOUR_API_KEY`.
Request ParametersThere are 2 ways to convert XBRL to JSON:.
1. htm file: Provide the URL of the filing ending with either .htm or .html. Both direct links to the filing and the index page are acceptable.
Examplehttps://www.sec.gov/Archives/edgar/data/1318605/000156459021004599/tsla-10k_20201231.htm https://www.sec.gov/Archives/edgar/data/914243/000091424322000011/0000914243-22-000011-index.html
2. xbrl file: Provide the URL of the filing XBRL file ending with .xml.
Examplehttps://www.sec.gov/Archives/edgar/data/1318605/000156459021004599/tsla-10k_20201231_htm.xml
The response represents a JSON object containing all financial statements, the cover page, and any custom items that the company deems important for publication.
Standardized financial statements are:
The example shows the JSON version of Tesla's 10-K XBRL filing filed on 31/12/2020: https://www.sec.gov/Archives/edgar/data/1318605/000156459021004599/tsla-10k_20201231_htm.xml
