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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
cikstringThe CIK of the company.
tickerstringThe ticker symbol.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Financial Datasets Get Company FactsCette API Financial Datasets | $0.02 par appel | JSON |
Financial Datasets | $0.02 par appel | JSON |
Financial Datasets | $0.02 par appel | JSON |
Financial Datasets | $0.02 par appel | JSON |
Financial Datasets | $0.02 par appel | JSON |
Financial Datasets | $0.02 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/financial-datasets/company-facts avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.02 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Aucun paramètre n’est requis. Facultatif : cik (string) et ticker (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Financial Datasets Get Company Facts fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Financial Datasets séparément.