Price Metrics
Definition
The following metrics are provided:
- Price in USD
- Price in USDT
- Price in BTC
- Open-High-Close-Low Price in USD
Access
Measuring Unit
Amount in dollars/usdt/bitcoins
Data Type
Change Metrics
Frequency
Latency
Available Assets
Available assets for price_usd
Available assets for price_btc
Available assets for price_usdt
SanAPI
Price USD
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "price_usd") { timeseriesData( slug: "ethereum" from: "2020-04-01T00:00:00Z" to: "2020-04-07T00:00:00Z" interval: "1d" ) { datetime value } } }
Price BTC
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "price_btc") { timeseriesData( slug: "ethereum" from: "2020-04-01T00:00:00Z" to: "2020-04-07T00:00:00Z" interval: "1d" ) { datetime value } } }
Price USDT
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "price_usdt") { timeseriesData( slug: "ethereum" from: "2020-04-01T00:00:00Z" to: "2020-04-07T00:00:00Z" interval: "1d" ) { datetime value } } }
OHLC
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ getMetric(metric: "price_usd") { timeseriesData( slug: "ethereum" from: "2020-04-01T00:00:00Z" to: "2020-04-07T00:00:00Z" interval: "1d" aggregation: OHLC) { datetime valueOhlc { open high close low } } } }