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

Arguments description:

  • slug - a string uniquely identifying a project; to find a list of all slugs, please check the end of this article
  • interval - an integer followed by one of: m, h, d, w
  • from - a string representation of datetime value according to the iso8601 standard, e.g. "2018-04-16T10:02:19Z"
  • to - a string representation of datetime value according to the iso8601 standard, e.g. "2018-04-16T10:02:19Z"
  • socialVolumeType - the source of mention counts, one of the following:
    - "PROFESSIONAL_TRADERS_CHAT_OVERVIEW" - shows how many times the given project has been mentioned in the professional traders chat
    - "TELEGRAM_CHATS_OVERVIEW" - shows how many times the given project has been mentioned across all telegram chats, except the project's own community chat (if there is one)
    - "TELEGRAM_DISCUSSION_OVERVIEW" - the general volume of messages in the project's community chat (if there is one)
    - "DISCORD_DISCUSSION_OVERVIEW" - shows how many times the given project has been mentioned in the discord channels

Run in explorer

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

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{socialVolume(from:\"2018-12-12T09:45:27.283Z\",interval:\"1d\",slug:\"dragonchain\",socialVolumeType:TELEGRAM_DISCUSSION_OVERVIEW,to:\"2019-01-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
Did this answer your question?