x/
mentions

The Twitter Mentions API collects public tweets that mention a target user handle, with support for date range filtering and engagement metrics.

Twitter Mentions API

Brand mentions
Inbound chatter
Mention monitoring
0.7 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

Twitter Mentions

Tracking public mentions reveals brand perception, customer inquiries, and conversational inbound chatter across X. Normalized mention records capture post text, author handles, timestamps, media attachments, and public engagement counters without platform authentication.

Twitter Mentions API Features

  • Public mention trackingThe Twitter Mentions API retrieves public tweets mentioning any target username without requiring the target account's login credentials.
  • Date window boundingConstrain mention feeds using start_date and end_date filters formatted as ISO dates or Unix seconds.
  • Author and tweet detailReceive normalized post records containing full tweet text, author profiles, media attachments, and permalinks.
  • Engagement metricsExtract like, comment, repost, quote, bookmark, and view counts for each discovered mention.

Twitter Mentions API Parameters

ParametersRequiredDescription
usernamesRequiredArray of target public X usernames to retrieve mentions for, with or without leading @.
results_limitOptionalMaximum number of mentions to return per username; must be a multiple of 20 between 20 and 2,000.
start_dateOptionalOptional start timestamp in ISO format (YYYY-MM-DD) or Unix seconds to filter mentions on or after this time.
end_dateOptionalOptional end timestamp in ISO format (YYYY-MM-DD) or Unix seconds to filter mentions before this time.

How to Use the Twitter Mentions API

Submit a target username and optional date range to the Twitter Mentions API as an asynchronous task, then poll for mention records.

  1. Specify one or more usernames in usernames and set results_limit to a multiple of 20 (up to 2,000).
  2. Optionally provide start_date and end_date to restrict the mention collection period.
  3. Send a POST request to /v1/x/mentions with your SocQ API key.
  4. Poll /v1/tasks/{task_id} and paginate through data.results.items using next_cursor.
curl -X POST "https://api.socq.ai/v1/x/mentions" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"usernames":["@OpenAI"],"results_limit":20}'

# Poll GET /v1/tasks/{task_id}, then fetch data.results.items.

Twitter Mentions API Use Cases

  • Brand reputation monitoring: Track inbound mentions, reviews, and sentiment around your company handle in near real time.
  • Customer support triage: Identify unaddressed customer complaints, product bugs, or feedback directed at your support accounts.
  • Executive presence listening: Monitor mentions and replies directed at leadership accounts to assess industry response to announcements.

Twitter Mentions API Pro Tips

  • results_limit must be a multiple of 20 (e.g. 20, 40, 100) to match upstream page sizes.
  • ISO date strings like 2026-09-01 are automatically converted to UTC Unix timestamps by the backend.
  • This endpoint returns tweets mentioning the account; to get the account's own outbound posts, use X User Posts.
  • Pair with X Post Replies to track granular conversation threads stemming from significant mention tweets.

Beyond the Twitter Mentions API, use these APIs when you need a different type of public X data.

  • Twitter Tweet Scraper API — Retrieve public post text, authors, engagement, media, hashtags, mentions, and conversation relationships from x.com or twitter.com status URLs.
  • Twitter Profile Scraper API — Retrieve public account identity, biographies, avatars, cover images, account status, and visible audience statistics by username.
  • Twitter User Tweets Scraper API — Collect recent public posts, authors, media, hashtags, mentions, and engagement by username with replies excluded.
  • X Post Quotes API — Collect public quote posts for known status URLs with commentary, authors, engagement, media, timestamps, and source-post context.
  • X Community Posts API — Read the public posts shared in a community, with their text, authors and interaction counts.
  • X Thread Context API — Read a post with earlier messages along its reply chain, public replies and relationship IDs.

Explore other platforms

Combine X data with public data from other supported social platforms.

Twitter Mentions API — FAQ

Twitter Mentions API collects public tweets and posts that mention specified user handles on X. It returns normalized post data, author information, timestamps, and engagement metrics within optional date boundaries.

No. The endpoint queries publicly accessible mentions using only public usernames; no customer account OAuth or user login tokens are required.

The upstream data provider delivers mentions in discrete pages of 20 items each, so requests must align with this batch increment.

By SocQ · Updated

From the official X API documentation:

“The X API uses pay-per-usage pricing. No subscriptions—pay only for what you use.”
X Developer Platform: X API introduction · accessed November 2026