Twitter scraper API: X data as JSON, no official API needed
Call one endpoint with your key and get X profiles, followers, repliers, retweeters, mentions and tweets back as JSON, with a can_dm flag on every profile. No developer approval. Pay per call in credits, with free starter credits to test.
curl https://api.xautodm.com/v1/users/naval/followers \ -H "Authorization: Bearer $XAUTODM_API_KEY"
{
"data": {
"count": 100,
"users": [
{ "id": "44196397", "handle": "elonmusk", "name": "Elon Musk",
"followers": 200000000, "verified": true, "can_dm": false },
...
],
"cursor": "HBaAgL...=="
},
"meta": { "credits_charged": 500, "credits_remaining": 49500, "request_id": "req_..." }
}What a Twitter scraper API is
A Twitter scraper API takes one HTTPS request per page of results, authenticated with a bearer key, and returns JSON. XAutoDM's API reads followers, following, verified followers, repliers, retweeters, mentions, X List members, user search, tweet search, a user's tweets and single profiles. Every profile comes back with a can_dm flag. It can also send DMs from your connected accounts. You don't go through the official X API and you don't file a developer application.
Prefer a screen to code? The same lists are in the Twitter scraper. Running it from a workflow tool? See Twitter scraper for n8n. The full reference is in the XAutoDM API pages and the API documentation. Weighing it against a hosted scraping platform? Read the Apify Twitter scraper alternative page and XAutoDM vs Apify.
One request per page
A page holds about 100 profiles and comes with a cursor for the next one. Loop until the cursor is empty.
can_dm on every profile
Filter to people who accept DMs in your own code before you spend a single credit on a message.
Charged on success
Credits are spent only when a call succeeds. We never bill a failed upstream call.
Test keys that cost nothing
A test key returns sample data in the live response shape, so you can build the integration first.
How it works
Get a key
Sign up at api.xautodm.com and create a key. New accounts include 50,000 starter credits, about $0.50.
Send the request
Call a followers, replies or search endpoint with your key as a bearer token.
Page through the results
Pass the returned cursor back to get the next page. Stop when it comes back empty.
Twitter scraper API pricing
Credits, charged on success. The same numbers as the API pricing page.
| Profile by handle or id | 60 credits |
| Follower, following or List member | 5 credits each |
| Verified follower, replier, retweeter, mention, user or tweet search | 15 credits each |
| Tweet detail | 45 credits |
| A page of a user's tweets | 300 credits |
One-time credit is 100,000 credits for $1, and a monthly plan gives you 50% more credits per dollar. At the one-time rate, 1,000 followers is 5,000 credits, or 5 cents. Full table on the API pricing page.
Frequently asked questions
Keep exploring
Book more calls from your X DMs.
Connect an account and send your first personalized campaign in minutes. Plans from $19 per account.