Schema
Every field: its name, type, values and meaning
Schema tells you what every field means and which values it can take. Before you filter on a field or read one you haven't seen, look it up here. It's free on every plan.
The names it returns are the ones every endpoint takes: in Search filters, in Universe and History fields, and in Summary event lookups. Summary's own responses nest them (trend_direction is trend.direction there).
Finding a field
By words
search keeps the fields whose name, category or description contains all your words, with name matches first. Add compact=true for the first sentence of each description, as above.
When more than 25 fields match, you get only their names, in field_names. Search again with more words, or with one of the names.
By exact name
A field's exact name returns that field alone, with its full description:
By category or level
category returns a group of related fields. The categories are listed in every response.
level picks the kind of row a field belongs to: ticker (one row per asset and date), market (one per date, see Market & Macro) or model (one per model and date, see Models).
Change markers
Every band you can track over time has five more fields: _prev, _periods, _stability, _flips_recent_count and _flips_lookback (see Search). A lookup leaves them out and marks those bands tracked: true. Add markers=true to list them.
Reading a field name
Every name follows one pattern, <group>_<name>[_<unit>], so you can usually tell what a field holds without looking it up.
- The first word is the group:
trend,momentum,volume,fundamentals,analyst,insider, and so on.ticker,asset_classanddata_statusare the only fields without one. fundamentals_fields come from reported filings;analyst_fields come from analysts' estimates and recommendations.- Bands end in a word such as
_zone,_trend,_stateor_direction. Their values are listed invalues, and explained on Categorical Bands. - Numbers end in their unit:
trend_distance_ma50_pctis the number behind the bandtrend_distance_ma50_zone.
| Ends in | Means | Example |
|---|---|---|
_pct | Percent: 5.0 means 5% | trend_distance_ma50_pct |
_percentile | Rank from 0 to 100 | volume_percentile |
_ratio | A plain multiple | fundamentals_pe_ratio, volume_ratio |
_usd | US dollars | market_cap_usd |
_price | A price | trend_ma200_price, support_level_price |
_count | A count | support_touch_count |
_periods | Bars: trading days on daily, weeks on weekly | trend_duration_periods |
_shares | Shares | insider_bought_shares |
_score | A score from 0 to 100 | fear_greed_score, garp_core_score |
_points | A change in a score or percentile, in points | garp_core_score_change_4w_points |
_positions | A change in rank, in positions (positive means up) | garp_core_rank_change_4w_positions |
momentum_rsi, momentum_stochastic_k and momentum_stochastic_d keep their usual names: they're indicator values from 0 to 100. Every field has one name, the one listed here, in every endpoint; older spellings are rejected as unknown fields.
Parameters
| Parameter | Example | Description |
|---|---|---|
search | bull flag | Words that must all appear in the field's name, category or description. Not case sensitive, and _ counts as a space. An exact field name returns that field alone |
category | patterns,volume | One or more categories, comma-separated |
level | market | ticker, market or model |
compact | true | Only the first sentence of each description, up to 160 characters |
markers | true | Include the change-marker fields. On by default only when you ask for everything |
With no parameters you get every field, markers included, plus the naming rules and the list of filter operators. It's large, so agents should look fields up instead.
Response fields
| Field | Type | Description |
|---|---|---|
fields | object[] | The fields that matched, described below |
field_names | string[] | Instead of fields, when more than 25 match. note says how to narrow it |
total_fields, matched_fields | integer | Every field there is, and how many matched |
categories | string[] | Every category |
markers | string | When change markers were left out: how to get them |
operators, naming, levels | object | With no parameters only: the filter operators, the naming rules, and what each level is |
Each field
| Field | Type | Description |
|---|---|---|
name | string | The name to use in every request |
type | string | text, integer, bigint, numeric or boolean |
level | string | ticker, market or model: where the field can be used |
category | string | Its group |
values | string[] | For bands: every value it can take |
nullable | boolean | true when the field can be null. Left out of compact lookups |
tracked | boolean | true on a band with change markers, when the markers were left out |
description | string | What it means, how it's measured, and when it's null |
Errors
| Status | error.type | Cause | What to do |
|---|---|---|---|
400 | invalid_parameter | An unknown parameter, category or level, or compact / markers that isn't true or false. | Read the message: an unknown category lists the valid ones. |
Schema needs an API key like every endpoint, and costs no credits. Authentication and rate-limit errors are on Authentication and Errors & Caching.