Skip to main content
GET
Get user tweets

Authorizations

x-api-key
string
header
required

Your ScrapeBadger API key. You can find this in your dashboard at https://scrapebadger.com/dashboard/api-keys.

Path Parameters

username
string
required

The username (screen name) of the user.

Example:

"elonmusk"

Query Parameters

cursor
string

Pagination cursor for fetching the next page of results.

Response

Successfully retrieved user tweets.

Paginated list of tweets.

data
object[] | null

Array of tweet objects.

next_cursor
string | null

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