This endpoint consumes usage credits.
curl -X POST https://xquik.com/api/v1/styles \
-H "x-api-key: xq_YOUR_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"username": "elonmusk"
}' | jq
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Must be application/json.
Body
X username to analyze. 1-15 characters, alphanumeric and underscores only. The @ prefix is automatically stripped if included.
Response
Normalized X username (lowercase, no @ prefix).
Number of tweets fetched and cached.
true if the user has set their
X identity to this account.
ISO 8601 timestamp when tweets were fetched from X.
{
"xUsername": "elonmusk",
"tweetCount": 20,
"isOwnAccount": false,
"fetchedAt": "2026-02-24T10:30:00.000Z",
"tweets": [
{
"id": "1893456789012345678",
"text": "The future is now.",
"authorUsername": "elonmusk",
"createdAt": "2026-02-24T14:22:00.000Z"
}
]
}
{ "error": "invalid_input" }
Invalid or missing username. Provide a valid X username without the @ prefix.{ "error": "unauthenticated" }
Missing or invalid API key.{ "error": "no_subscription" }
No active subscription. Subscribe from the dashboard.{ "error": "rate_limited" }
Too many requests. Wait before retrying.
If a cached style already exists for this username, it will be replaced with fresh data.