Dataslayer
11 scrapers

X (Twitter) scraper API

Tweets, profiles, followers, search and comments — no login.

dataslayer publishes X (Twitter) scraper APIs that return structured JSON from public posts. Send a handle, tweet URL or search query and get typed rows back — tweets, profiles, followers, replies and search results. No X login or cookies are required, and you pay per result.

runs · last 30 days
11.6K
of those runs succeeded
94.0%
X (Twitter) scrapers
11
per 1,000 results
from $0.450

Live figures from Apify's public API.

What you can scrape from X (Twitter)

Tweets

An account's tweets with text, likes, retweets, replies, quotes, media and timestamps.

Profiles

Public profile data: bio, follower and following counts, location, verification and account age.

Search

Keyword, hashtag and advanced-operator search across public posts, exporting unique results only.

Comments & replies

Replies and comments on a tweet, with author profiles, likes and thread context.

Followers

Follower and following lists for a public account, with usernames and profile summaries.

Engaged audiences

Everyone who engaged with a tweet, deduplicated into one exportable list.

11 X (Twitter) scrapers

All scrapers

Example request

Every X (Twitter) scraper follows the same shape: POST a JSON body to the actor's run endpoint and read typed records back. Here it is in cURL, Node.js and Python.

POST/v2/acts/data-slayer~twitter-user/run-sync-get-dataset-items
request
curl -X POST "https://api.apify.com/v2/acts/data-slayer~twitter-user/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "profiles": [],
    "maxItems": 100
  }'
each result row16 fields
{
  "record_type": string,
  "requested_input": string,
  "input_type": string,
  "user_id": string,
  "username": string,
  "display_name": string,
  "bio": string,
  "followers_count": integer | number | string,
  "following_count": integer | number | string,
  "posts_count": integer | number | string,
  "is_blue_verified": boolean | string,
  "is_protected": boolean | string,
  "profile_image_url": string,
  "banner_image_url": string,
  // + 2 more fields
}

Pricing

X (Twitter) scrapers are priced per result, from $0.450 per 1,000 results, billed through your Apify account. There is no subscription and no seat minimum, and failed runs are not billed as results.

Frequently asked questions

Do I need an X (Twitter) login to use the API?+

No. Every dataslayer X scraper reads public data only — no login, no session and no cookie of yours is used.

What X (Twitter) data can I scrape?+

Public tweets, profiles, followers, following, replies and comments, and keyword, hashtag or operator-based search results.

Does it support advanced search operators?+

Yes. Search scrapers accept documented advanced operators so you can narrow results by phrase, mention, hashtag or account.

How is it priced?+

Per result, at each scraper's published rate through your Apify account. No subscription and no seat minimum.

Start scraping X (Twitter) data

One token, 11 X (Twitter) scrapers, pay per result through your Apify account.