29-10-2026: Range Filters Accept Equal Min and Max
Affected endpoints: every endpoint that takes a numeric or integer range filter ({"min": ..., "max": ...}), such as filters.nof_traders on the token screener
A range filter with min equal to max is now valid. Both bounds are inclusive, so {"min": 1, "max": 1} matches the value 1 exactly. For example, a token screener request with "nof_traders": {"min": 1, "max": 1} returns tokens with exactly one trader.
Previously these requests returned HTTP 422 with max must be greater than min.
What changes in responses
A request with
minequal tomaxnow returns data instead of HTTP 422.A request with
maxbelowminstill returns HTTP 422. The message is nowmax must be greater than or equal to min.Requests with only
min, onlymax, orminbelowmaxare unchanged.
Action required: none. If you worked around the error with a range such as {"min": 1, "max": 2}, you can now send {"min": 1, "max": 1}.
Last updated
Was this helpful?