# Stock screener (QuantSet API)

> Filter and cursor-paginate companies across size, EV/EBITDA, P/E, P/B, ROIC, FCF margin, net-buyback share change and dividend yield.

> ## 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.

`GET https://api.quantset.dev/api/v1/screener` · `get_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 listings clear a return-on-capital threshold and a valuation cap?

```http
GET https://api.quantset.dev/api/v1/screener?has_fundamentals=true&max_ev_to_ebitda=30&min_roic=15&limit=20
```

Apply the flat filters together, then inspect ROIC and EV/EBITDA for each returned company. Use format=csv for a spreadsheet.

### How do I import a size-filtered shortlist into a spreadsheet?

```http
GET https://api.quantset.dev/api/v1/screener?namespace=us&min_market_cap_b=10&limit=20&format=csv
```

Use a key entitled to screening. Here 10 means ten billion; the returned CSV is a limited result, not the population count.

## Reading the results

ROIC is expressed in percent, whereas EV/EBITDA is a multiple. Record the thresholds, sort order and any as_of date alongside the shortlist.


## Coverage and limits

limit bounds the rows on this page. Use the returned cursor and pin for a complete paged screen; missing fundamentals can exclude a listing.


## Related guides

- [Continue a snapshot-pinned read](https://quantset.dev/docs/guides/pagination)
- [Choose a point-in-time cutoff](https://quantset.dev/docs/guides/point-in-time)
- [Choose a search strategy](https://quantset.dev/docs/guides/search)

## Parameters

- `format` (json | csv, optional): Response format: json or csv.
- `namespace` (us | global | crypto, optional)
- `country` (string, optional)
- `exchange` (string, optional)
- `sector` (string, optional): Exact canonical warehouse sector, case-insensitive
- `sector_coverage` (direct | linked_isin | directory_only | industry_only | not_applicable | unclassified, optional)
- `legacy_sector` (string, optional): Substring of a legacy sector or industry label
- `asset_type` (string, optional)
- `has_fundamentals` (boolean, optional): Filter to companies with reported TTM/FY revenue
- `max_stale_days` (integer, optional)
- `min_market_cap_b` (number, optional)
- `max_pe_ttm` (number, optional)
- `max_pe_forward` (number, optional)
- `max_pb_ratio` (number, optional)
- `max_ev_to_ebitda` (number, optional): Maximum enterprise value to EBITDA multiple.
- `max_ev_to_fcf` (number, optional): Maximum enterprise value to free cash flow multiple.
- `max_net_debt_to_ebitda` (number, optional): Maximum net debt to EBITDA multiple.
- `min_rev_growth_yoy` (number, optional)
- `min_rev_growth_qoq` (number, optional)
- `min_roic` (number, optional)
- `min_roe` (number, optional)
- `min_net_margin` (number, optional)
- `min_fcf_margin` (number, optional): Minimum annual free cash flow margin, in percent.
- `max_debt_to_equity` (number, optional)
- `min_dividend_yield` (number, optional)
- `max_share_count_change_1y` (number, optional): Maximum 1Y share-count change % (negative values screen for net buyback cannibals)
- `analyst_rank` (string, optional)
- `as_of` (string, optional): Point-in-time backtest date (YYYY-MM-DD); uses strictly prices <= as_of and filings with source_filed <= as_of
- `sort_by` (string, optional)
- `sort_dir` (string, optional)
- `limit` (integer, 1 to 1,000, optional): Maximum number of rows to return.
- `cursor` (string, optional): Opaque continuation. Pass it unchanged with the original filters and snapshot_id.
- `snapshot_id` (string, optional): Pin the request to one immutable snapshot so a read across several pages stays consistent.
- `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

