cikstring
The CIK of the company.
https://api.sandbase.ai/v1/api/financial-datasets/company-factsGet Company Facts from Financial Datasets. Returns the official Financial Datasets API response unchanged.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Returns basic company profile data for a US-listed company, including its name, exchange, sector, industry, and SEC identifiers. Send either a ticker such as AAPL or a cik.
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/company-facts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticker": "AAPL"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cik | string | No | The CIK of the company. |
ticker | string | No | The ticker symbol. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"company_facts": {
"cik": "0000320193",
"exchange": "NASDAQ",
"industry": "Technology Hardware, Storage & Peripherals",
"is_active": true,
"location": "California; U.S.A",
"name": "Apple Inc",
"sec_filings_url": "https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000320193",
"sector": "Information Technology",
"sic_code": "3571",
"sic_industry": "Electronic Computers",
"sic_sector": "Manufacturing",
"ticker": "AAPL"
}
}
| Field | Meaning |
|---|---|
company_facts.name | Company name, for example Apple Inc. |
company_facts.ticker | Ticker symbol of the company. |
company_facts.cik | SEC Central Index Key as a zero-padded 10-digit string. |
company_facts.exchange | Exchange where the stock trades, for example NASDAQ. |
company_facts.sector / company_facts.industry | Sector and industry classification of the company. In the sample these are Information Technology and Technology Hardware, Storage & Peripherals. |
company_facts.sic_code / company_facts.sic_industry / company_facts.sic_sector | Standard Industrial Classification code, plus its industry and sector names. In the sample these are 3571, Electronic Computers, and Manufacturing. |
company_facts.is_active | Boolean flag. true in the sample for Apple. |
company_facts.location | Location text for the company, for example California; U.S.A. |
company_facts.sec_filings_url | Link to the company's filing list on the SEC EDGAR website. |
ticker or cik. Both are optional in the schema, so send at least one.cik value is returned as a 10-digit string with leading zeros, such as 0000320193.$0.02 per successful call. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/company-facts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ticker": "AAPL"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
cikstringThe CIK of the company.
tickerstringThe ticker symbol.
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| 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 |
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/financial-datasets/company-facts, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.02 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Параметры не требуются. Необязательные: cik (string) и ticker (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Financial Datasets Get Company Facts работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Financial Datasets.