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
Copy file name to clipboardExpand all lines: finfeedapi/sec-api-rest/spec/openapi.json
+91Lines changed: 91 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,93 @@
19
19
}
20
20
],
21
21
"paths": {
22
+
"/v1/download": {
23
+
"get": {
24
+
"tags": [
25
+
"File Download"
26
+
],
27
+
"summary": "Download file from SEC EDGAR archive",
28
+
"description": "Downloads a specific file from the SEC EDGAR archive using the accession number and filename.\nThe file is streamed directly from the SEC servers to the client.\n\n### Accession Number Format\nAccession numbers must be in the format: 0000000000-00-000000 (10 digits, dash, 2 digits, dash, 6 digits)\n\n### File Name Examples\n- Primary documents: `d123456d10k.htm`, `d789012d8k.htm`\n- XBRL files: `d123456d10k_htm.xml`, `FilingSummary.xml`\n- Exhibits: `d123456dexhibit99.htm`, `d123456dex101.htm`\n\n### File Types\nThe endpoint supports downloading various file types from SEC filings:\n- HTML documents (.htm, .html)\n- XBRL files (.xml, .xsd)\n- Text files (.txt)\n- PDF files (.pdf)\n- Other document formats as submitted to SEC\n\n:::tip\nYou can find available filenames for a specific filing using the `/v1/filings` endpoint first\n:::\n\n:::warning\nThis endpoint streams files directly from the SEC. Large files may take longer to download.\n:::",
29
+
"parameters": [
30
+
{
31
+
"name": "accession_no",
32
+
"in": "query",
33
+
"description": "SEC filing accession number in format: 0000000000-00-000000",
34
+
"required": true,
35
+
"schema": {
36
+
"pattern": "^\\d{10}-\\d{2}-\\d{6}$",
37
+
"type": "string"
38
+
}
39
+
},
40
+
{
41
+
"name": "file_name",
42
+
"in": "query",
43
+
"description": "Name of the file to download from the filing",
"description": "Provides endpoints for converting XBRL data to JSON format from various SEC filing sources."
1063
+
},
1064
+
{
1065
+
"name": "Download",
1066
+
"description": "Provides endpoints for downloading files directly from the SEC EDGAR archive.\nAllows users to download specific filing documents by accession number and filename."
Copy file name to clipboardExpand all lines: finfeedapi/sec-api-rest/spec/openapi.yaml
+59-1Lines changed: 59 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,62 @@ info:
12
12
servers:
13
13
- url: https://api.sec.finfeedapi.com
14
14
paths:
15
+
/v1/download:
16
+
get:
17
+
tags:
18
+
- File Download
19
+
summary: Download file from SEC EDGAR archive
20
+
description: "Downloads a specific file from the SEC EDGAR archive using the accession number and filename.\nThe file is streamed directly from the SEC servers to the client.\n\n### Accession Number Format\nAccession numbers must be in the format: 0000000000-00-000000 (10 digits, dash, 2 digits, dash, 6 digits)\n\n### File Name Examples\n- Primary documents: `d123456d10k.htm`, `d789012d8k.htm`\n- XBRL files: `d123456d10k_htm.xml`, `FilingSummary.xml`\n- Exhibits: `d123456dexhibit99.htm`, `d123456dex101.htm`\n\n### File Types\nThe endpoint supports downloading various file types from SEC filings:\n- HTML documents (.htm, .html)\n- XBRL files (.xml, .xsd)\n- Text files (.txt)\n- PDF files (.pdf)\n- Other document formats as submitted to SEC\n\n:::tip\nYou can find available filenames for a specific filing using the `/v1/filings` endpoint first\n:::\n\n:::warning\nThis endpoint streams files directly from the SEC. Large files may take longer to download.\n:::"
21
+
parameters:
22
+
- name: accession_no
23
+
in: query
24
+
description: 'SEC filing accession number in format: 0000000000-00-000000'
25
+
required: true
26
+
schema:
27
+
pattern: '^\d{10}-\d{2}-\d{6}$'
28
+
type: string
29
+
- name: file_name
30
+
in: query
31
+
description: Name of the file to download from the filing
description: "Provides endpoints for performing full-text searches on historical SEC filing documents.\nAllows users to query filings based on various criteria such as form type, date ranges, and text content."
714
770
- name: XbrlConverter
715
-
description: Provides endpoints for converting XBRL data to JSON format from various SEC filing sources.
771
+
description: Provides endpoints for converting XBRL data to JSON format from various SEC filing sources.
772
+
- name: Download
773
+
description: "Provides endpoints for downloading files directly from the SEC EDGAR archive.\nAllows users to download specific filing documents by accession number and filename."
0 commit comments