Skip to main content
GET
/
styles
/
compare
Compare styles
curl --request GET \
  --url https://xquik.com/api/v1/styles/compare \
  --header 'x-api-key: <x-api-key>'
Free — does not consume credits
curl -G https://xquik.com/api/v1/styles/compare \
  -d "username1=elonmusk" \
  -d "username2=sama" \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

Query parameters

username1
string
required
First X username to compare. Must have been analyzed with Analyze & Cache Style first.
username2
string
required
Second X username to compare. Must have been analyzed 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

style1
object
First user’s full cached style detail.
style2
object
Second user’s full cached style detail. Same shape as style1.
{
  "style1": {
    "xUsername": "elonmusk",
    "tweetCount": 20,
    "fetchedAt": "2026-02-24T10:30:00.000Z",
    "isOwnAccount": false,
    "tweets": [
      {
        "id": "1893456789012345678",
        "text": "The future is now.",
        "authorUsername": "elonmusk",
        "createdAt": "2026-02-24T09:00:00.000Z"
      }
    ]
  },
  "style2": {
    "xUsername": "sama",
    "tweetCount": 18,
    "fetchedAt": "2026-02-25T14:00:00.000Z",
    "isOwnAccount": false,
    "tweets": [
      {
        "id": "1893456789012345999",
        "text": "Intelligence is not zero-sum.",
        "authorUsername": "sama",
        "createdAt": "2026-02-25T12:00:00.000Z"
      }
    ]
  }
}
Related: Analyze & Cache Style to cache a style before comparing, Get Style to view full tweet data for either account, or Analyze Performance to fetch engagement metrics.