Call it
curl https://api.peume.com/v1/call/on-chain-indicator \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"symbol": "BTC",
"metric": "nupl",
"granularity": "day",
"exchange": "all_exchange"
}
}'const res = await fetch("https://api.peume.com/v1/call/on-chain-indicator", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"symbol": "BTC",
"metric": "nupl",
"granularity": "day",
"exchange": "all_exchange"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/on-chain-indicator",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"symbol": "BTC",
"metric": "nupl",
"granularity": "day",
"exchange": "all_exchange"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: on-chain-indicator.
Parameters
symbolRequiredstringToken ticker symbol. Can be BTC or ETH. Example: BTC.
BTC · ETH
metricRequiredstringOn-chain metric name. Can be nupl, sopr, mvrv, puell-multiple, nvm, nvt, nvt-golden-cross, or exchange-flows/{inflow,outflow,netflow,reserve}. Example: nupl.
nupl · sopr · mvrv · puell-multiple · nvm · nvt · nvt-golden-cross · exchange-flows/inflow · exchange-flows/outflow · exchange-flows/netflow · exchange-flows/reserve
granularitystringAggregation granularity. Example: day. Defaults to "day".
day
Example: day
fromstringStart of time range. Accepts Unix seconds or date string (YYYY-MM-DD). Defaults to 90 days ago when omitted. Maximum range is 365 days. Responses are capped at about 100 data points; when meta.has_more is true, split from/to into smaller windows (about 90 days for daily data). Example: 2026-01-01.
tostringEnd of time range. Accepts Unix seconds or date string (YYYY-MM-DD). Defaults to today when omitted. Maximum range is 365 days. Responses are capped at about 100 data points; when meta.has_more is true, split from/to into smaller windows (about 90 days for daily data). Example: 2026-03-01.
exchangestringCurated exchange filter for exchange-flow metrics. Use /v1/market/exchange-flow/exchanges to list labels. Example: all_exchange. Defaults to "all_exchange".
all_exchange · spot_exchange · derivative_exchange · coinbase_prime · binance · coinbase_advanced · okx · kraken · bybit · bitstamp · gemini · bitget …
Example: all_exchange
