# Financial Datasets — Search financial statements

Get Financial Datasets Stock Screener data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Financial Datasets, pass parameters such as filters, limit, and retrieve structured data including matching company ticker, financial reporting period, reporting currency, revenue when returned, and pe ratio for company screening, and result review.

Documentation: https://openany.si/financial-datasets/financial-datasets-search-financial-statements/7c14318e-8a4b-43fb-aaa4-fd5c0b560cf5/
API ID: 7c14318e-8a4b-43fb-aaa4-fd5c0b560cf5
Provider: financialdatasets
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/financialdatasets/financials/search/screener
Page update time: 2026-12-03T02:49:08.343Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.02 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:07.466Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "20000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Financial Datasets Stock Screener API

POST a JSON body containing filters, an array with at least one field, operator and value object. Numeric comparisons use a number; the in operator applies to ticker or cik and uses an array of strings. Optional limit controls the requested result count; read the metrics actually returned in results.

## What You Can Build

- **Company screening**: Build a structured filter interface for supported financial fields.
- **Result review**: Display matching tickers and returned metrics with reporting-period context.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `results[].ticker` | Matching company ticker |
| `results[].report_period` | Financial reporting period |
| `results[].currency` | Reporting currency |
| `results[].revenue` | Revenue when returned |
| `results[].pe_ratio` | Reported price-to-earnings ratio when returned |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Financial Datasets — Search financial statements request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "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",
      "description": "Search for stocks by filtering across financial metrics from income statements, balance sheets, and cash flow statements."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string"
          },
          "pe_ratio": {
            "type": "number"
          },
          "report_period": {
            "type": "string"
          },
          "revenue": {
            "type": "number"
          },
          "ticker": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example (HTTP assumed)
```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
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Where do the screening filters belong?
Send them in the POST JSON body under filters, not in the query string.

### Which operators are accepted?
Use gt, lt, gte, lte, eq or in. The in operator is limited to ticker or cik fields.

### What type should value have?
Use a number for numeric comparison operators and an array of strings for in.

### Can I request specific line items for named companies here?
Use the separate Line Items API to select an explicit metric list and tickers. This endpoint applies screening conditions.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Review the pricing area for the selected API implementation before calling. Follow its billing unit and terms; retrieving additional pages requires additional requests.

## Available implementations
- financialdatasets: https://openany.si/financial-datasets/financial-datasets-search-financial-statements/7c14318e-8a4b-43fb-aaa4-fd5c0b560cf5/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
