Skip to main content
GET
https://xquik.com/api/v1
/
styles
/
{username}
/
performance
Analyze Performance
curl --request GET \
  --url https://xquik.com/api/v1/styles/{username}/performance \
  --header 'x-api-key: <api-key>'
This endpoint consumes usage credits.
curl -X GET https://xquik.com/api/v1/styles/elonmusk/performance \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

Path Parameters

username
string
required
X username whose cached tweets to analyze. Must have been cached with Analyze & Cache Style first.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.

Response

xUsername
string
Normalized X username (lowercase, no @ prefix).
tweetCount
number
Number of tweets with engagement data.
tweets
object[]
Array of tweets with engagement metrics.
{
  "xUsername": "elonmusk",
  "tweetCount": 20,
  "tweets": [
    {
      "id": "1893456789012345678",
      "text": "The future is now.",
      "likeCount": 15420,
      "retweetCount": 3210,
      "replyCount": 890,
      "viewCount": 1250000
    }
  ]
}
Engagement metrics are fetched live from X at request time. Results may vary between calls as tweets gain interactions.
Related: Analyze & Cache Style to cache tweets before fetching metrics, Get Style to view the cached tweet text, or Compare Styles to compare two accounts.