List crypto screener metrics and valid options
curl --request GET \
--url https://api.darvas.app/v1/crypto/screener/metrics \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/screener/metrics"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/screener/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"total_metrics": 77,
"market_types": [
"spot",
"swap",
"futures"
],
"timeframes": [
"5m",
"15m",
"1H",
"4H",
"1D"
],
"universes": [
"all",
"altcoins"
],
"combine_modes": [
"AND",
"OR"
],
"operators": [
"lt",
"lte",
"gt",
"gte",
"eq",
"between",
"outside",
"crosses_above",
"crosses_below"
],
"categories": [
"ratings",
"market",
"performance",
"derivatives",
"momentum",
"trend",
"volatility",
"volume"
],
"metrics": [
{
"id": "rsi14",
"category": "momentum",
"label": "RSI (14)",
"derivatives_only": false,
"decimals": 2,
"compact": false,
"percent": false,
"rating": false
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Crypto Screener
Crypto Screener 77 Metric IDs & Operators API
List all 77 crypto screener metric IDs, categories, timeframes, universes and filter operators accepted by the Crypto Screener API in one call.
List crypto screener metrics and valid options
curl --request GET \
--url https://api.darvas.app/v1/crypto/screener/metrics \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/screener/metrics"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/screener/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"total_metrics": 77,
"market_types": [
"spot",
"swap",
"futures"
],
"timeframes": [
"5m",
"15m",
"1H",
"4H",
"1D"
],
"universes": [
"all",
"altcoins"
],
"combine_modes": [
"AND",
"OR"
],
"operators": [
"lt",
"lte",
"gt",
"gte",
"eq",
"between",
"outside",
"crosses_above",
"crosses_below"
],
"categories": [
"ratings",
"market",
"performance",
"derivatives",
"momentum",
"trend",
"volatility",
"volume"
],
"metrics": [
{
"id": "rsi14",
"category": "momentum",
"label": "RSI (14)",
"derivatives_only": false,
"decimals": 2,
"compact": false,
"percent": false,
"rating": false
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
This lookup endpoint lists everythingPOST /crypto/screener accepts: the 77 metric IDs with their category and display hints, and the valid operators, timeframes, universes, market types and combine modes. It takes no parameters, so an agent can call it once and build valid conditions from the answer.
| Coverage | Details |
|---|---|
| Metrics | 77 IDs in ratings, market, performance, derivatives, momentum, trend, volatility and volume |
| Operators | lt, lte, gt, gte and eq; the ranges between and outside; the crossovers crosses_above and crosses_below |
| Timeframes | 5m, 15m, 1H, 4H and 1D |
| Market types and universes | spot, swap and futures; all and altcoins |
| Combine modes | AND and OR |
| MCP tool | list_crypto_screener_metrics on the data API MCP server |
Metric fields
Each entry inmetrics carries:
id: the metric ID to pass asmetric,right_metricorsort.metric.categoryandlabel: its group and a readable name, such asRSI (14).derivatives_only:truefor thederivativescategory, whose values exist only for swaps and futures.decimals: a suggested display precision, ornullfor price-scaled values such as moving averages.compact:truewhen the value usually displays with magnitude suffixes, such as open interest or volume.percent:truewhen the value is a percentage, such as2.5for 2.5%, likeatrPctordistEma200Pct.rating:truefor the composite ratings, which run from-1(strong sell) to1(strong buy).
Metric IDs by category
| Category | Metric IDs |
|---|---|
ratings | technicalRating, oscillatorRating, trendRating |
market | price, change24h, volume24h, high24h, low24h, range24h, priceChange1 |
performance | performance1h, performance4h, performance7d, performance30d |
derivatives | openInterestUsd, openInterestChange1h, openInterestChange24h, openInterestVolumeRatio24h, fundingRate, accountLongShortRatio, topTraderLongShortRatio, takerBuyRatio1h |
momentum | rsi7, rsi14, rsi21, macd.macd, macd.signal, macd.histogram, stochRsi.k, stochRsi.d, mfi14, cci20, williamsR14 |
trend | adx14.adx, adx14.plusDI, adx14.minusDI, ema9, ema20, ema21, ema50, ema100, ema200, sma20, sma50, sma200, wma20, distEma20Pct, distEma50Pct, distEma200Pct, distVwapPct, supertrend.line, supertrend.direction, parabolicSar, ichimoku.tenkan, ichimoku.kijun, ichimoku.senkouA, ichimoku.senkouB, alphaTrend.line, tillsonT3.line, mavilimW.line |
volatility | atr14, atrPct, bollinger.upper, bollinger.middle, bollinger.lower, bollinger.width, bollinger.percentB, donchian.upper, donchian.basis, donchian.lower |
volume | vwap, obv, volume, relativeVolume, effortResult.effortResult, effortResult.spreadRatio, effortResult.zVol |
/crypto/derivatives/oi-scan.
Examples
import os
from collections import defaultdict
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
catalog = requests.get(
"https://api.darvas.app/v1/crypto/screener/metrics",
headers=headers,
).json()
by_category = defaultdict(list)
for metric in catalog["metrics"]:
by_category[metric["category"]].append(metric["id"])
print("Metrics:", catalog["total_metrics"], "Operators:", catalog["operators"])
for category, ids in by_category.items():
print(category, ids)
spot_safe = [m["id"] for m in catalog["metrics"] if not m["derivatives_only"]]
ratings = [m["id"] for m in catalog["metrics"] if m["rating"]]
print("Usable on spot:", len(spot_safe), "Ratings:", ratings)
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/crypto/screener/metrics"
Authorizations
apiKeybearerKey
Response
List crypto screener metrics and valid options: one page.
The answer of GET /crypto/screener/metrics.
Supported comparison, range, and crossover operators for POST /crypto/screener conditions.
Maximum array length:
10Available options:
lt, lte, gt, gte, eq, between, outside, crosses_above, crosses_below Maximum string length:
13Example:
[
"lt",
"lte",
"gt",
"gte",
"eq",
"between",
"outside",
"crosses_above",
"crosses_below"
]
Metric categories present in the screener discovery catalog.
Maximum array length:
20Available options:
ratings, market, performance, derivatives, momentum, trend, volatility, volume Maximum string length:
20Example:
[
"ratings",
"market",
"performance",
"derivatives",
"momentum",
"trend",
"volatility",
"volume"
]