Equities Screener API

Powerful, criteria-based screening using flexible filtering logic.

Operators

Use this page to look up the operators you can use in scope and query, the syntax for each, and the data types that support them. For explanations and examples, see Filter Conditions.

Filter Operators

These operators apply to a single data point.

OperatorWhat It DoesSyntax
eqEquals a single value.{ "<dataPoint>": <value> }
inEquals any value in a list.{ "<dataPoint>": [<value>, <value>] }
gtGreater than.{ "<dataPoint>": { "gt": <value> } }
gteGreater than or equal to.{ "<dataPoint>": { "gte": <value> } }
ltLess than.{ "<dataPoint>": { "lt": <value> } }
lteLess than or equal to.{ "<dataPoint>": { "lte": <value> } }
containsContains a substring.{ "<dataPoint>": { "contains": "<text>" } }
FuzzyApproximately matches text.{ "<dataPoint>": { "value": "<text>", "fuzzy": true } }

You don't write eq or in in a request. A single value is an eq filter, and a list of values is an in filter. The names eq and in appear in the operators property of the data point metadata.

You can combine gt or gte with lt or lte in one object to set a range. See Comparison Filters.

Compound Operators

These operators combine other conditions.

OperatorWhat It DoesSyntax
andAll conditions must match.{ "and": [<condition>, <condition>] }
orAt least one condition must match.{ "or": [<condition>, <condition>] }
notNone of the conditions can match.{ "not": [<condition>, <condition>] }

Compound operators can be nested. Write all operators in lowercase. See Compound Filters.

Operators by Data Type

Data Typeeqingt, gte, lt, ltecontainsFuzzy
booleanYes
dateYesYesYes
numberYesYesYes
stringYesYesSome data pointsSome data points

The and, or and not operators combine conditions, so they apply to every data type.

The metadata for each data point lists the operators that it supports. Always check it before you use a data point in a filter, because it is the authoritative source. For example, some values that represent dates are stored as strings, and their metadata lists the comparison operators. See Explore Data Points.

Value Formats

ValueFormatExample
TextA JSON string."MSES"
NumberA JSON number, with no quotation marks.4
Booleantrue or false, with no quotation marks.true
DateA string in yyyy-MM-dd format."2024-03-31"
ListA JSON array of values of one type, with at least one value.["MSES", "CA40"]