API ReferenceFundamentals
Stock screener
/api/v3/fundamentals/screener- Plan
- Free and up
- Price
- 1 credit per call
- MCP tool
fundamentals_screener
Stocks passing profitability (ROE, ROA, net margin), growth (revenue, EPS), financial-health (debt/equity, current ratio) and dividend filters, scoped by sector/industry. Sized, floored (schema defaults) and sorted on our own data: market_cap_usd and adv_21d_usd from exchange prices and shares outstanding; common equity only unless security_class asks for more; revenue_usd / net_income_usd only where the reporting currency is established (raw revenue, in the issuer's currency, is not comparable across rows). The response carries field_sources and as_of; liquid listings with no verifiable size are in universe.liquid_without_market_cap; a row under a symbol its issuer retired in the last 18 months is sized on the current listing (listing_ticker). market_cap_usd is null when the close moved over 3x either way from the split-adjusted close on the share count's date, genuine moves included (the count is not trusted); such rows leave floored screens, named with the reason if they trade $1M+ a day. Size data warming on a fresh server: 503 build_timeout with Retry-After; that data or the fundamentals source unreadable: 503 upstream_unavailable (screener_size_data_unavailable or screener_vendor_unavailable; refunded), never an empty list. PRIMARY tool for 'find me stocks that...' asks; presets: /fundamentals/screener/presets. UNITS: pct filters and their deprecated aliases are PERCENT (20 = 20%); debt_to_equity_max and current_ratio_min are MULTIPLES. Row ratios, margins, growth and payout are percent, debt_to_equity / current_ratio / quick_ratio multiples, latest fiscal year (fiscal_year), not TTM; units in filters_applied and units. Negative-equity rows carry equity_negative. Revenue growth beyond +-100% is checked against the SEC annual report (growth_status, revenue_growth_basis, vendor_revenue_growth_yoy); a name the source excluded on a wrong figure is not recovered. An undeclared argument is refused, never ignored. Gross/operating margin and revenue*_usd filters run on the served rows (local_filters). VALUATION, NOT TTM (today's market cap over latest fiscal-year figures): pe_ratio, price_to_sales, earnings_yield_pct (negative for a loss), dividend_yield_pct; all sortable. one_per_issuer / max_per_sector: collapsed_share_classes / sector_capped. Banks, insurers and other financials (not data/exchanges) carry revenue_comparable false. POINT-IN-TIME (as_of): the market as knowable that day: every security that traded, delisted included, keyed by the security (a reused ticker names its holder then); the newest fundamentals vintage knowable then (TTM of four knowable quarters), never a later restatement; that day's price and market cap. Rows carry knowable_at, period_end, vintage_id and price_source. A name whose identity, ticker or price that day is unproven is withheld with its reason (universe.withheld), never guessed; an empty screen beside withheld names is not billed. With as_of, EPS growth, D/E, current ratio, dividend, gross/operating margin, sector/industry and max_per_sector filters are a 422 filter_not_point_in_time; an as_of out of range a 422 as_of_before_coverage / as_of_in_future (refunded); a day not yet built a 503 build_timeout with Retry-After. A fundamentals screen, not a forecast.
Parameters
Query
sectorstringOptionalThe source's sector name, e.g. Technology, Healthcare, Financial Services.
industrystringOptionalThe source's industry name, e.g. Semiconductors, Insurance - Property & Casualty.
roe_min_pctnumberOptionalMinimum return on equity in PERCENT: 20 keeps ROE >= 20%; 0.5 keeps ROE >= 0.5%. Each row's latest fiscal year (not TTM): net income / average shareholders' equity.
roe_max_pctnumberOptionalMaximum return on equity in PERCENT: 50 keeps ROE <= 50%. Latest fiscal year, net income / average shareholders' equity.
roa_min_pctnumberOptionalMinimum return on assets in PERCENT: 10 keeps ROA >= 10%. Latest fiscal year, net income / total assets at year end.
net_margin_min_pctnumberOptionalMinimum net margin in PERCENT: 15 keeps net income / revenue >= 15%. Latest fiscal year.
revenue_growth_min_pctnumberOptionalMinimum revenue growth vs the prior fiscal year in PERCENT: 20 keeps growth >= 20%; -10 admits declines of up to 10%. Latest fiscal year. Growth beyond +-100% is checked against the SEC annual report and this floor is applied again to the checked figure.
eps_growth_min_pctnumberOptionalMinimum diluted-EPS growth vs the prior fiscal year in PERCENT: 25 keeps EPS growth >= 25%. Latest fiscal year.
payout_ratio_max_pctnumberOptionalMaximum payout ratio in PERCENT: 60 keeps dividends paid / net income <= 60%. Latest fiscal year.
gross_margin_min_pctnumberOptionalMinimum gross margin in PERCENT (40 = 40%), latest fiscal year. Applied by this screener to the served rows; a row without it does not pass, nor a bank, insurer or other non-exchange financial.
operating_margin_min_pctnumberOptionalMinimum operating margin in PERCENT, latest fiscal year. Applied by this screener to the served rows.
revenue_min_usdnumberOptionalMinimum revenue in USD (revenue_usd, latest fiscal year). A row whose USD revenue is not established does not pass.
revenue_max_usdnumberOptionalMaximum revenue in USD (revenue_usd, latest fiscal year). A row whose USD revenue is not established does not pass.
gross_margin_minnumberOptionalAlias of gross_margin_min_pct (PERCENT); a value between -1 and 1 is refused as ambiguous (422).
operating_margin_minnumberOptionalAlias of operating_margin_min_pct (PERCENT); a value between -1 and 1 is refused as ambiguous (422).
revenue_minnumberOptionalAlias of revenue_min_usd (USD).
revenue_maxnumberOptionalAlias of revenue_max_usd (USD).
roe_minnumberOptionalDeprecated: same as roe_min_pct, in PERCENT (20 = 20%). A value strictly between -1 and 1 other than 0 is refused as ambiguous (422 ambiguous_percent_threshold); roe_min_pct is never refused for size.
roe_maxnumberOptionalDeprecated: same as roe_max_pct, in PERCENT (50 = 50%). Values strictly between -1 and 1 other than 0 are refused as ambiguous (422).
roa_minnumberOptionalDeprecated: same as roa_min_pct, in PERCENT (10 = 10%). Values strictly between -1 and 1 other than 0 are refused as ambiguous (422).
net_margin_minnumberOptionalDeprecated: same as net_margin_min_pct, in PERCENT (15 = 15%). Values strictly between -1 and 1 other than 0 are refused as ambiguous (422).
revenue_growth_minnumberOptionalDeprecated: same as revenue_growth_min_pct, in PERCENT (20 = 20%). Values strictly between -1 and 1 other than 0 are refused as ambiguous (422).
eps_growth_minnumberOptionalDeprecated: same as eps_growth_min_pct, in PERCENT (25 = 25%). Values strictly between -1 and 1 other than 0 are refused as ambiguous (422).
debt_to_equity_maxnumberOptionalMaximum total debt / shareholders' equity as a MULTIPLE, not a percent: 0.5 keeps debt <= half of equity, 1 keeps debt <= equity. 0 to 20, else 422 debt_to_equity_max_out_of_range. Latest fiscal year end. Companies with negative equity (negative D/E, equity_negative) never pass.
current_ratio_minnumberOptionalMinimum current assets / current liabilities as a MULTIPLE: 1.5 keeps a current ratio >= 1.5x. Latest fiscal year end.
years_dividend_growth_minintegerOptionalMinimum consecutive fiscal years of growth in TOTAL cash dividends paid (the vendor's count, not the per-share dividend-increase streak), in YEARS, at most 16 (the vendor's dividend history depth; more is refused 422): 10 keeps 10 or more.
payout_ratio_maxnumberOptionalDeprecated: same as payout_ratio_max_pct, in PERCENT (60 = 60%). Values strictly between -1 and 1 other than 0 are refused as ambiguous (422).
sort_bystringOptionalSorted over the whole matched set, nulls last. The short spellings are aliases: market_cap/marketcap -> market_cap_usd, revenue -> revenue_usd, net_income -> net_income_usd, adv/adv_21d/adv_usd/dollar_volume -> adv_21d_usd, price -> price_usd, and *_growth -> *_growth_yoy, pe/ps/earnings_yield/dividend_yield -> the valuation keys. revenue and net_income sort in USD, never on the issuer's own currency. Any other key is a 400 listing the allowed ones.
market_cap_usdadv_21d_usdprice_usdrevenue_usdnet_income_usdrevenue_growth_yoynet_income_growth_yoyeps_growth_yoyroeroagross_marginoperating_marginnet_margindebt_to_equitycurrent_ratioquick_ratiopayout_ratiodividend_growth_yoyyears_dividend_growthpe_ratioearnings_yield_pctprice_to_salesdividend_yield_pctmarket_capmarketcaprevenuenet_incomeadvadv_21dadv_usddollar_volumepricerevenue_growtheps_growthnet_income_growthdividend_growthpeearnings_yielddividend_yieldpsmarket_cap_usdsort_orderstringOptionalDesc (default) or asc; rows without a value sort last either way.
ascdescdesclimitintegerOptionalRows per page, 1 to 100.
501 to 100pageintegerOptionalPage of the whole matched and sorted set, from 1.
11 to 100min_market_cap_usdnumberOptionalIssuer market-cap floor, USD. 0 disables it and also admits rows whose market cap is unknown (ADRs, funds).
3000000000 to 1000000000000min_adv_usdnumberOptionalFloor on 21-session average daily dollar volume, USD. 0 disables it.
10000000 to 10000000000security_classstringOptionalComma list of classes to include: common, adr, preferred, fund, unit, warrant, other. Unknown classes are a 400.
commonone_per_issuerbooleanOptionalTrue: one listed share class per issuer, the most liquid; the rest in collapsed_share_classes.
falsemax_per_sectorintegerOptionalMax rows per sector, after the sort and before paging; the rest in sector_capped.
1 to 100as_ofstringOptionalPoint-in-time screen date, YYYY-MM-DD, from coverage_start (2001-01-02) to today in New York. Omit for today's screen.
Response
A 200 is a JSON envelope: ok: true and this endpoint's own fields (see Fundamentals). It carries X-Request-ID, the credit headers (X-Credits-Cost, X-Credits-Remaining, X-Credits-Receipt, X-Credits-Settlement) and the rate-limit headers.
A 200 is billed even when it holds no data (an empty list, null, found: false), so check those fields. Pricing & credits explains the credit headers.
Errors
No error is billed. The body is { "ok": false, "error", "detail", "request_; read the code from error.
| Error | Meaning |
|---|---|
400 invalid_ticker | The request is malformed, for example a ticker that is not a symbol: invalid_ticker, refused before any credit is reserved, with param naming the parameter. Not billed. |
401 unauthorized | Missing or invalid API key. |
402 plan_required | Your plan does not include this tool, you are out of credits, or your workspace's spend cap paused its keys. plan_required names the plan that unlocks the tool; usage_exceeded means the credit balance is spent; spend_cap_reached means the key is paused until the cap resets or is raised: detail names the cap and the reset, cap_usd and resets_at (ISO 8601) carry them, and doc_url links pricing and credits. Not billed. |
403 scope_denied | This API key is limited to some products and this tool is not one of them. product names the tool's product and scopes the key's products. An upgrade does not change it: use a key whose scopes include the product, or change this key's scopes. Not billed. |
404 not_found | No such resource. Not billed. |
422 validation | A parameter is missing, out of range or the wrong type; param names it. Not billed. |
429 rate_limited | Your plan's rate limit is spent for this window. Retry after Retry-After seconds. Not billed. |
503 paid_ | The data could not be served completely right now; retry later. Not billed. |
504 request_timeout | The request ran past the server's time budget; retry. Not billed. |
This table lists what the spec declares for this route. Error responses lists every code FIRM sends, with when to retry.