Prerequisites
Before making your first request, you need:- An ApiTwitter account — register here
- Credits on your balance — minimum $10 top-up
- Your Twitter cookies (
ct0andauth_token) - A proxy URL
Step 1: Get Your API Key
After registration, your API key is automatically created. Find it in your Dashboard → API Key page. Your key looks like:tda_k8x2mN3s_...
Step 2: Get Your Twitter Cookies
- Open x.com and log in
- Open DevTools (F12) → Application → Cookies →
https://x.com - Copy the values of
ct0andauth_token - Format them as:
ct0=YOUR_CT0;auth_token=YOUR_AUTH_TOKEN
Step 3: Make Your First Request
Option A: GET (simplest — uses server pool)
Option B: POST (your own cookies & proxy)
Example Response
What’s Next?
SDKs
Python & JavaScript client libraries
Authentication
Learn about API key authentication
Proxy & Cookies
Understand how to pass proxy and cookies
API Reference
Explore all 56 endpoints
Billing
Understand pricing and credits
Quickstart FAQ
How long does it take to get started?
How long does it take to get started?
Under 5 minutes. Register, get your API key, add credits ($10 minimum), and make your first call. No approval process or waiting period.
Do I need cookies and a proxy for every request?
Do I need cookies and a proxy for every request?
What's the base URL for all API requests?
What's the base URL for all API requests?
All requests go to
https://api.apitwitter.com. The API key is passed via the X-API-Key HTTP header.