Crypto Trends

API Endpoint: https://sennetai.com/api/crypto/trends/{coin_symbol}/

To get the search trends from a cryptocurrency you need to make a GET request.

Curl Example

curl https://sennetai.com/api/crypto/trends/BTC/ -H 'Authorization:Token __your_api_token__'

curl https://sennetai.com/api/crypto/trends/BTC/ -H 'Authorization:Token FqWduKf7LZrhv8m28Ixd4IppRQLy4YQ0'

Response

{
 'historic_interest': {
  'last_month': '{"Bitcoin":{"1613174400000":24 ,"1613260800000":21 ...}}', 
  'last_week': '{"Bitcoin":{"1614556800000":79, "1614643200000":74 ...}}', 
  'last_year': '{"Bitcoin":{"1584230400000":80, "1584835200000":64 ...}}'
 }, 
 'interest_by_region': {
  'interest_by_region': '{"Bitcoin":{"Afghanistan":0, ... "Zimbabwe":0}}', 
  'top_regions': '{"Bitcoin":{"United States":100,"Nigeria":92,...}}'
 }, 
 'related': {
   'rising': {
	  'query': {'0': 'bitcoin usd', '1': 'binance' ...}, 
	  'value': {'0': 137400, '1': 76300, ...}}, 
   'top': {
	  'query': {'0': 'bitcoin usd', '1': 'bitcoin price' ...}, 
	  'value': {'0': 100, '1': 28, ...}}
   }
}