List tweets from an X profile by handle.
Endpoint
/v1/twitter/profiles/{handle}/tweets
Path
X handle to look up, with or without a leading @.
Query
Page size (maximum 100). Default: 40.
Opaque pagination cursor returned by a previous response.
Include reply tweets in the returned list. Default: false.
Include pinned tweets on the first page. Default: false.
const response = await fetch( "https://api.socialfetch.dev/v1/twitter/profiles/charlidamelio/tweets", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);