Tweets
Get user timeline
Retrieve one user’s X profile timeline with cursor-based pagination, engagement metrics, replies, and media
GET
Get user timeline
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 tweet returned · All plans from $0.00012/credit
Get user timeline is the User Timeline API for a single public X profile.
The same endpoint is also useful when you call it “user tweets,” “profile
timeline,” or “X user timeline.” Keep the canonical route as
GET /api/v1/x/users/{id}/tweets.User timeline handoff
UseGET /x/users/{id}/tweets when a CRM, queue worker, or warehouse job needs
one user’s profile timeline. This endpoint accepts either a username or numeric
user ID and returns recent public posts from that profile.
The examples above write JSON Lines rows with the source profile, tweet ID,
text, author ID, username, display name, follower count, verified state, profile
image URL, reply context, engagement counts, media URLs, and cursor fields so a
worker can resume from the last saved next_cursor.
Build a profile timeline job
Use these checkpoints when a timeline sync needs to switch between plain profile posts, replies, media-only rows, and resumable page pulls.Original posts
Omit
includeReplies to fetch the profile timeline without replies.Replies with context
Set
includeReplies=true and includeParentTweet=true when support,
community, or research rows need the parent tweet context.Media timeline
Use a
mediaType filter for filtered timeline rows, or switch to
User media when every row should contain
media.Cursor checkpoint
Store
page_cursor, next_cursor, and has_next_page before requesting
another page.Which timeline endpoint?
- Use
GET /api/v1/x/users/{id}/tweetsfor one user’s profile timeline. It returns original profile posts by default. - Add
includeReplies=truewhen the sync needs replies, and addincludeParentTweet=truewhen reply rows need parent context. - Use
GET /api/v1/x/users/{id}/mediawhen every returned row should contain profile media. - Use
GET /api/v1/x/tweets/searchfor keyword, operator, or advanced search. - Use
GET /api/v1/x/timelinefor the authenticated account’s home timeline.
Path parameters
X username or numeric user ID. Use a username such as
elonmusk when the
profile handle is known, or a numeric ID such as 44196397 when you store
stable user IDs.Query parameters
Pagination cursor for the profile timeline. Omit it for the first page, then
pass the
next_cursor value from the previous response to fetch the next
page.Include reply tweets in the profile timeline. Defaults to
false, which
returns original profile posts without replies.Include parent tweet context for returned replies. Defaults to
false; set it
to true when replies need conversation context.Tweet result filters
These optional filters apply totweets[] returned by this route. They keep the
same user 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.Minimum like count.
Minimum retweet count.
Minimum reply count.
Minimum quote count.
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.
Headers
Your API key. Session cookie authentication is also supported.
Response
- 200 OK
- 400 Invalid user ID
- 404 User not found
- 401 Unauthenticated
- 402 Subscription required
- 429 Rate Limit Exceeded
- 424 Dependency Failed
Related: User media · User likes · User mentions timeline
Last modified on May 25, 2026
Get user timeline