Documentation Index Fetch the complete documentation index at: https://docs.xquik.com/llms.txt
Use this file to discover all available pages before exploring further.
Requested result counts are upper bounds for paid authenticated calls. When remaining credits cannot cover the full page or ID list, Xquik returns fewer results. If zero paid results are affordable, it returns 402 insufficient_credits.
1 credit per result returned · All plans from $0.00012/credit · Accepts MPP
curl https://xquik.com/api/v1/x/users/44196397/media \
-H "x-api-key: xq_YOUR_KEY_HERE" | jq
# Page 2
curl -G https://xquik.com/api/v1/x/users/44196397/media \
--data-urlencode "cursor=abc123" \
-H "x-api-key: xq_YOUR_KEY_HERE" | jq
Use GET /x/users/{id}/media when a gallery, moderation queue, warehouse, or
agent needs recent media tweets from one account. The examples above write JSON
Lines rows with the source user, media tweet ID, text, tweet URL, author ID,
username, display name, follower count, verified state, profile image URL,
engagement counts, media_urls, media_types, and cursor fields so a worker
can resume from the last saved next_cursor.
Path parameters
X user ID (numeric string) or username.
Query parameters
Pagination cursor. Pass the next_cursor value from the previous response to fetch the next page.
These optional filters apply to tweets[] returned by this route. They keep the
same media-tweets target and filter rows after each page is fetched, so
selective filters can return fewer rows than an unfiltered page.
Filter to tweets authored by this username. The @ prefix is optional.
Filter to replies directed to this username.
Filter to tweets that mention this username.
Filter by tweet language code, such as en, tr, or es.
Filter to tweets created on or after this date or timestamp.
Filter to tweets created before this date or timestamp. A YYYY-MM-DD value includes the whole day before the boundary.
Filter by attached media or links. Values: images, videos, gifs, media, links, none.
When true, only return tweets from verified authors.
Reply mode. Values: include, exclude, only.
Retweet mode. Values: include, exclude, only.
Quote mode. Values: include, exclude, only.
Exact text that must appear in the tweet.
Words or quoted phrases to exclude from returned tweets. Separate with spaces, commas, or lines.
Words or quoted phrases where at least 1 term must appear in the tweet. Separate with spaces, commas, or lines.
Hashtags to match. Separate with spaces, commas, or lines. The # prefix is optional.
Cashtags to match. Separate with spaces, commas, or lines. The $ prefix is optional.
URL substring or domain that must appear in tweet URL entities.
Filter to tweets in this conversation thread.
Filter to replies to this tweet ID.
Filter to quote tweets of this tweet ID.
Filter to retweets of this tweet ID.
Your API key. Session cookie authentication is also supported.
Response
Array of tweets containing media. Tweet type. Omitted if unavailable.
ISO 8601 creation timestamp. Omitted if unavailable.
Whether this is a Note Tweet (long-form post). Omitted if unavailable.
Like count. Omitted if unavailable.
Retweet count. Omitted if unavailable.
Reply count. Omitted if unavailable.
Quote tweet count. Omitted if unavailable.
View count. Omitted if unavailable.
Bookmark count. Omitted if unavailable.
Permalink URL on X. Omitted if unavailable.
Tweet language code. Omitted if unavailable.
Whether the tweet is a reply. Omitted if unavailable.
Tweet ID being replied to. Omitted if not a reply.
User ID being replied to. Omitted if not a reply.
Username being replied to. Omitted if not a reply.
Conversation thread ID. Omitted if unavailable.
Client used to post the tweet. Omitted if unavailable.
Start and end offsets for rendered tweet text. Omitted if unavailable.
Whether replies are limited. Omitted if unavailable.
Whether this tweet quotes another tweet. Omitted if unavailable.
Parsed entities. Omitted if unavailable.
Tweet author profile. Omitted if unavailable. Show Author object fields
Follower count. Omitted if unavailable.
Whether the author is verified. Omitted if unavailable.
Author profile image URL. Omitted if unavailable.
Media attachments. Omitted if unavailable. Shortened URL from the tweet text.
Embedded quoted tweet. Omitted if not a quote tweet.
Original retweeted tweet. Omitted if not a retweet.
Whether more results are available.
Opaque cursor for the next page. Empty string when no more results.
{
"tweets" : [
{
"id" : "1893456789012345678" ,
"text" : "Check out this photo" ,
"createdAt" : "2026-02-24T10:00:00.000Z" ,
"likeCount" : 200 ,
"viewCount" : 15000 ,
"url" : "https://x.com/user/status/1893456789012345678" ,
"author" : {
"id" : "44196397" ,
"username" : "xquikcom" ,
"name" : "Xquik" ,
"followers" : 1200 ,
"verified" : true ,
"profilePicture" : "https://pbs.twimg.com/profile_images/example.jpg"
},
"media" : [{ "type" : "photo" , "mediaUrl" : "https://pbs.twimg.com/media/example.jpg" }]
}
],
"has_next_page" : true ,
"next_cursor" : "DAADDAABCgABF..."
}
{ "error" : "invalid_user_id" , "message" : "User not found or invalid user ID. Check the username or ID." }
The user ID is empty or invalid. { "error" : "user_not_found" , "message" : "X user not found. Check the username." }
{ "error" : "unauthenticated" }
Missing or invalid API key. { "error" : "no_subscription" }
No active subscription or insufficient credits. Possible error values: no_subscription, subscription_inactive, no_credits, insufficient_credits. { "error" : "x_api_unavailable" }
The read service returned an error. Retry after a short delay. { "error" : "rate_limit_exceeded" , "retryAfter" : 60 }
Your tier rate limit was exceeded. Wait for the Retry-After header before retrying. { "error" : "x_api_unavailable" }
The normalized v1 response contract can return 424 when the read service is unavailable.