filing_typestring必填
The type of filing.
可选值: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.
您的输出将显示在这里
完成输入,然后点击运行。
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.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
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
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
filing_typestring必填The type of filing.
可选值:10-K, 10-Q, 8-K
tickerstring必填The ticker symbol.
yearinteger必填The 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.
默认值:false
itemstringThe item to get.
可选值: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.
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
Financial Datasets | $0.02 每次调用 | JSON |
Financial Datasets | $0.02 每次调用 | JSON |
Financial Datasets | $0.02 每次调用 | JSON |
Financial Datasets | $0.02 每次调用 | JSON |
Financial Datasets | $0.02 每次调用 | JSON |
Financial Datasets | $0.02 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/financial-datasets/filings-items 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.02,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:filing_type(10-K, 10-Q, 8-K 之一), ticker (string) 和 year (integer)。 可选:accession_number (string), include_exhibits (boolean), item(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 之一) 和 quarter (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Financial Datasets Get SEC Filing Items 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Financial Datasets API 访问权限。