API of Social Metric ‘Trending Words’ | Santiment Knowledge Base

Santiment Team

This query returns a list of Trending Words and their corresponding trend score. The trend score is calculated based on the current frequency of use of each word compared to the usual frequency of use (simplified).

Arguments description:

Run in explorer

{
  trendingWords(from: "2019-05-10T00:00:00.000Z", hour: 13, size: 15, source: ALL, to: "2019-06-23T00:00:00.000Z") {
    datetime
    topWords {
      score
      word
    }
  }
}

Run in terminal

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "query": "query{trendingWords(from:\"2019-05-10T00:00:00.000Z\",hour:13,size:15,slug:\"ethereum\",to:\"2019-06-23T00:00:00.000Z\"){datetime, topWords {score,word}}}" }' \
  https://api.santiment.net/graphql