xAutoDM LogoxAutoDM
    Twitter Scraper API

    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.

    Cancel anytime
    Account-safe pacing
    Setup in 2 minutes
    Twitter scraper API: how it works in XAutoDM
    curl https://api.xautodm.com/v1/users/naval/followers \
      -H "Authorization: Bearer $XAUTODM_API_KEY"
    Response
    {
      "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

    1
    Step 1

    Get a key

    Sign up at api.xautodm.com and create a key. New accounts include 50,000 starter credits, about $0.50.

    2
    Step 2

    Send the request

    Call a followers, replies or search endpoint with your key as a bearer token.

    3
    Step 3

    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 id60 credits
    Follower, following or List member5 credits each
    Verified follower, replier, retweeter, mention, user or tweet search15 credits each
    Tweet detail45 credits
    A page of a user's tweets300 credits
    Hobby
    $19/mo
    2,850,000 credits a month
    Starter
    $49/mo
    7,350,000 credits a month
    Growth
    $99/mo
    14,850,000 credits a month
    Pro
    $199/mo
    29,850,000 credits a month

    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.