Data API

Get User Mentions

Retrieves tweets that mention the specified Twitter user. Typically returns ~20 results per page. You can request additional results by sending another request to the same endpoint using cursor parameter.

get/twitter/user/{username}/mentions

Path parameters

usernamestring required

Username of the target user profile without @.

Query parameters

cursorstring

Cursor value obtained from next_cursor response property. Use this parameter to retrieve additional pages. Omit this parameter to retrieve the first page.

Response

Request succeeded

OR

Example response

{
  "tweets": [
    {
      "tweet_created_at": "2023-12-13T05:39:09.000000Z",
      "id_str": "1050118621198921728",
      "source": "Twitter Web Client",
      "in_reply_to_status_id_str": "1051222721923756032",
      "in_reply_to_user_id_str": "6253282",
      "in_reply_to_screen_name": "twitterapi",
      "user": {
        "id_str": "6253282",
        "name": "Twitter API",
        "screen_name": "twitterapi",
        "location": "San Francisco, CA",
        "url": "https://developer.twitter.com",
        "description": "The Real Twitter API.",
        "protected": true,
        "followers_count": 21,
        "friends_count": 32,
        "listed_count": 9274,
        "favourites_count": 13,
        "statuses_count": 42,
        "created_at": "2009-06-02T20:12:29.000000Z",
        "profile_banner_url": "https://si0.twimg.com/profile_banners/819797/1348102824",
        "profile_image_url_https": "https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png"
      },
      "lang": "en",
      "quoted_status_id_str": "1050119905717055488",
      "quote_count": 33,
      "reply_count": 30,
      "retweet_count": 160,
      "favorite_count": 295,
      "views_count": 32377,
      "bookmark_count": 19
    }
  ]
}

Changes