Price Metrics

Definition

The following metrics are provided:

  • price_usd - Price in USD, sourced from a 3rd party provider
  • price_usd_5m - The same as price_usd, but the data points are aligned at 5 minute intervals and any gaps are filled with the last known value
  • price_btc - Price in BTC
  • price_usdt - Price in USDT
  • Open-High-Close-Low Price in USD

Access

Free Access


Measuring Unit

Amount in dollars/usdt/bitcoins


Data Type

Timeseries Data


Change Metrics

Change Metrics


Frequency

Five-Minute Intervals


Latency

Price Latency


Available Assets


SanAPI

Price USD

{
getMetric(metric: "price_usd") {
timeseriesDataJson(
slug: "ethereum"
from: "2020-04-01T00:00:00Z"
to: "2020-04-07T00:00:00Z"
interval: "1d"
)
}
}

Average price in USD over five-minute intervals

{
getMetric(metric: "price_usd_5m") {
timeseriesDataJson(
slug: "ethereum"
from: "2020-04-01T00:00:00Z"
to: "2020-04-07T00:00:00Z"
interval: "5m"
)
}
}

Price BTC

{
getMetric(metric: "price_btc") {
timeseriesDataJson(
slug: "ethereum"
from: "2020-04-01T00:00:00Z"
to: "2020-04-07T00:00:00Z"
interval: "1d"
)
}
}

Price USDT

{
getMetric(metric: "price_usdt") {
timeseriesDataJson(
slug: "ethereum"
from: "2020-04-01T00:00:00Z"
to: "2020-04-07T00:00:00Z"
interval: "1d"
)
}
}

OHLC

{
getMetric(metric: "price_usd") {
timeseriesDataJson(
slug: "ethereum"
from: "2020-04-01T00:00:00Z"
to: "2020-04-07T00:00:00Z"
interval: "1d"
aggregation: OHLC)
}
}

Full list of metrics

The full list of Price metrics is:

Open Metrics List
  • price_btc
  • price_eth
  • price_usd
  • price_usd_5m
  • price_usdt
Open Change Metrics List
  • price_btc_change_1d
  • price_btc_change_30d
  • price_btc_change_7d
  • price_eth_change_1d
  • price_eth_change_30d
  • price_eth_change_7d
  • price_usd_change_1d
  • price_usd_change_1h
  • price_usd_change_30d
  • price_usd_change_7d