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

Santiment Team

Returns the share of the social dominance a given project has over time in a given social channel.

Arguments description:

Run in explorer

{
  socialDominance(from: "2019-05-09T11:25:04.894Z", to: "2019-06-23T11:25:04.894Z", slug: "ethereum", interval: "1d", source: ALL) {
    datetime
    dominance
  }
}

Run in terminal

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