Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

Skip to main content
GET
/
styles
/
compare
Compare styles
curl --request GET \
  --url https://xquik.com/api/v1/styles/compare \
  --header 'x-api-key: <api-key>'
import requests

url = "https://xquik.com/api/v1/styles/compare"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://xquik.com/api/v1/styles/compare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://xquik.com/api/v1/styles/compare"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
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
const params = new URLSearchParams({ username1: "elonmusk", username2: "sama" });
const response = await fetch(`https://xquik.com/api/v1/styles/compare?${params}`, {
  method: "GET",
  headers: {
    "x-api-key": "xq_YOUR_KEY_HERE",
  },
});
const data = await response.json();
import requests

response = requests.get(
    "https://xquik.com/api/v1/styles/compare",
    params={"username1": "elonmusk", "username2": "sama"},
    headers={"x-api-key": "xq_YOUR_KEY_HERE"},
)
data = response.json()
package main

import (
    "encoding/json"
    "fmt"
    "net/http"
    "net/url"
)

func main() {
    baseURL := "https://xquik.com/api/v1/styles/compare"
    params := url.Values{}
    params.Set("username1", "elonmusk")
    params.Set("username2", "sama")

    req, err := http.NewRequest("GET", baseURL+"?"+params.Encode(), nil)
    if err != nil {
        panic(err)
    }
    req.Header.Set("x-api-key", "xq_YOUR_KEY_HERE")

    resp, err := http.DefaultClient.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    var data map[string]interface{}
    if err := json.NewDecoder(resp.Body).Decode(&data); err != nil {
        panic(err)
    }
    fmt.Println(data)
}

Query parameters

string
required
First X username to compare. Must have been analyzed with Analyze & Cache Style first.
string
required
Second X username to compare. Must have been analyzed with Analyze & Cache Style first.

Headers

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

Response

  • 200 OK
  • 400 Missing Parameters
  • 401 Unauthenticated
  • 404 Not Found
  • 429 Rate Limited
object
First user’s full cached style detail.
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.
Last modified on May 5, 2026
Morty Proxy This is a proxified and sanitized view of the page, visit original site.