Styles
Get cached tweet style samples with the Xquik API
Retrieve cached tweet writing samples for one X username or custom style label. Read tweet text, authors, timestamps, sample count, and ownership status.
- 200
- 401
- 404
- 429
GET
Get cached tweet style samples with the Xquik API
Free - does not consume credits
Retrieve one cached tweet writing profile
Call this endpoint to retrieve stored tweet samples for one writing profile. The request reads Xquik’s existing cache. It does not contact X or refresh tweets. Use an analyzed X username or a saved custom label as{id}. Xquik lowercases
the path value before lookup. The route does not accept a numeric database ID.
The lookup stays inside the authenticated Xquik account. Another customer can
cache the same username without exposing their tweet style profile to you.
Choose the correct tweet style key
The{id} name comes from the shared API path contract. The GET handler uses
it as a profile key, not a numeric record ID.
Encode spaces and punctuation in custom labels. Do not include
@ before an X
username. Preserve the response’s xUsername value for later requests.
Read the cached tweet style response
The response contains stored tweet text and profile metadata. It does not return a generated tone summary, vocabulary list, hook score, or sentiment classification.tweetCount describes the cached writing sample. It is not the X profile’s
lifetime post count.
fetchedAt has two meanings. An analyzed profile records its last X fetch.
A custom profile records when Xquik saved its supplied tweet examples.
isOwnAccount is a stored snapshot. This GET request does not recompute it
after an X identity change. Set the X
identity before creating or refreshing an analyzed profile.
Parse every tweet writing sample
Eachtweets[] entry follows the public style profile contract:
Treat
id as a string. X Tweet IDs can exceed JavaScript’s safe integer
range. Do not cast them to number.
Custom profiles generate local sample IDs. Do not use those IDs with X tweet
lookup, reply, like, repost, or media endpoints.
Separate tweet style from Twitter analytics
This route retrieves writing samples. It does not fetch likes, replies, reposts, quotes, bookmarks, views, followers, or impressions. Use Analyze Performance when you need live engagement metrics for the cached tweets. Keep writing-style review separate from Twitter analytics for another account.Review a saved tweet style
- Call List Styles with the same credential.
- Select one returned
xUsernameprofile key. - URL-encode that value and call this endpoint.
- Store
xUsername,fetchedAt, andtweetCountwith the samples. - Review every
tweets[].textvalue before composition. - Refresh the profile through Analyze only when required.
Handle tweet style retrieval errors
The canonical contract documents no
402 response for this cache read. A
missing balance does not block retrieval of an existing style profile.
Path parameters
string
required
Lowercase X username or saved custom style label. Xquik lowercases this
value before an account-scoped lookup. It is not a numeric database ID.
Headers
Sendx-api-key with an Xquik API key. OAuth clients can send a bearer token
through the Authorization header instead.
Response
200 OK
string
Lowercase X username or custom style label.
number
Number of stored tweet writing samples.
boolean
Stored ownership classification for this profile.
string
ISO 8601 cache fetch or custom-save timestamp.
object[]
Stored tweet writing samples.
401 Unauthenticated
404 Style not found
429 Rate limited
Retry-After, then retry once.
How do I retrieve a cached tweet writing style?
List styles, copy onexUsername, then send it as {id}. This endpoint
returns the saved tweet text without refreshing the X profile.
Can I retrieve another account’s Twitter writing style?
Yes, after your Xquik account analyzes that public username. You cannot read a style profile cached by another Xquik customer.Does get style return Twitter analytics?
No. It returns tweet writing samples and cache metadata. Use Analyze Performance for current likes, replies, reposts, and views.Why does get style return 404?
The credential cannot access a matching lowercase username or label. Call List Styles, check the exact key, then analyze or save the profile.Related. List Styles inventories profile
keys. Delete Style removes a cached profile.
- 200
- 401
- 404
- 429
Get cached tweet style samples with the Xquik API