All platformsGET/v1/twitter/profile1 credit
GET/v1/twitter/user-tweets1 credit
GET/v1/twitter/tweet1 credit
GET/v1/twitter/tweet/replies1 credit
GET/v1/twitter/search1 credit
GET/v1/twitter/trends1 credit
GET/v1/twitter/community1 credit
GET/v1/twitter/community/tweets1 credit
GET/v1/twitter/search/posts1 credit
GET/v1/twitter/tweet/transcript5 credits
X (Twitter) API
10 endpoints for public X (Twitter) data, from 1 credit a call. Same response format and field names as every other platform.
curl "https://scrapeio.com/v1/twitter/profile?handle=nike" \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/profile1 creditX profile: bio, avatar, followers, following, post count.
| Parameter | Type | Description |
|---|---|---|
handlerequired | string | X username, with or without @. |
curl "https://scrapeio.com/v1/twitter/profile?handle=nike" \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/user-tweets1 creditA profile's posts, newest first, with views, likes, reposts, replies and bookmarks.
| Parameter | Type | Description |
|---|---|---|
handlerequired | string | X username, with or without @. |
cursor | string | Cursor from the previous page's data.cursor. |
curl "https://scrapeio.com/v1/twitter/user-tweets?handle=nike" \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/tweet1 creditOne post by URL or id.
| Parameter | Type | Description |
|---|---|---|
urlrequired | string | X post URL. |
curl "https://scrapeio.com/v1/twitter/tweet?url=..." \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/tweet/replies1 creditLatest replies to a post.
| Parameter | Type | Description |
|---|---|---|
urlrequired | string | X post URL. |
cursor | string | Cursor from the previous page's data.cursor. |
curl "https://scrapeio.com/v1/twitter/tweet/replies?url=..." \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/search1 creditSearch X posts. X search operators work.
| Parameter | Type | Description |
|---|---|---|
queryrequired | string | Search text. |
type | top, latest | Ranking. Default: top. |
cursor | string | Cursor from the previous page's data.cursor. |
curl "https://scrapeio.com/v1/twitter/search?query=coffee" \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/trends1 creditTrending topics for a country.
| Parameter | Type | Description |
|---|---|---|
country | string | Two-letter country code. Default: US. |
curl "https://scrapeio.com/v1/twitter/trends" \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/community1 creditAn X community: name, description, topic, member count and rules.
| Parameter | Type | Description |
|---|---|---|
urlrequired | string | Community URL. |
curl "https://scrapeio.com/v1/twitter/community?url=..." \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/community/tweets1 creditLatest posts in an X community, with views and likes.
| Parameter | Type | Description |
|---|---|---|
urlrequired | string | Community URL. |
cursor | string | Cursor from the previous page's data.cursor. |
curl "https://scrapeio.com/v1/twitter/community/tweets?url=..." \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/search/posts1 creditX's Top results for a keyword, with views and likes.
| Parameter | Type | Description |
|---|---|---|
queryrequired | string | Search text. |
cursor | string | Cursor from the previous page's data.cursor. |
curl "https://scrapeio.com/v1/twitter/search/posts?query=coffee" \ -H "x-api-key: YOUR_KEY"
GET/v1/twitter/tweet/transcript5 creditsTranscript
| Parameter | Type | Description |
|---|---|---|
urlrequired | string | Tweet URL |
cache_max_age | 1d, 3d, 7d, 14d, 30d | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "ca |
curl "https://scrapeio.com/v1/twitter/tweet/transcript?url=..." \ -H "x-api-key: YOUR_KEY"
Other platforms
TikTokInstagramYouTubeFacebookCCosmosRedditSpotifyLLinkedInFacebook Ad LibraryLink in bioPinterestRumbleThreadsTikTok ShopTwitchApple MusicBlueskyCCreator ToolsFacebook EventsFacebook MarketplaceGitHubGoogle Ad LibraryKKwaiSnapchatSoundCloudTelegramTTruth SocialKickLLinkedIn Ad LibraryTikTok Ad LibraryAAmazon ShopGoogle Search