filtersarraybắt buộc
An array of filter objects to apply to the search.
https://api.sandbase.ai/v1/api/financial-datasets/financials-search-screenerScreen US public companies by financial metrics such as revenue, net income or P/E, with gt/lt/eq filters and ticker lists.
Đầ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 US public companies that match a set of financial metric filters, such as revenue greater than a value. You send a filters array, and each filter has a field, an operator and a value. Each result row holds the ticker, sector, industry, reporting period and the filtered metric.
in operator to those that meet a revenue threshold.sector or industry to compare how many large companies sit in each.curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/financials-search-screener" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"filters": [{"field": "revenue", "operator": "gt", "value": 100000000000}], "limit": 5}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
filters | array | Yes | An array of filter objects to apply to the search. |
limit | integer | No | The maximum number of results to return. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"results": [
{
"currency": "USD",
"industry": "Broadline Retail",
"report_period": "2026-09-30",
"revenue": 797455000000.0,
"sector": "Consumer Discretionary",
"ticker": "AMZN"
}
]
}
| Field | Meaning |
|---|---|
results[] | One company that passed all filters. The list has at most limit rows. |
results[].ticker | Stock ticker of the company, such as AMZN. Use it as input to other Financial Datasets APIs. |
results[].revenue | Revenue value for the company, in the currency given in currency. The row includes the metric you filtered on. |
results[].currency | Currency code of the metric values, such as USD. |
results[].report_period | Date of the reporting period the metric belongs to, in YYYY-MM-DD format. |
results[].sector / results[].industry | Sector and industry classification of the company, such as Consumer Discretionary and Broadline Retail. |
limit parameter caps the number of rows and defaults to 10.gt, lt, gte, lte or eq with a number for metric fields. Use in with an array of strings only for ticker or cik.ticker to Financial Datasets Get Financial Metrics Snapshot or Financial Datasets Get Company Facts for more detail.$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/financials-search-screener" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 10,
"filters": [
{
"field": "revenue",
"value": 100000000000,
"operator": "gt"
}
]
}'Đặ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.
filtersarraybắt buộcAn array of filter objects to apply to the search.
limitintegerThe maximum number of results to return.
Mặc định: 10
Đâ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/financials-search-screener 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ý.
Bắt buộc: filters (array). Tùy chọn: limit (integer). 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 Stock Screener 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.