# Multi-statement DSL stock screener (QuantSet API)

> Screen US or global companies across any combination of financial statement line items, 45+ ratios, short volume, insider buys, and GICS sector/industry via GET or POST, with lookahead-free as_of backtesting.

> ## For AI agents
> The QuantSet API is at https://api.quantset.dev. Send the key in the `X-API-Key` header. The sandbox key `mw_demo` needs no signup and reads the sample listings.
> No key yet? An agent can open an account on its own: https://api.quantset.dev/skill.md
> Connect an MCP client to https://api.quantset.dev/mcp. Client setup is at https://api.quantset.dev/agents.md.
> Start with https://api.quantset.dev/llms.txt or read the full reference at https://api.quantset.dev/llms-full.txt. The OpenAPI file is https://api.quantset.dev/openapi.json. Add `.md` to any docs URL to get that page as Markdown.

`POST https://api.quantset.dev/api/v1/screener/search` · `search_screener`

Send a key in the `X-API-Key` header.
Add `format=csv` to get a UTF-8 table.
Price: 10 credits for the first 25 rows, then 5 credits for every 25 more.

## Research questions

### Which companies pass both a revenue floor and a liquidity test?

```http
POST https://api.quantset.dev/api/v1/screener/search
Content-Type: application/json

{
  "filters": [
    {
      "field": "revenue",
      "operator": "gt",
      "value": 10000000000
    },
    {
      "field": "quick_ratio",
      "operator": "gt",
      "value": 1.5
    }
  ],
  "limit": 10
}
```

Inspect the JSON body for the revenue and quick_ratio thresholds. Read the selected metric values on every returned listing.

### Which listings clear a revenue threshold using information available at midyear?

```http
POST https://api.quantset.dev/api/v1/screener/search
Content-Type: application/json

{
  "filters": [
    {
      "field": "revenue",
      "operator": "gt",
      "value": 10000000000
    }
  ],
  "as_of": "2024-06-30",
  "limit": 10
}
```

Compare filing_date with the cutoff before using a matching company in a backtest. Keep the currency and the raw revenue threshold together.

## Reading the results

A large revenue figure needs a currency, while quick_ratio is a unitless multiple. Compare report_period and filing_date before ranking matches.


## Coverage and limits

A limited result and missing financial inputs restrict the match set. For historical screens set as_of explicitly and read the vintage limitations.


## Related guides

- [Choose a search strategy](https://quantset.dev/docs/guides/search)

## Parameters

- `snapshot_id` (string, optional): Pin the request to one immutable snapshot so a read across several pages stays consistent.
- `format` (json | csv, optional): Return a JSON page or UTF-8 CSV rows.
- `X-Max-Credits` (integer, 0 to 999,999,999,999, optional, in header): Refuse the request if its maximum charge exceeds this ceiling.
- `X-Workflow-Id` (string, optional, in header): Optional printable identifier for grouping charges in a research workflow.

## Response fields

- `instrument_id` (string): The listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.
- `symbol` (string): The ticker without its market prefix.
- `name` (string): The company, fund or instrument name.
- `sector` (string): The company's sector, in one standard list used across all markets.
- `industry` (string): The company's industry, as reported for its home market.
- `report_period` (string)
- `filing_date` (string): The day the filing was made public.
- `currency` (string): The currency the amounts on this row are in.
- `values` (object): The statement's lines, keyed by name. A line that could not be confirmed is null.

## Example

```
curl -X POST 'https://api.quantset.dev/api/v1/screener/search' -H 'X-API-Key: YOUR_API_KEY' -H 'Content-Type: application/json' --data '{"filters":[{"field":"revenue","operator":"gt","value":10000000000},{"field":"quick_ratio","operator":"gt","value":1.5}],"limit":10}'
```

## Responses

- 200 Successful Response
- 400 Supply one credential.
- 401 Supply a valid API key.
- 402 Reduce the request ceiling or refill your credits.
- 403 Your key does not have the required access.
- 409 Start the read again with the current snapshot.
- 413 Reduce the size of the request body.
- 422 Correct the named parameter and retry.
- 429 Wait for Retry-After seconds.
- 500 The request could not be completed.
- 503 Retry safe reads after a short delay.

## Questions

**What does Multi-statement DSL stock screener cost?** 10 credits for the first 25 rows, then 5 credits for every 25 more. A request that fails costs nothing.

**Which plan includes it?** Every account. Free credits, credit packs and subscriptions all read this data.

**Can an AI agent use this?** Yes. On the QuantSet MCP server it is the search_screener tool, so Claude, ChatGPT, Cursor and other clients can call it with no code.

**What does null mean in the response?** The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.

Group: Fundamentals and screening
Docs page: https://quantset.dev/docs/api/screener-search-post
Integrations & Ecosystem: https://quantset.dev/integrations (Claude/Cursor MCP, LangGraph, PydanticAI, CrewAI, Agno, Vercel AI SDK, Mastra, Sheets =QUANTSET(), Excel, Notion & x402)
Full API guide: https://api.quantset.dev/llms-full.txt
