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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
cikstringThe CIK of the company.
tickerstringThe ticker symbol.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Financial Datasets | $0.02 za wywołanie | JSON |
Financial Datasets | $0.02 za wywołanie | JSON |
Financial Datasets | $0.02 za wywołanie | JSON |
Financial Datasets | $0.02 za wywołanie | JSON |
Financial Datasets | $0.02 za wywołanie | JSON |
Financial Datasets | $0.02 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/financial-datasets/company-facts z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.02 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Nie są wymagane żadne parametry. Opcjonalne: cik (string) i ticker (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Financial Datasets Get Company Facts działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Financial Datasets.