Dataslayer
X (Twitter)Small Jobs & Advanced Queries

Twitter/X Search Scraper

Search public Twitter/X posts and profiles by keyword, hashtag, mention, or documented advanced operator. Export unique results with bounded pagination, clear empty and partial outcomes, and no login or cookies.

runs · 30d
2.3K
success · 30d
100.0%
runs all time
21K
users · 30d
103
POST/v2/acts/data-slayer~twitter-search/run-sync-get-dataset-items
request
curl -X POST "https://api.apify.com/v2/acts/data-slayer~twitter-search/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "new york",
    "section": "top",
    "maxPages": 1,
    "verifiedOnly": false
  }'
each result row12 fields
{
  "type": string,
  "tweet_id": string,
  "screen_name": string,
  "text": string,
  "created_at": string,
  "favorites": integer,
  "retweets": integer,
  "replies": integer,
  "quotes": integer,
  "views": string,
  "lang": string,
  "source": string,
}

Output fields

12 documented fields per record. Showing the first 12.

FieldTypeDescription
typestring · nullable
tweet_idstring · nullable
screen_namestring · nullable
textstring · nullable
created_atstring · nullable
favoritesinteger · nullable
retweetsinteger · nullable
repliesinteger · nullable
quotesinteger · nullable
viewsstring · nullable
langstring · nullable
sourcestring · nullable

Related scrapers

Frequently asked questions

What does Twitter/X Search Scraper return?+

Search public Twitter/X posts and profiles by keyword, hashtag, mention, or documented advanced operator. Export unique results with bounded pagination, clear empty and partial outcomes, and no login or cookies. It returns 12 documented fields per record.

How much does Twitter/X Search Scraper cost?+

It is priced at $1.50 per 1,000 results (lowest tier), billed through your Apify account. Failed runs are not billed as results.

What format does the data come back in?+

Typed JSON records by default. You can also download a run's dataset as CSV or Excel, or stream it into your own stack.

How reliable is this scraper?+

Over the last 30 days it ran 2.3K times with a 100.0% success rate.

How do I run it?+

POST a JSON body to the actor's run endpoint with your Apify token, or open it on Apify and start a run from the console.

Run Twitter/X Search Scraper on Apify

One request, structured rows back. Pay per result through your Apify account.