API of Social Metric ‘Social Volume’ | Santiment Knowledge Base

Santiment Team

Returns a list of mentions count for a given project and time interval.

Arguments description:

Run in explorer

{
  socialVolume(from: "2019-05-12T09:45:27.283Z", interval: "1d", slug: "dragonchain", socialVolumeType: TELEGRAM_DISCUSSION_OVERVIEW, to: "2019-06-11T09:45:30.487013Z") {
    datetime
    mentionsCount
  }
}

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{socialVolume(from:\"2019-05-12T09:45:27.283Z\",interval:\"1d\",slug:\"dragonchain\",socialVolumeType:TELEGRAM_DISCUSSION_OVERVIEW,to:\"2019-06-11T09:45:30.487013Z\"){datetime,mentionsCount}}" }' \
  https://api.santiment.net/graphql

To find all currently available slugs for Social Volume, you can use the following command:

Social Volume Projects

Returns a list of slugs for which there is social volume data.

Run in explorer

{
  socialVolumeProjects
}

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{socialVolumeProjects}" }' \
  https://api.santiment.net/graphql