X Data API
## X (Twitter) Scraper API Scrape real-time data from X (formerly Twitter) including user profiles, tweet details, timelines, and **media downloads** (photos, videos, GIFs). ### Key Features - **User Profiles** — Get detailed profile data: name, bio, followers, following, tweet count, verification status - **Tweet Details** — Full tweet data with engagement metrics (likes, retweets, replies,…
X Data API endpoints
| Method | Endpoint | Description |
|---|---|---|
| User | ||
| GET |
getUserProfile /user/profile |
Get detailed profile information for an X user by username. |
| Tweet | ||
| GET |
getUserTweets /tweet/user-tweets |
Get tweets from a user's profile timeline with pagination. |
| GET |
getTweetDetails /tweet/details |
Get full tweet data including text, engagement metrics, media URLs, and author info. |
| Media | ||
| GET |
getTweetMedia /tweet/media |
Get detailed media information for a tweet including download URLs, sizes, and video quality variants. |
| GET |
downloadTweetMedia /tweet/download |
Download a photo or video from a tweet. Returns the media file directly as a binary stream. |
| Users | ||
| GET |
getUserMedia /user/{username}/media |
Get media tweets (photos and videos) posted by a user. Returns the same format as user tweets but filtered to media content only. |
X Data API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 1 / second |
|
| PRO | $9.99 / month | 5 / second |
|
| ULTRA Recommended | $49.99 / month | 10 / second |
|
| MEGA | $149.99 / month | 20 / second |
|