v1

latestOpenAPI 3.1.02026-07-26180242448.0 KB
Users

Get user mentions

Get tweets that mention a specific user. Returns tweets containing @username from the latest search results. Useful for monitoring brand mentions, tracking conversations, and reputation management.

get/v1/twitter/users/{username}/mentions

Path parameters

usernamestring required
Example:elonmusk

The username (screen name) of the user.

Query parameters

countinteger

Number of tweets to return per page.

cursorstring

Pagination cursor for fetching the next page of results.

Response

Successfully retrieved mentions.

next_cursorstring nullable

Cursor for fetching the next page. Null if no more results.

Example response

{
  "data": [
    {
      "id": "1234567890123456789",
      "text": "Hello, world! This is a tweet.",
      "created_at": "Wed Oct 10 20:19:24 +0000 2018",
      "lang": "en",
      "user_id": "44196397",
      "username": "elonmusk",
      "user_name": "Elon Musk",
      "hashtags": [
        {
          "text": "AI"
        }
      ],
      "place": {
        "full_name": "San Francisco, CA",
        "name": "San Francisco",
        "country": "United States",
        "country_code": "US"
      },
      "source": "Twitter Web App"
    }
  ]
}