API of Metric ‘MVRV Ratio’ | Santiment Knowledge Base

Santiment Team

Fetch the MVRV ratio for a project, grouped by interval. Projects are referred to by a unique identifier (slug).

To find a more in-depth explanation about Realized Value and the MVRV ratio metric in general, please check this article.

This metric is calculated daily, so the interval should represent whole days.

Grouping by interval works by taking the mean of all daily results the interval.

Run in explorer

{
  mvrvRatio(from: "2019-05-09T11:25:04.894Z", interval: "1d", slug: "maker", to: "2019-06-23T11:25:04.894Z") {
    ratio
    datetime
  }
}

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{mvrvRatio(from:\"2019-05-09T11:25:04.894Z\",interval:\"1d\",slug:\"maker\",to:\"2019-06-23T11:25:04.894Z\"){ratio,datetime}}" }' \
  https://api.santiment.net/graphql