Skip to main content
GET https://xquik.com/api/v1/styles
Free. This endpoint does not consume credits.

List cached Twitter writing styles

Call this endpoint to list the writing-style profiles in one Xquik account. Each item summarizes one cached X (Twitter) username or custom label. The list does not include tweet text, tone analysis, vocabulary, or engagement metrics. An empty response is valid.
An empty styles array means this Xquik account has no cached profiles. Use Analyze & Cache Style to create one.

Read each writing style summary

Do not interpret tweetCount as the X profile’s lifetime tweet total. It only counts the tweet samples stored for this writing-style profile. fetchedAt records the cache fetch time. It is not a tweet publication time, profile update time, or writing-style creation timestamp.

Choose the next style request

Use the summary fields to choose the next endpoint.The response pages by cursor. When hasMore is true, pass nextCursor as cursor for the next page. Do not invent page or total fields.

Handle list style errors

Does list styles return the analyzed tweets?

No. This endpoint returns summaries only. Use Get Style to retrieve the stored tweet samples for one username.

Why is the Twitter writing style list empty?

The authenticated Xquik account has no cached profiles. Analyze an X (Twitter) username first. Then call this endpoint again with the same Xquik credentials.

Headers

Query parameters

Response

200 OK

400 Invalid cursor

{ "error": "invalid_input", "message": "Cursor invalid. Use nextCursor from the previous page, or omit it to start over." } The cursor is not one this list returned. Send the nextCursor of the previous page, or omit it.

401 Unauthenticated

{ "error": "unauthenticated", "message": "Missing or invalid API key" } Missing or invalid API key.

429 Rate limited

{ "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 1 } Too many requests. Wait for the Retry-After header before retrying.
Related.

Response examples

  • 400 { "error": "invalid_input", "message": "Invalid input. Check the request body." }
  • 401 { "error": "unauthenticated", "message": "Authentication required. Provide a valid API key or bearer token." }
  • 403 { "error": "api_key_paused", "message": "This API key is paused. Resume it at dashboard.xquik.com/api-keys to use it again." }
  • 429 { "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }