API of Metric ‘Daily Active Addresses’ | Santiment Knowledge Base

Santiment Team

Fetch daily active addresses for a project within a given time period. Projects are referred to by a unique identifier (slug).

This metric includes the number of unique addresses that participated in the transfers of given token during the day.

Grouping by interval works by taking the mean of all daily active address records in the interval. The default value of the interval is 1 day, which yields the exact number of unique addresses for each day.

Run in explorer

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

Run in terminal

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