Pair Metrics Overview
/timeseries/pair-metrics
Coin Metrics calculates several metrics for asset pairs such as btc-usd and eth-usd. For example, the metric volume_reported_spot_usd_1d represents the daily spot volume in U.S. dollars for all markets in our coverage universe that contain the specific pair. Metrics available at the exchange-asset level is available through the /timeseries/pair-metrics API endpoint.

Pair Coverage

The pair coverage can be found by querying our /catalog/pairs or /catalog-all/pairs API endpoints. The pair coverage is defined as the combination (cartesian product) of all the top assets (approximately the top 300 assets by market capitalization).

Metrics Coverage

The metrics categories listed below are available at the pair level:

Endpoint Response

The /timeseries/pair-metrics endpoint returns time series data for each pair and metric requested. The response is formatted as follows:
Field
Description
pair
Pair name.
time
The time in ISO 8601 date-time format. Always with nanoseconds precision.
{metric}
Metric value for the specific pair and timestamp.
A sample of the pair metrics data in json format is also provided below.
1
{
2
"data": [
3
{
4
"pair": "btc-usd",
5
"time": "2020-09-28T00:00:00.000000000Z",
6
"volume_reported_spot_usd_1d": "317000178.776577"
7
},
8
{
9
"pair": "btc-usd",
10
"time": "2020-09-29T00:00:00.000000000Z",
11
"volume_reported_spot_usd_1d": "246153685.485477"
12
},
13
{
14
"pair": "btc-usd",
15
"time": "2020-09-30T00:00:00.000000000Z",
16
"volume_reported_spot_usd_1d": "217972373.240482"
17
},
18
{
19
"pair": "btc-usd",
20
"time": "2020-10-01T00:00:00.000000000Z",
21
"volume_reported_spot_usd_1d": "492203699.871197"
22
}
23
]
24
}
Copied!
Last modified 2mo ago