v1

latestOpenAPI 3.1.02026-07-26180242448.0 KB
Users

Get user tweets

Get the latest tweets from a specific user's timeline. Returns comprehensive tweet data including text, media, engagement metrics, and all metadata. Supports pagination to retrieve the full tweet history.

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

Path parameters

usernamestring required
Example:elonmusk

The username (screen name) of the user.

Query parameters

cursorstring

Pagination cursor for fetching the next page of results.

Response

Successfully retrieved user tweets.

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"
    }
  ]
}