You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Converts XBRL data to JSON format using one of three possible input methods.\r\n\r\n### Input Methods\r\n\r\n1. HTML URL (htm-url)\r\n - URL of the filing ending with .htm or .html\r\n - Both filing URLs and index page URLs are accepted\r\n - Example: https://www.sec.gov/Archives/edgar/data/1318605/000156459021004599/tsla-10k_20201231.htm\r\n\r\n2. XBRL URL (xbrl-url)\r\n - URL of the XBRL file ending with .xml\r\n - Can be found in the dataFiles array from Query API\r\n - Example: https://www.sec.gov/Archives/edgar/data/1318605/000156459021004599/tsla-10k_20201231_htm.xml\r\n\r\n3. Accession Number (accession-no)\r\n - The SEC filing accession number\r\n - Example: 0001564590-21-004599\r\n\r\n:::note\r\nOnly one of the three parameters should be provided. If multiple parameters are provided, the priority order is:\r\n1. htm-url\r\n2. xbrl-url\r\n3. accession-no\r\n:::\r\n\r\n### Supported Filing Types\r\n\r\n- Annual Reports (10-K)\r\n- Quarterly Reports (10-Q)\r\n- Current Reports (8-K)\r\n- Registration Statements (S-1, S-3)\r\n- Foreign Private Issuer Reports (20-F, 40-F)\r\n\r\n### Response Format\r\n\r\nThe API returns a JSON object containing:\r\n- Financial statements (Income Statement, Balance Sheet, Cash Flow Statement)\r\n- Accounting policies and footnotes\r\n- Company information\r\n- Filing metadata\r\n\r\n### Example Response\r\n```json\r\n{\r\n \"StatementsOfIncome\": {\r\n \"RevenueFromContractWithCustomerExcludingAssessedTax\": [\r\n {\r\n \"decimals\": \"-6\",\r\n \"unitRef\": \"U_USD\",\r\n \"period\": {\r\n \"startDate\": \"2023-07-01\",\r\n \"endDate\": \"2024-06-30\"\r\n },\r\n \"value\": \"245122000000\"\r\n }\r\n ]\r\n }\r\n}\r\n```",
496
+
"parameters": [
497
+
{
498
+
"name": "htm-url",
499
+
"in": "query",
500
+
"description": "URL of the filing ending with .htm or .html",
501
+
"schema": {
502
+
"type": "string"
503
+
}
504
+
},
505
+
{
506
+
"name": "xbrl-url",
507
+
"in": "query",
508
+
"description": "URL of the XBRL file ending with .xml",
509
+
"schema": {
510
+
"type": "string"
511
+
}
512
+
},
513
+
{
514
+
"name": "accession-no",
515
+
"in": "query",
516
+
"description": "SEC filing accession number",
517
+
"schema": {
518
+
"type": "string"
519
+
}
520
+
}
521
+
],
522
+
"responses": {
523
+
"200": {
524
+
"description": "Successful conversion",
525
+
"content": {
526
+
"application/json": {
527
+
"schema": {
528
+
"type": "object",
529
+
"additionalProperties": { }
530
+
},
531
+
"examples": {
532
+
"Example XBRL Filing Extract": {
533
+
"value": {
534
+
"CoverPage": {
535
+
"DocumentType": "10-K",
536
+
"DocumentAnnualReport": "true",
537
+
"DocumentPeriodEndDate": "2020-09-26",
538
+
"DocumentTransitionReport": "false",
539
+
"EntityFileNumber": "001-36743",
540
+
"EntityRegistrantName": "Apple Inc.",
541
+
"EntityIncorporationStateCountryCode": "CA",
542
+
"EntityTaxIdentificationNumber": "94-2404110",
543
+
"EntityAddressAddressLine1": "One Apple Park Way",
544
+
"EntityAddressCityOrTown": "Cupertino",
545
+
"EntityAddressStateOrProvince": "CA",
546
+
"EntityAddressPostalZipCode": "95014",
547
+
"CityAreaCode": "408",
548
+
"LocalPhoneNumber": "996-1010",
549
+
"Security12bTitle": [
550
+
{
551
+
"period": {
552
+
"startDate": "2019-09-29",
553
+
"endDate": "2020-09-26"
554
+
},
555
+
"segment": {
556
+
"dimension": "us-gaap:StatementClassOfStockAxis",
557
+
"value": "us-gaap:CommonStockMember"
558
+
},
559
+
"value": "Common Stock, $0.00001 par value per share"
"description": "Represents the result of a filing extraction."
519
-
},
520
-
"DTO.FilingItemDto": {
521
-
"type": "object",
522
-
"properties": {
523
-
"item_number": {
524
-
"type": "string",
525
-
"nullable": true
526
-
},
527
-
"item_title": {
528
-
"type": "string",
529
-
"nullable": true
530
-
},
531
-
"content": {
532
-
"type": "string",
533
-
"nullable": true
534
-
}
535
-
},
536
-
"additionalProperties": false
537
-
},
538
733
"DTO.FilingMetadataDto": {
539
734
"type": "object",
540
735
"properties": {
@@ -759,6 +954,10 @@
759
954
{
760
955
"name": "FullText",
761
956
"description": "Provides endpoints for performing full-text searches on historical SEC filing documents.\r\nAllows users to query filings based on various criteria such as form type, date ranges, and text content."
957
+
},
958
+
{
959
+
"name": "XbrlConverter",
960
+
"description": "Provides endpoints for converting XBRL data to JSON format from various SEC filing sources."
0 commit comments