Skip to main content
GET
https://xquik.com/api/v1
/
styles
/
compare
Compare Styles
curl --request GET \
  --url https://xquik.com/api/v1/styles/compare \
  --header 'x-api-key: <api-key>'
This endpoint does not count against your monthly usage quota.
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 cached style summary including xUsername, tweetCount, and fetchedAt.
style2
object
Second user’s cached style summary including xUsername, tweetCount, and fetchedAt.
{
  "style1": {
    "xUsername": "elonmusk",
    "tweetCount": 20,
    "fetchedAt": "2026-02-24T10:30:00.000Z"
  },
  "style2": {
    "xUsername": "sama",
    "tweetCount": 18,
    "fetchedAt": "2026-02-25T14: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.