filing_typestringbắt buộc
The type of filing.
Giá trị có thể dùng: 10-K, 10-Q, 8-K
https://api.sandbase.ai/v1/api/financial-datasets/filings-itemsGet SEC Filing Items from Financial Datasets. Returns the official Financial Datasets API response unchanged.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns the text of sections (items) from a company's SEC filing, such as Item 1 Business or Item 1A Risk Factors. It needs a ticker, a filing_type (10-K, 10-Q or 8-K) and a year.
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/filings-items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"filing_type": "10-K", "ticker": "AAPL", "year": 2024}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
filing_type | string | Yes | The type of filing. |
ticker | string | Yes | The ticker symbol. |
year | integer | Yes | The year of the filing. |
accession_number | string | No | The accession number of the filing if 8-K. |
include_exhibits | boolean | No | Whether to include the raw text from linked exhibits. Only applicable for 8-K filings. When true, exhibit objects will include the 'text' field containing the full exhibit content. |
item | string | No | The item to get. |
quarter | integer | No | The quarter of the filing if 10-Q. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"accession_number": "0000320193-24-000123",
"cik": "0000320193",
"filing_type": "10-K",
"filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.…",
"items": [
{
"number": "Item 1",
"text": "Item 1. Business Company Background The Company designs, manufactures and mark…",
"title": "Business"
}
],
"resource": "filing_items",
"ticker": "AAPL",
"year": 2024
}
| Field | Meaning |
|---|---|
accession_number | The SEC accession number that identifies the filing. |
cik | The company's SEC Central Index Key, as a zero-padded string. |
filing_type | The form type of the filing, such as 10-K. |
filing_url | Link to the original filing document on sec.gov. |
items[].number | The item label in the filing, such as Item 1A. |
items[].title | The section name for the item, such as Risk Factors. |
items[].text | The text of the item. Some items may contain table of contents text instead of the section body, so check the content before using it. |
ticker / year | The ticker and filing year that the response matches. |
filing_type, ticker and year are required. Use quarter for 10-Q filings and accession_number for 8-K filings.item to a value such as Item-1A to request a single section. Set include_exhibits to true for 8-K filings to add exhibit text.$0.02 per successful call. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/filings-items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"year": 2024,
"ticker": "AAPL",
"filing_type": "10-K",
"include_exhibits": false
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
filing_typestringbắt buộcThe type of filing.
Giá trị có thể dùng: 10-K, 10-Q, 8-K
tickerstringbắt buộcThe ticker symbol.
yearintegerbắt buộcThe year of the filing.
accession_numberstringThe accession number of the filing if 8-K.
include_exhibitsbooleanWhether to include the raw text from linked exhibits. Only applicable for 8-K filings. When true, exhibit objects will include the 'text' field containing the full exhibit content.
Mặc định: false
itemstringThe item to get.
Giá trị có thể dùng: Item-1, Item-1A, Item-1B, Item-2, Item-3, Item-4, Item-5, Item-6, Item-7, Item-7A, Item-8, Item-9, Item-9A, Item-9B, Item-10, Item-11, Item-12, Item-13, Item-14, Item-15, Item-16, Item-1.01, Item-1.02, Item-1.03, Item-1.04, Item-2.01, Item-2.02, Item-2.03, Item-2.04, Item-2.05, Item-2.06, Item-3.01, Item-3.02, Item-3.03, Item-4.01, Item-4.02, Item-5.01, Item-5.02, Item-5.03, Item-5.04, Item-5.05, Item-5.06, Item-5.07, Item-5.08, Item-6.01, Item-6.02, Item-6.03, Item-6.04, Item-6.05, Item-7.01, Item-8.01, Item-9.01
quarterintegerThe quarter of the filing if 10-Q.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/financial-datasets/filings-items với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.02 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: filing_type (một trong số 10-K, 10-Q, 8-K), ticker (string) và year (integer). Tùy chọn: accession_number (string), include_exhibits (boolean), item (một trong số Item-1, Item-1A, Item-1B, Item-2, Item-3, Item-4, Item-5, Item-6, Item-7, Item-7A, Item-8, Item-9, Item-9A, Item-9B, Item-10, Item-11, Item-12, Item-13, Item-14, Item-15, Item-16, Item-1.01, Item-1.02, Item-1.03, Item-1.04, Item-2.01, Item-2.02, Item-2.03, Item-2.04, Item-2.05, Item-2.06, Item-3.01, Item-3.02, Item-3.03, Item-4.01, Item-4.02, Item-5.01, Item-5.02, Item-5.03, Item-5.04, Item-5.05, Item-5.06, Item-5.07, Item-5.08, Item-6.01, Item-6.02, Item-6.03, Item-6.04, Item-6.05, Item-7.01, Item-8.01, Item-9.01) và quarter (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Financial Datasets Get SEC Filing Items chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Financial Datasets.