Endpoint: metrics/chains/{origin_key}/{metric_id}.json
Reference for the growthepie per-chain metric detail endpoint.
metrics/chains/{origin_key}/{metric_id}.json returns a rich per-chain metric payload. This endpoint is the best choice when you need more than raw daily rows, such as rolling windows, weekly and monthly series, summary values, percentage changes, or optional hourly data.
Request
GET https://api.growthepie.com/v1/metrics/chains/{origin_key}/{metric_id}.jsonExample:
GET https://api.growthepie.com/v1/metrics/chains/arbitrum/txcount.jsonKey Response Sections
last_updated_utcdetails.metric_iddetails.metric_namedetails.timeseriesdetails.changesdetails.summary
Example Response
{
"last_updated_utc": "2026-03-27 07:15:02",
"details": {
"metric_id": "txcount",
"metric_name": "Transaction Count",
"timeseries": {
"daily": {
"types": ["unix", "value"]
},
"hourly": {
"types": ["unix", "value"]
}
},
"changes": {
"daily": {},
"hourly": {}
},
"summary": {
"last_1d": {
"types": ["value"],
"data": [2525170.0]
}
}
}
}Time Granularity Behavior
dailyis the base time seriesweekly,monthly, andquarterlyare available in richer metric payloadshourlyis present only for metrics wheremaster.json.metrics.{metric_id}.hourly_availableistrue
When To Use metric detail
You need daily plus higher-level rollups in one response
You need summary fields such as
last_1d,last_7d, orlast_30dYou are building a charting or analytics UI that mirrors the growthepie metric experience
Caveats
This endpoint uses
metric_idin the path, not rawmetric_key.Time-series rows in this endpoint typically use
unixtimestamps instead ofdatestrings.
Related Pages
Last updated
