cURL
curl --request POST \ --url https://api.twitterxapi.com/twitter/tweets/sentiment \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "<string>" }'
{ "code": 123, "msg": "<string>", "data": { "tone": "<string>", "sentiment": "<string>" } }
Sentiment Analysis, 50 credits per call.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A sentiment object.
The response is of type object.
object