Metric Discovery
Discover exact on-chain metric IDs, fields, and asset availability through the status endpoint.
text
GET /api/v1/onchain/status?chain={asset_id}
GET /api/v1/onchain/all?chain={asset_id}Both paths return the same discovery shape and require a Pro key with on-chain permission.
curl -H "x-api-key: YOUR_API_KEY" \
"https://chartinspect.com/api/v1/onchain/status?chain=bitcoin"#Response
json
{
"success": true,
"chain": "bitcoin",
"totalMetrics": 294,
"availableChains": ["bitcoin", "ethereum", "solana", "xrp", "cardano"],
"metrics": [
{
"metric": "mvrv-z-score",
"fields": ["date", "btc_price", "mvrv_z_score"],
"file": "mvrv-z-score.json"
}
],
"timestamp": "2026-08-26T12:00:00.000Z"
}The response above is abbreviated. V1 is additive: the production endpoint IDs remain present with their captured field contracts, and newly shipped manifest-backed metrics appear alongside them.
#Rules
- Pass an
idreturned by/api/v1/chainsaschain. - Use the returned
metricID verbatim in the data URL. - Treat the returned
fieldsas the wire contract for that asset and metric. - Do not use partial names. Unknown metrics return
404with valid choices. - Check Data Resolutions separately, because discovery IDs are not a promise that every resolution exists.
There is no query-parameter version switch. Breaking changes require a future versioned path; additions ship directly on V1.
Was this page helpful?