API of Social Metric ‘Top Social Gainers / Losers’ | Santiment Knowledge Base

Santiment Team

This returns the projects that have gained or lost the most Social Volume over the given time window.

Arguments description:

Run in explorer

{
  topSocialGainersLosers(from: "2019-05-09T11:25:04.894Z", to: "2019-06-23T11:25:04.894Z", size: 5, status: ALL, timeWindow: "2d") {
    datetime
    projects {
      slug
      status
      change
    }
  }
}

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{topSocialGainersLosers(from:\"2019-05-10T00:00:00.000Z\",size:5,status:ALL,timeWindow:\"2d\",to:\"2019-06-23T00:00:00.000Z\"){datetime, projects{slug,status,change}}}" }' \
  https://api.santiment.net/graphql