Response:
- 200 Response will have the JSON structure as below:
{ “last_update”: < value ‘0’ will return current data >, “data”: {
“leaders” : [ {“nameid”: < >, “sentiment” : < 1 to 10 sentiment score >, “ticker” : < >, name :}, …]
“laggers” : [ { “nameid”: < >, “sentiment”: < 1 to 10 sentiment score >, “ticker” : < > “name” : }, … ] }
- 400 {“error”:”Invalid params”}
- 401 {“error”:”Invalid Auth key.”}
- 500 {“error”:”Something went wrong. Please try again later.”}