The X (Twitter) outreach API for builders
Scrape leads, send DMs, run campaigns, and read replies from a simple REST API. Build your own apps on the same engine that powers XAutoDM, with inbox-safe pacing built in. No official X API access required.
Live now. Sign up, generate a key, and get free credits to test with.
curl -X POST https://app.xautodm.com/api/v1/scrapes \
-H "Authorization: Bearer xad_live_..." \
-H "Content-Type: application/json" \
-d '{
"source_type": "commenters",
"source_value": "https://x.com/user/status/1234567890",
"count": 200,
"filters": { "canDmOnly": true }
}'Every XAutoDM capability, as an endpoint
The API is a thin layer over the same production engine the app uses. If XAutoDM can do it, your code can do it.
Twitter Scraper API
Pull a profile's followers, following, or verified followers. Search users by keyword. Grab everyone who replied to or retweeted any tweet. Filter to people who can actually receive DMs.
X DM API
Send personalized DMs programmatically. Every message goes through the same safety engine as the app: safe daily limits per account, human-like pacing, sending windows, and dedupe.
Campaigns API
Create and launch full outreach campaigns with follow-up sequences, A/B variants, and merge variables. Track per-recipient delivery status from your own code.
Replies API
Read the conversations your outreach started. See who replied, pull full threads, and sync pipeline stages like booked and interested into your own CRM.
Analytics API
Sent, replies, reply rate, and calls booked, per campaign and per account. Pipe outreach numbers straight into your dashboards.
Lead Lists API
Import leads from your own data sources, export enriched lists, and reuse them across campaigns. Your lead engine, our delivery rails.
Your product, our outreach rails
Build your own outreach tool
White-label X outreach for your niche. We handle accounts, pacing, and delivery; you own the product and the customer.
Automate with Zapier, Make, or n8n
New signup in your app? Reply on a viral post? Trigger a personalized DM sequence from any workflow.
Feed your CRM with warm leads
Scrape engagers from any tweet on a schedule and push DM-able leads into HubSpot, Airtable, or your own database.
Safety rails you can't turn off
Every DM sent through the API is paced by the same engine as the app: safe daily limits per account, human-like random gaps, sending windows, Do-Not-Contact lists, and dedupe. That's the point. You get automation your accounts survive.
Simple, usage-based pricing
API calls draw from the same credit wallet as your XAutoDM plan. Scraping spends lead credits per profile checked; DMs within each account's safe daily limit are included with your plan. See pricing for plans and credit top-up packs.
XAutoDM API questions
What can I build with the XAutoDM API?
Anything that needs X (Twitter) outreach under the hood: lead-gen tools, agency dashboards, CRM integrations, auto-DM workflows triggered from your own app, or scheduled scraping pipelines that keep your lead lists fresh.
Do I need official X API access?
No. You connect your own X accounts inside XAutoDM once, then drive everything through our REST API with a single API key. No developer portal applications, no per-seat platform fees.
Is it safe for my accounts?
API sends go through the exact same safety engine as the app: safe daily limits per account, human-like pacing with random gaps, sending windows, Do-Not-Contact lists, and dedupe so the same person is never messaged twice. The API cannot bypass these rails.
How is it priced?
The API runs on its own plan with a monthly credit allowance, separate from your XAutoDM app subscription. Every action has a fixed credit cost: reads, lead rows, DMs, follows and likes, and connecting an account. You are only charged when a call succeeds, and top-up credit packs never expire. Current plans and per-action costs are listed on api.xautodm.com.
How do I get started?
It is live and self-serve. Sign up at api.xautodm.com, generate a key from your dashboard, and you get free credits to test with straight away. Test keys run in dry-run mode, so you can build and debug the whole flow without sending a real DM or spending credits.
Start building today
Create an account, generate a key, and make your first call in minutes. You get free credits to test with, and full docs for every endpoint.