← Back to marketplace

Twitter X Profile Scraper API

extracting public X (Twitter) profiles, timelines, replies, media, tweets, user search results, and lists with advanced date, location, language, and engagement filters.

media
by xyz.mikolabs11 endpoints100% uptime1125ms avg

Includes 10 free calls per month

After the free quota, standard per-request pricing applies via x402 (USDC on Base).

Endpoints

GET/api/v1/scrape
$0.0220/req

Accepts the same input schema as the Apify Actor (twitterHandles, twitterUrls, listUrls, searchTerms, and filters) and returns aggregated results.

Response schema

twitterHandlesarray
twitterUrlsarray
listUrlsarray
searchTermsarray
searchTypestring
scrapeProfileInfoboolean
maxItemsinteger
startDatestring
endDatestring
latestTweetsboolean
locationstring
tweetLanguagestring
minLikesinteger
minRetweetsinteger
minRepliesinteger
includeRepliesboolean
includeRetweetsboolean
mediaOnlyboolean
onlyImagesboolean
onlyVideosboolean
onlyVerifiedboolean
onlyLinksboolean
onlyQuotesboolean
excludeRepliesboolean
excludeRetweetsboolean
excludeMediaboolean
excludeLinksboolean
includeHtmlboolean

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/twitter-x-profile-scraper/api/v1/profiles?username=elonmusk&maxItems=20&scrapeProfileInfo=true"

Or call the proxy directly (curl / any HTTP client):

curl https://proxy.apihub.io/twitter-x-profile-scraper/api/v1/profiles?username=elonmusk&maxItems=20&scrapeProfileInfo=true \
  -H "Authorization: Bearer ahk_your_key"

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for Twitter X Profile Scraper API.

GET /api/v1/profiles$0.0100/req
-
GET /api/v1/profiles/info$0.0100/req
-
GET /api/v1/profiles/media$0.0100/req
-
GET /api/v1/profiles/replies$0.0100/req
-
GET /api/v1/profiles/search$0.0200/req
-
GET /api/v1/profiles/tweets$0.0100/req
-
GET /api/v1/scrape$0.0220/req
-
GET /api/v1/tweets/detail$0.0100/req
-
GET /api/v1/tweets/search$0.0200/req
-
GET /api/v1/users/search$0.0100/req
-
GET /health$0.0000/req
-