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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
cikstringThe CIK of the company.
tickerstringThe ticker symbol.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/financial-datasets/company-facts với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.02 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Không có tham số bắt buộc. Tùy chọn: cik (string) và ticker (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Financial Datasets Get Company Facts chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Financial Datasets.