/mentions endpoint is specifically tuned to find every time a particular handle is tagged or talked about on X.
💡 Why Monitor Mentions?
- Brand Protection: Get alerted to negative feedback or viral complaints before they escalate into a PR crisis.
- Customer Support: Identify users asking for help or reporting bugs directly to your handle.
- Community Engagement: Find your most loyal advocates who regularly tag you in their content.
- Influencer Tracking: See which high-authority accounts are mentioning your competitors to identify potential partnership opportunities.
- Viral Content Discovery: Filter mentions by engagement to find the most impactful conversations happening around a specific personality or brand.
📥 Request Parameters
The/mentions endpoint is a specialized POST request that allows you to apply high-level filters directly in the query.
| Parameter | Type | Description |
|---|---|---|
query | string | Required. The username (handle) you want to track (e.g., elonmusk). |
order | string | Optional. Sort results by latest (default) or popular. |
since_date | string | Optional. Start date in YYYY-MM-DD format. |
until_date | string | Optional. End date in YYYY-MM-DD format. |
min_likes | integer | Optional. Only show mentions with at least X likes. |
min_retweets | integer | Optional. Only show mentions with at least X retweets. |
min_replies | integer | Optional. Only show mentions with at least X replies. |
next_cursor | string | Optional. Cursor for pagination. |
🛠 Implementation Example
Using these filters allows you to ignore “noise” (like low-effort tags) and focus only on mentions that actually have reach and impact.cURL
BashPython
Python🎯 Pro-Tips for Mention Tracking
- Quality over Quantity: If you are a large brand, use
min_likesto filter out spam or low-authority mentions. This ensures your team only sees posts that are actually being seen by others. - Crisis Management: Set
ordertolatestand poll the endpoint frequently to catch urgent customer issues as they happen. - Historical Audits: Use
since_dateanduntil_dateto pull reports on mention volume during a specific marketing campaign or product launch.
⏭ Next Steps
- Real-time Monitoring — Learn how to turn this endpoint into a DIY webhook for instant alerts.
- Mastering Search Operators — Discover even more ways to refine your queries using Boolean logic.
- User Profile Info — Learn how to get deeper stats on the people who are mentioning you.