HomeChatAlertsCalendarScreenerWatchlistsFiles
DocsSettings
Sign upJoinLog in

Docs

Overview

IntroductionMCP ServerOpenAPI Spec

REST API

GETScreen StocksGETScreener Fields

WebSocket

Live Quotes (Per Second)Live Quotes (Per Minute)Live NewsLive SEC FilingsTrading Halts

Screener Fields

GET/v1/screener/fields
View as markdown

Return the catalogue of every metric the screener understands so you can build filters dynamically and validate inputs. Each field includes its id (used in filter, sort and columns), a human-readable label, its category (security, market, technicals, financials, valuation, margins, growth, dividends), its value kind (number, percent, price, dollar, marketcap, volume, enum, text, date) and whether it is filterable and sortable. The response also lists the operators each kind accepts and the columns always returned by the screener.

Use cases

  • Rendering a metric picker or filter builder UI from live metadata
  • Validating metric ids and operators before issuing a screen
  • Discovering the full set of available fundamental and technical fields
  • Keeping integrations in sync as new metrics are added

Output parameters

FieldTypeDescription
fieldsarrayEvery available metric.
fields[].idstringMetric id used in filter, sort and columns.
fields[].labelstringHuman-readable name.
fields[].categorystringGrouping: security, market, technicals, financials, valuation, margins, growth, dividends.
fields[].kindstringValue kind: number, percent, price, dollar, marketcap, volume, enum, text or date.
fields[].filterablebooleanWhether the metric can be used in a filter.
fields[].sortablebooleanWhether the metric can be used to sort.
countintegerNumber of fields.
operatorsobjectOperators accepted per kind: numeric, categorical, text.
default_columnsarrayColumns always returned by the screener.
from vantafin import RESTClient

client = RESTClient("vf-live-your_api_key")

result = client.screener_fields()

print(result)
{
  "fields": [
    {
      "id": "marketCap",
      "label": "Market cap",
      "category": "market",
      "kind": "marketcap",
      "filterable": true,
      "sortable": true
    },
    {
      "id": "peRatio",
      "label": "P/E ratio",
      "category": "valuation",
      "kind": "number",
      "filterable": true,
      "sortable": true
    },
    {
      "id": "sector",
      "label": "Sector",
      "category": "security",
      "kind": "enum",
      "filterable": true,
      "sortable": true
    },
    {
      "id": "revenueGrowthYoy",
      "label": "Revenue growth YoY",
      "category": "growth",
      "kind": "percent",
      "filterable": true,
      "sortable": true
    }
  ],
  "count": 85,
  "operators": {
    "numeric": [
      "above",
      "above_or_equal",
      "below",
      "below_or_equal",
      "between",
      "equal",
      "outside"
    ],
    "categorical": [
      "equal"
    ],
    "text": [
      "contains",
      "equal"
    ]
  },
  "default_columns": [
    "ticker",
    "company",
    "sector",
    "industry",
    "country",
    "exchange",
    "price",
    "changeAbs",
    "changePct",
    "volume",
    "usdVolume",
    "marketCap"
  ]
}
Screen Stocks
All Earnings