Get live engagement metrics for cached tweets
cURL
curl --request GET \ --url https://xquik.com/api/v1/styles/{username}/performance \ --header 'x-api-key: <api-key>'
curl -X GET https://xquik.com/api/v1/styles/elonmusk/performance \ -H "x-api-key: xq_YOUR_KEY_HERE" | jq
@
Show tweet object
{ "xUsername": "elonmusk", "tweetCount": 20, "tweets": [ { "id": "1893456789012345678", "text": "The future is now.", "likeCount": 15420, "retweetCount": 3210, "replyCount": 890, "viewCount": 1250000 } ] }
{ "error": "unauthenticated" }
{ "error": "no_subscription" }
{ "error": "style_not_found" }
Was this page helpful?