- `sector` (string): The company's sector, in one standard list used across all markets.
- `sector_as_of` (string): The date the sector label was observed.
- `sector_funds` (array)
- `directory_sector` (string)
- `sector_coverage` (direct | linked_isin | directory_only | industry_only | not_applicable | unclassified): How the sector was established: direct, linked_isin, directory_only, industry_only, not_applicable or unclassified.
- `sector_asset_type` (string)
- `sector_isin` (string)
- `sector_link_venue` (string)
- `sector_link_ticker` (string)
- `directory_link_venue` (string)
- `directory_link_ticker` (string)
- `industry_label` (string): The company's industry in plain words, where one is established.
- `sic_code` (string): The company's SEC Standard Industrial Classification code.
- `sic_description` (string): The SEC's name for that industry code.
- `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.
- `namespace` (us | global | crypto | index): The market family of the ID: us, global, crypto or index.
- `symbol` (string): The ticker without its market prefix.
- `name` (string): The company, fund or instrument name.
- `country` (string): The country where the listing trades.
- `exchange` (string): The exchange the listing trades on.
- `security_type` (string): The kind of security: common_stock, adr, reit, etf, etn, cef, preferred, warrant or unit.
- `asset_type` (string): What kind of instrument it is, such as stock, etf, crypto_pair or index.
- `cik` (string): The company's 10-digit SEC Central Index Key.
- `sic` (string): The company's SEC Standard Industrial Classification code.
- `industry` (string): The company's industry, as reported for its home market.
- `sec_sector` (string)
- `gics_sector` (string)
- `latest_date` (string): The date of the most recent price for this listing.
- `stale_days` (integer): How many days old the most recent price is.
- `is_active` (boolean): Whether the listing is still trading.
- `has_financials` (boolean): Whether financial statements are available for this company.
- `quote_currency` (string): The currency prices are quoted in. London listings quote in pence, shown as GBp.
- `native_close` (number): The latest close in the listing's own trading currency.
- `usd_rate` (number): The exchange rate applied to turn the native close into US dollars.
- `fx_date` (string): The date of the exchange rate that was applied.
- `price` (number): The latest price in US dollars.
- `daily_open` (number)
- `daily_high` (number)
- `daily_low` (number)
- `volume` (number): The amount traded that day, in the unit named by volume_unit.
- `shares_out` (number): The number of shares in issue.
- `price_adjustment` (string): What has been established about splits in the price series behind this row.
- `last_share_change` (string)
- `change_1d_pct` (number): The price change over one day, in percent.
- `change_5d_pct` (number): The price change over five trading days, in percent.
- `change_1m_pct` (number): The price change over one month, in percent.
- `change_6m_pct` (number): The price change over six months, in percent.
- `change_1y_pct` (number): In percent: 10 means 10%.
- `ytd_pct` (number): The price change since the start of the year, in percent.
- `total_return_start_date` (string): A date, YYYY-MM-DD.
- `total_return_1y_pct` (number): The one-year return with dividends reinvested, in percent.
- `dividend_basis` (string): What is established about the dividends used in this calculation.
- `dividend_price_observation` (string)
- `sma_50` (number): The average close over the last 50 trading days.
- `sma_50_days` (integer): A number of days.
- `sma_200` (number): The average close over the last 200 trading days.
- `sma_200_days` (integer): A number of days.
- `ema_15` (number): The exponential moving average of the close over 15 trading days.
- `rsi14` (number): The 14-day relative strength index, from 0 to 100.
- `mfi14` (number)
- `realized_volatility` (number): How much the price has moved, annualized from daily returns.
- `beta` (number): Historical beta relative to the local market benchmark.
- `high_52w` (number): The highest close in the last 52 weeks.
- `low_52w` (number): The lowest close in the last 52 weeks.
- `range_52w_days` (integer): A number of days.
- `weekly_high` (number)
- `weekly_low` (number)
- `monthly_high` (number)
- `monthly_low` (number)
- `market_cap_b` (number): The company's market value, in billions of US dollars.
- `quote_market_cap_b` (number): In billions.
- `market_cap_basis` (string)
- `market_cap_shares_as_of` (string): The date this value was observed.
- `market_cap_filed` (string)
- `market_cap_accession` (string)
- `market_cap_ordinary_per_us_share` (number)
- `financial_currency` (string): The currency the company reports its financial statements in.
- `valuation_eligible` (boolean): True only when both income and balance sheet figures are verified in US dollars, so multiples can be trusted.
- `fundamentals_basis` (string): Whether the fundamentals are trailing twelve months (ttm) or the latest fiscal year (fiscal_year).
- `fundamentals_as_of` (string): The period end of the statements behind these fundamentals.
- `latest_fy_date` (string): A date, YYYY-MM-DD.
- `revenue_ttm` (number): Sales over the trailing twelve months.
- `revenue_prev` (number)
- `rev_growth_yoy_pct` (number): In percent: 10 means 10%.
- `rev_growth_qoq_pct` (number): Sales growth against the previous quarter, in percent.
- `rev_growth_qyoy_pct` (number): Sales growth against the same quarter a year earlier, in percent.
- `gross_profit_ttm` (number): Gross profit over the trailing twelve months.
- `operating_income_ttm` (number): Operating income over the trailing twelve months.
- `net_income_ttm` (number): Net income over the trailing twelve months.
- `ebitda_ttm` (number): Earnings before interest, tax, depreciation and amortization over the trailing twelve months.
- `eps_ttm` (number): Earnings per share over the trailing twelve months, or the fiscal year where labeled.
- `eps_ttm_basis` (string): Whether eps_ttm is the reported diluted figure, derived, or built from mixed records.
- `eps_fy` (number)
- `eps_growth_yoy_pct` (number): In percent: 10 means 10%.
- `eps_growth_3y_cagr_pct` (number): The yearly growth rate of earnings per share over three years, in percent.
- `eps_growth_5y_cagr_pct` (number): The yearly growth rate of earnings per share over five years, in percent.
- `gross_margin_pct` (number): Gross profit as a share of sales, in percent.
- `operating_margin_pct` (number): Operating income as a share of sales, in percent.
- `net_margin_pct` (number): Net income as a share of sales, in percent.
- `roe_pct` (number): Net income as a share of shareholders' equity, in percent.
- `roic_pct` (number): After-tax operating profit as a share of invested capital, in percent.
- `debt_to_equity` (number): Total debt divided by shareholders' equity.
- `current_ratio` (number): Current assets divided by current liabilities.
- `interest_coverage` (number): Operating income divided by interest expense.
- `balance_sheet_as_of` (string): The date this value was observed.
- `balance_equation_consistent` (boolean): Whether assets equal liabilities plus equity on the balance sheet used.
- `cash` (number): Cash and cash equivalents.
- `total_assets` (number): Everything the company owns, at the balance sheet date.
- `long_term_debt` (number): Borrowings due in more than a year.
- `total_debt` (number): Short-term plus long-term borrowings.
- `total_liabilities` (number): Everything the company owes, at the balance sheet date.
- `total_equity` (number): Assets minus liabilities.
- `book_value_per_share` (number): Shareholders' equity divided by shares in issue.
- `operating_cash_flow` (number): Cash generated by the business before investment.
- `capex` (number): Cash spent on property, plant and equipment.
- `free_cash_flow` (number): Operating cash flow minus capital spending.
- `cash_flow_as_of` (string): The date this value was observed.
- `cash_flow_currency` (string)
- `cash_flow_basis` (string)
- `fcf_shares_used` (number)
- `fcf_share_basis` (string)
- `fcf_per_share` (number): Free cash flow divided by shares in issue.
- `fcf_yield_pct` (number): Free cash flow per share as a share of the price, in percent.
- `pe_ttm` (number): Price divided by trailing earnings per share.
- `pe_forward` (number): Price divided by the consensus estimate of next year's earnings per share.
- `pb_ratio` (number): Price divided by book value per share.
- `ffo_ttm` (number): For a REIT, funds from operations over the trailing twelve months.
- `price_to_ffo` (number): For a REIT, price divided by funds from operations per share.
- `enterprise_value_b` (number): Market value plus debt minus cash, in billions of US dollars.
- `ev_to_ebitda` (number): Enterprise value divided by trailing EBITDA.
- `ev_to_fcf` (number): Enterprise value divided by trailing free cash flow.
- `net_debt_to_ebitda` (number): Debt minus cash, divided by trailing EBITDA.
- `fcf_margin_pct` (number): Free cash flow as a share of sales, in percent.
- `share_count_change_1y_pct` (number): The change in shares in issue over a year, in percent. Negative means buybacks.
- `eps_current_fy` (number): The consensus estimate of earnings per share for the current fiscal year.
- `current_fy_end` (string): The last day of the current fiscal year.
- `eps_next_fy` (number): The consensus estimate of earnings per share for the next fiscal year.
- `next_fy_end` (string): The last day of the next fiscal year.
- `current_fy_estimate_as_of` (string): The date this value was observed.
- `next_fy_estimate_as_of` (string): The date this value was observed.
- `forward_eps` (number): The consensus estimate of earnings per share used for the forward P/E.
- `analyst_count` (integer): How many analysts contributed to the estimate.
- `analyst_rank` (string): The analyst rank for the stock.
- `value_grade` (string): The factor grade for value, from A to F.
- `growth_grade` (string): The factor grade for growth, from A to F.
- `momentum_grade` (string): The factor grade for momentum, from A to F.
- `vgm_grade` (string): The combined value, growth and momentum grade, from A to F.
- `annual_dividend` (number): Dividends paid per share over the trailing twelve months.
- `dividend_yield_pct` (number): Annual dividends per share as a share of the price, in percent.
- `dividend_years_10y` (integer)
- `dividend_increase_streak_years` (integer): How many years in a row the dividend has been raised.
- `last_ex_dividend_date` (string): The most recent ex-dividend date.
- `insider_buys` (integer): How many insider purchases fall in the window.
- `insider_sells` (integer): How many insider sales fall in the window.
- `insider_latest_date` (string): A date, YYYY-MM-DD.
- `insider_data_through_date` (string): A date, YYYY-MM-DD.
- `insider_window_end` (string)
- `insider_coverage` (string)
- `employees` (integer): Reported full-time employee headcount.
- `etf_asset_class` (string)
- `backing_type` (string)
- `fund_category` (string)
- `category_basis` (string)
- `daily_target_multiple` (number): For a leveraged or inverse fund, the multiple of the daily move it aims for. Withheld when the filings disagree.
- `multiple_basis` (string)
- `direction` (string)
- `corroboration_status` (string): Whether the fund's computed leverage agrees with its official name.
- `weighted_maturity_years` (number)
- `credit_quality` (string)
- `benchmark_index` (string): The index the fund says it tracks.
- `benchmark_instrument_id` (string)
- `underlying_instrument_id` (string)
- `expense_ratio_pct` (number): The fund's yearly cost to holders, in percent.

## Example

```
curl 'https://api.quantset.dev/api/v1/screener?has_fundamentals=true&max_ev_to_ebitda=30&min_roic=15&limit=20' -H 'X-API-Key: YOUR_API_KEY'
```

## 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 page size before requesting CSV again.
- 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 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.

**How do I read more than one page?** When next_cursor is not null, send it back as cursor together with the same snapshot_id, and repeat until it is null.

**Can I get it as CSV or in a spreadsheet?** Yes. Add format=csv to the request. In Google Sheets, put that URL inside IMPORTDATA with a data-only key in apikey.

**Can an AI agent use this?** Yes. On the QuantSet MCP server it is the screen_stocks 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
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
