Definition

The following metrics are provided:

  • Price in USD
  • Price in USD
  • Volume in USD
  • Marketcap in USD
  • Open-High-Close-Low Price in USD

Access

Free Access


Measuring Unit

Amount in dollars/bitcoins


Data Type

Timeseries Data


Frequency

Five-Minute Intervals


Latency

Price Latency


Available Assets

Available for these assets

Note: All metrics are available for the same set of assets


SanAPI

Price USD

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  getMetric(metric: "price_usd") {
    timeseriesData(
      slug: "santiment"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d"
    ) {
      datetime
      value
    }
  }
}

Run in Explorer

Price BTC

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  getMetric(metric: "price_btc") {
    timeseriesData(
      slug: "santiment"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d"
    ) {
      datetime
      value
    }
  }
}

Run in Explorer

Volume USD

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  getMetric(metric: "volume_usd") {
    timeseriesData(
      slug: "santiment"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d"
    ) {
      datetime
      value
    }
  }
}

Run in Explorer

Marketcap USD

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  getMetric(metric: "marketcap_usd") {
    timeseriesData(
      slug: "santiment"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d"
    ) {
      datetime
      value
    }
  }
}

Run in Explorer

OHLC

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  ohlc(
    slug: "santiment"
    from: "2020-04-01T00:00:00Z"
    to: "2020-04-07T00:00:00Z"
    interval: "1d"
  ) {
    openPriceUsd
    highPriceUsd
    lowPriceUsd
    closePriceUsd
  }
}

Run in Explorer

Was this article helpful?