API of Metric ‘NVT Ratio’ | Santiment Knowledge Base

Santiment Team

Returns the NVT (Network-Value-to-Transactions) Ratio at each interval over a given time period. Projects are referred to by a unique identifier (slug).

NVT Ratio can be applied to crypto in multiple ways. This implementation takes the market cap of an asset as the network value and either the Token Circulation or the Transaction Volume as a measurement of Transactions, hence two returns.

Run in explorer

{
  nvtRatio(from: "2019-05-10T00:00:00.000Z", interval: "1d", slug: "ethereum", to: "2019-06-23T00:00:00.000Z") {
    datetime
    nvtRatioCirculation
    nvtRatioTxVolume
  }
}

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{nvtRatio(from:\"2019-05-10T00:00:00.000Z\",interval:\"1d\",slug:\"ethereum\",to:\"2019-06-23T00:00:00.000Z\"){datetime, nvtRatioCirculation, nvtRatioTxVolume}}" }' \
  https://api.santiment.net/graphql