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の保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/financial-datasets/company-facts に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.02、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須パラメータはありません。 任意: cik (string) と ticker (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Financial Datasets Get Company Facts は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Financial Datasets の API アクセスを別途申請する必要はありません。