Financial Datasets — Search financial statements
Search for stocks by filtering across financial metrics from income statements, balance sheets, and cash flow statements with the Financial Datasets API. Supply a filters. Sample fields include currency codes. Use it to surface relevant records in a search or discovery tool. Use the results to organize a research workflow and cross-check the relevant source records.
- Selected price
- $0.02 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Financial Datasets — Search financial statements
Prepare your request, then continue with your agent.
Selected price
$0.02 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
resultsobject[]currencystringpe_rationumberreport_periodstringrevenuenumbertickerstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
results?: Array<{
currency?: string;
pe_ratio?: number;
report_period?: string;
revenue?: number;
ticker?: string;
}>;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
financialdatasetsCurrent Financial Datasets — Search financial statements · POST · View API reference | $0.02 / call | — | —successP50— |
- Unit price
- $0.02
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $2
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/financialdatasets/financials/search/screener- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/financialdatasets/financials/search/screener' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"filters": [
{
"field": "pe_ratio",
"operator": "lt",
"value": 20
},
{
"field": "revenue",
"operator": "gte",
"value": 1000000000
},
{
"field": "total_debt",
"operator": "lt",
"value": 500000000
}
],
"limit": 5
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
filters | JSON request bodybody | array | Yes | An array of filter objects to apply to the search. minItems: 1 Nested fields and variants
Nested fields and variants
|
limit | JSON request bodybody | integer | No | The maximum number of results to return. minimum: 1 |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.
{
"results": [
{
"currency": "USD",
"pe_ratio": 8.37,
"report_period": "2025-09-30",
"revenue": 12868000000.0,
"ticker": "AA"
},
{
"currency": "USD",
"pe_ratio": 14.65,
"report_period": "2025-09-30",
"revenue": 54294000000.0,
"ticker": "AAL"
}
]
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Financial Datasets — Search financial statements
Search for stocks by filtering across financial metrics from income statements, balance sheets, and cash flow statements with the Financial Datasets API. Supply a filters. Sample fields include currency codes. Use it to surface relevant records in a search or discovery tool. Use the results to organize a research workflow and cross-check the relevant source records.
## Available implementations
financialdatasets · Financial Datasets — Search financial statements: https://openany.si/markets/apis/capabilities/financial-datasets-search-financial-statements?offering=7c14318e-8a4b-43fb-aaa4-fd5c0b560cf5 · $0.02 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/financial-datasets-search-financial-statements
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/financialdatasets/financials/search/screener
Price: $0.02 / call
Provider: financialdatasets
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/financialdatasets/financials/search/screener' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"filters": [
{
"field": "pe_ratio",
"operator": "lt",
"value": 20
},
{
"field": "revenue",
"operator": "gte",
"value": 1000000000
},
{
"field": "total_debt",
"operator": "lt",
"value": 500000000
}
],
"limit": 5
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Financial Datasets — Search financial statements",
"endpoint": "https://api.openany.si/v1/agent-apis/financialdatasets/financials/search/screener",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Search for stocks by filtering across financial metrics from income statements, balance sheets, and cash flow statements.",
"json_schema": {
"properties": {
"filters": {
"description": "An array of filter objects to apply to the search.",
"items": {
"properties": {
"field": {
"description": "The criteria to filter on. For financial metric fields, use 'gt', 'lt', 'gte', 'lte', 'eq' operators. For 'ticker' and 'cik' fields, use the 'in' operator to filter against multiple values.",
"type": "string"
},
"operator": {
"description": "The comparison operator. The 'in' operator can only be used with a field value of 'ticker' or 'cik' and lets you filter against multiple values.",
"enum": [
"gt",
"lt",
"gte",
"lte",
"eq",
"in"
],
"type": "string"
},
"value": {
"oneOf": [
{
"description": "The value to compare against for single-value operators (gt, lt, gte, lte, eq)",
"type": "number"
},
{
"description": "Array of ticker or cik values to compare against when using the 'in' operator",
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"required": [
"field",
"operator",
"value"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"limit": {
"default": 10,
"description": "The maximum number of results to return.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"filters"
],
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "20000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example (HTTP assumed)",
"request": {
"body": {
"filters": [
{
"field": "pe_ratio",
"operator": "lt",
"value": 20
},
{
"field": "revenue",
"operator": "gte",
"value": 1000000000
},
{
"field": "total_debt",
"operator": "lt",
"value": 500000000
}
],
"limit": 5
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"results": [
{
"currency": "USD",
"pe_ratio": 8.37,
"report_period": "2025-09-30",
"revenue": 12868000000.0,
"ticker": "AA"
},
{
"currency": "USD",
"pe_ratio": 14.65,
"report_period": "2025-09-30",
"revenue": 54294000000.0,
"ticker": "AAL"
}
]
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example (HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Search for stocks by filtering across financial metrics from income statements, balance sheets, and cash flow statements.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/financialdatasets/financials/search/screener' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "filters": [ { "field": "pe_ratio", "operator": "lt", "value": 20 }, { "field": "revenue", "operator": "gte", "value": 1000000000 }, { "field": "total_debt", "operator": "lt", "value": 500000000 } ], "limit": 5 }'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "results": [ { "currency": "USD", "pe_ratio": 8.37, "report_period": "2025-09-30", "revenue": 12868000000.0, "ticker": "AA" }, { "currency": "USD", "pe_ratio": 14.65, "report_period": "2025-09-30", "revenue": 54294000000.0, "ticker": "AAL" } ] }