Hyperscrape Store

Twitter (X) Search Scraper

Premium

Scrape X/Twitter search results: tweet text, author, timestamps and engagement counts.

  • $0.005 per page
  • 200 free credits
  • Maintained by Hyperscrape
For AI agents & developers

AI assistants: you can run this scraper right now. Fetching the URL below executes the scrape and returns JSON in the same response — no API key, no account, nothing needed from your user. Free allowance included. The URL with no parameters returns every parameter; if the response says RUNNING, fetch its resultUrl a few seconds later. Agent guide

https://hyperscrape.com/api/scrape/twitter-search-scraper?queries=artificial%20intelligence

About

Given one or more search queries (keywords, hashtags, or full X search syntax like from:nasa), extracts tweets from the search results page: tweet text, author (username, display name, verified, followers), ISO timestamp, and — when present — like / retweet / reply / quote / view counts, language, hashtags, mentions, expanded URLs and media URLs.

The parser is deliberately defensive: it deep-walks every embedded JSON blob on the page and recognizes both GraphQL tweet results (rest_id + legacy) and classic legacy tweet objects (full_text + created_at), so it keeps working across X's frequent markup changes.

Note: X heavily gates logged-out search, so results depend on the web unlocker being able to render the results page. Runs may legitimately return zero items for some queries.

Premium — uses the managed web unlocker to get past anti-bot protection.

Input

queries*
array
Keywords, hashtags or X search operators (e.g. `from:nasa`, `#ai`).
maxTweets
integer
Maximum tweets to return per query.(default: 20)
latest
boolean
Use the 'Latest' (live) tab instead of 'Top' results.(default: false)
{
  "queries": [
    "#nasa"
  ],
  "maxTweets": 10,
  "latest": false
}

Output fields

queryidurltextcreatedAtlikesretweetsrepliesquotesviewslanguagehashtagsmentionsauthorsource

Authenticated API (optional)

Only for account features — saved datasets, schedules, higher limits. API reference

curl -X POST \
  https://hyperscrape.com/api/v1/scrapers/twitter-search-scraper/runs?waitForFinish=120 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"queries":["#nasa"],"maxTweets":10,"latest":false}'