Get live engagement metrics for cached tweets including likes, retweets, views, and reply counts
cURL
curl --request GET \ --url https://api.example.com/styles/{id}/performance \ --header 'x-api-key: <x-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.", "bookmarkCount": 2340, "likeCount": 15420, "quoteCount": 1280, "replyCount": 890, "retweetCount": 3210, "viewCount": 1250000 } ] }
{ "error": "unauthenticated", "message": "Missing or invalid API key" }
no_subscription
subscription_inactive
insufficient_credits
{ "error": "no_subscription", "message": "No active subscription" }
{ "error": "style_not_found", "message": "No cached style found for this username" }
Was this page helpful?