On-Chain Indicator
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/onchain-indicatorimport requests
url = "https://api.asksurf.ai/gateway/v1/market/onchain-indicator"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/onchain-indicator', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"timestamp": 123,
"value": 123,
"metric": "<string>",
"symbol": "<string>"
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseMarketMetricPoint.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Market
On-Chain Indicator
GET
/
gateway
/
v1
/
market
/
onchain-indicator
On-Chain Indicator
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/onchain-indicatorimport requests
url = "https://api.asksurf.ai/gateway/v1/market/onchain-indicator"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/onchain-indicator', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"timestamp": 123,
"value": 123,
"metric": "<string>",
"symbol": "<string>"
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseMarketMetricPoint.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Query Parameters
On-chain metric name. Can be nupl, sopr, mvrv, puell-multiple, nvm, nvt, nvt-golden-cross, or exchange-flows/{inflow,outflow,netflow,reserve}.
Available options:
nupl, sopr, mvrv, puell-multiple, nvm, nvt, nvt-golden-cross, exchange-flows/inflow, exchange-flows/outflow, exchange-flows/netflow, exchange-flows/reserve Example:
"nupl"
Exchange filter (only applies to exchange-flow metrics). Can be all_exchange, spot_exchange, derivative_exchange, binance, bybit, kraken, or okx.
Available options:
all_exchange, spot_exchange, derivative_exchange, binance, bybit, kraken, okx Example:
"all_exchange"