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
| Parameters | Required | Description |
|---|---|---|
usernames | Required | Array of target public X usernames to retrieve mentions for, with or without leading @. |
results_limit | Optional | Maximum number of mentions to return per username; must be a multiple of 20 between 20 and 2,000. |
start_date | Optional | Optional start timestamp in ISO format (YYYY-MM-DD) or Unix seconds to filter mentions on or after this time. |
end_date | Optional | Optional 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.
- Specify one or more usernames in usernames and set results_limit to a multiple of 20 (up to 2,000).
- Optionally provide start_date and end_date to restrict the mention collection period.
- Send a POST request to /v1/x/mentions with your SocQ API key.
- 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.
Related APIs
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.
- Twitter Search API
- X Followers List API
- X Following List API
- X Post Replies API
- X Post Retweeters API
- X Trends API
- Twitter User Search API
- X Community API
- X Account Location API
- X Verified Followers API
- X List Tweets API
- Twitter List Members API
- Twitter List Followers API
- X Community Members API
- X Community Moderators API
- X Communities Search API
- X Articles API
- X Spaces API
- Twitter Media Scraper API
- X User Replies API
- Twitter Follow Checker API
- Twitter Video Transcript API