Stocks Social Sentiment

API Endpoint: https://sennetai.com/api/stocks/social-sentiment/{stock_symbol}/

To get the social sentiment for a stock symbol you need to make a GET request.

Curl Example

curl https://sennetai.com/api/stocks/social-sentiment/AMZN/ -H 'Authorization:Token __your_api_token__'

curl https://sennetai.com/api/stocks/social-sentiment/AMZN/ -H 'Authorization:Token FqWduKf7LZrhv8m28Ixd4IppRQLy4YQ0'

Response

This endpoint reponse may vary based on your plan. Check your plan features here
{
 "weekly_volume": [87, 163, 510, 221, 301, 317, 30, 64, 121, 221],
 "weekly_scaled_volume": [17.06, 31.96, 100.0, 43.33, 59.02, 62.16, 5.88, 12.55, 23.73, 43.33],
 "weekly_sentiment": [
   {"neg": 10, "neu": 21, "pos": 51}, {"neg": 11, "neu": 35, "pos": 33}, 
   {"neg": 17, "neu": 47, "pos": 38}, {"neg": 8, "neu": 42, "pos": 58}, 
   {"neg": 6, "neu": 52, "pos": 72}, {"neg": 5, "neu": 25, "pos": 42}, 
   {"neg": 9, "neu": 11, "pos": 10}, {"neg": 7, "neu": 23, "pos": 34}, 
   {"neg": 14, "neu": 23, "pos": 51}, {"neg": 22, "neu": 28, "pos": 56}
 ],
 "weekly_sentiment_percentage": [
   {"neg": 12, "neu": 26, "pos": 62}, {"neg": 14, "neu": 44, "pos": 42}, 
   {"neg": 17, "neu": 46, "pos": 37}, {"neg": 7, "neu": 39, "pos": 54}, 
   {"neg": 5, "neu": 40, "pos": 55}, {"neg": 7, "neu": 35, "pos": 58},
   {"neg": 30, "neu": 37, "pos": 33}, {"neg": 11, "neu": 36, "pos": 53}, 
   {"neg": 16, "neu": 26, "pos": 58}, {"neg": 21, "neu": 26, "pos": 53}
 ]
}