Skip to main content
GET
/
x
/
users
/
{id}
/
mentions
Get user mentions timeline
curl --request GET \
  --url https://xquik.com/api/v1/x/users/{id}/mentions \
  --header 'x-api-key: <api-key>'

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 mentions timeline returns tweets that mention one X account. Use it for brand mentions, support inboxes, lead routing, and agent handoffs. The canonical route stays GET /api/v1/x/users/{id}/mentions.
# Username mentions timeline
curl "https://xquik.com/api/v1/x/users/xquikcom/mentions" \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

# Numeric user ID mentions timeline
curl "https://xquik.com/api/v1/x/users/44196397/mentions" \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

# Time-bounded mentions window
curl -G "https://xquik.com/api/v1/x/users/xquikcom/mentions" \
  --data-urlencode "sinceTime=1777392000" \
  --data-urlencode "untilTime=1777478400" \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq
The Node.js and Python snippets write one JSON Lines row per mentioned tweet. Persist each row with the latest next_cursor before requesting the next page.

Direct mention handoff

Use GET /x/users/{id}/mentions when a support, community, brand monitoring, lead routing, or agent workflow needs the newest tweets mentioning one account. This mentions timeline endpoint accepts either a username or numeric user ID and returns one JSON page at a time. Use mentions when you need a saved extraction, estimate, or CSV/JSON/XLSX file export. Store mentioned_user_id_or_username, tweet_id, text, tweet_url, author_id, author_username, author_name, author_followers, author_verified, author_profile_picture, created_at, conversation_id, reply context, engagement counts, media URLs, page_cursor, has_next_page, and next_cursor. Treat next_cursor as opaque and pass it back as cursor only when has_next_page is true. Use sinceTime and untilTime to bound a poller window. Zero affordable results return 402 insufficient_credits.

Build a mentions triage job

Use these checkpoints when a support inbox, lead queue, campaign report, or agent workflow needs bounded mention pages with resumable cursor state.

Resolve the target

Use a username when the handle is stable, or store a numeric user ID for repeat jobs and warehouse joins.

Bound the window

Pass sinceTime and untilTime when a poller, support queue, or campaign report needs a closed mention window.

Route the row

Store author fields, reply context, conversation_id, engagement counts, tweet_url, and media_urls for triage or scoring.

Cursor checkpoint

Store page_cursor, next_cursor, and has_next_page before requesting another mentions page.
{
  "mentions_job_id": "brand-mentions-q2",
  "mentions_route": "GET /api/v1/x/users/{id}/mentions",
  "mentioned_user_id_or_username": "xquikcom",
  "since_time": "1777392000",
  "until_time": "1777478400",
  "cursor_param": "cursor",
  "page_cursor": "",
  "next_cursor": "DAACCgACGRElMJcAAA",
  "has_next_page": true,
  "saved_export_tool": "mentions"
}

Which timeline endpoint?

  • Use GET /api/v1/x/users/{id}/mentions for one user’s mentions timeline.
  • Use GET /api/v1/x/users/{id}/tweets for one user’s profile timeline.
  • Use GET /api/v1/x/tweets/search for keyword, operator, or advanced search.
  • Use GET /api/v1/x/timeline for the authenticated account’s home timeline.

Path parameters

id
string
required
X username or numeric user ID. Use a username such as xquikcom when the profile handle is known, or a numeric ID such as 44196397 when you store stable user IDs.

Query parameters

cursor
string
Pagination cursor for the mentions timeline. Omit it for the first page, then pass the next_cursor value from the previous response to fetch the next page.
sinceTime
string
Unix timestamp in seconds. Only return mentions after this time when a poller, support inbox, or campaign monitor needs a bounded window.
untilTime
string
Unix timestamp in seconds. Only return mentions before this time. Pair with sinceTime for closed reporting windows.

Tweet result filters

These optional filters apply to tweets[] returned by this route. They keep the same mentions target and filter rows after each page is fetched, so selective filters can return fewer rows than an unfiltered page.
fromUser
string
Filter to tweets authored by this username. The @ prefix is optional.
toUser
string
Filter to replies directed to this username.
mentioning
string
Filter to tweets that mention this username.
language
string
Filter by tweet language code, such as en, tr, or es.
sinceDate
string
Filter to tweets created on or after this date or timestamp.
untilDate
string
Filter to tweets created before this date or timestamp. A YYYY-MM-DD value includes the whole day before the boundary.
mediaType
string
Filter by attached media or links. Values: images, videos, gifs, media, links, none.
minFaves
integer
Minimum like count.
minRetweets
integer
Minimum retweet count.
minReplies
integer
Minimum reply count.
minQuotes
integer
Minimum quote count.
verifiedOnly
boolean
When true, only return tweets from verified authors.
replies
string
Reply mode. Values: include, exclude, only.
retweets
string
Retweet mode. Values: include, exclude, only.
quotes
string
Quote mode. Values: include, exclude, only.
exactPhrase
string
Exact text that must appear in the tweet.
excludeWords
string
Words or quoted phrases to exclude from returned tweets. Separate with spaces, commas, or lines.
anyWords
string
Words or quoted phrases where at least 1 term must appear in the tweet. Separate with spaces, commas, or lines.
hashtags
string
Hashtags to match. Separate with spaces, commas, or lines. The # prefix is optional.
cashtags
string
Cashtags to match. Separate with spaces, commas, or lines. The $ prefix is optional.
url
string
URL substring or domain that must appear in tweet URL entities.
conversationId
string
Filter to tweets in this conversation thread.
inReplyToTweetId
string
Filter to replies to this tweet ID.
quotesOfTweetId
string
Filter to quote tweets of this tweet ID.
retweetsOfTweetId
string
Filter to retweets of this tweet ID.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported.

Response

tweets
object[]
Array of tweets mentioning the user.
has_next_page
boolean
Whether more results are available.
next_cursor
string
Cursor for the next page.
{
  "tweets": [
    {
      "id": "1893456789012345678",
      "text": "Hey @user check this out!",
      "createdAt": "2026-03-27T10:00:00.000Z",
      "likeCount": 5,
      "author": {
        "id": "987654321",
        "username": "customer",
        "name": "Customer",
        "followers": 4200,
        "verified": false,
        "profilePicture": "https://pbs.twimg.com/profile_images/customer/photo.jpg"
      }
    }
  ],
  "has_next_page": true,
  "next_cursor": "DAACCgACGE..."
}
Last modified on May 24, 2026