X User Tweets API
Scrape X User Tweets data with one API call. Returns up to the 100 most recent tweets posted by a Twitter/X user. Each tweet includes the full text, like count, retweet count, reply count, media attachments, and creation timestamp. Pagination is not currently supported on this endpoint — the upstream provider returns a single page. For deeper history, combine this with `/v1/twitter/ai-search` or `/v1/search/everywhere`.
Last updated June 2026
Try the X User Tweets API
See real data before writing a single line
Searching 39 platforms in parallel
What can you do with the User Tweets API?
The User Tweets endpoint gives you structured X data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl "https://www.socialcrawl.dev/v1/twitter/user/tweets?handle=elonmusk" \
-H "x-api-key: YOUR_API_KEY"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/twitter/user/tweets",
headers={"x-api-key": "YOUR_API_KEY"},
params={"handle": "elonmusk"},
)
data = response.json()const params = new URLSearchParams({
"handle": "elonmusk",
});
const response = await fetch(`https://www.socialcrawl.dev/v1/twitter/user/tweets?${params}`, {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| handle | Yes | Twitter username without the @ symbol |
| trim | No | Set to true for a trimmed down version of the response |
How does the X User Tweets API work?
Send a GET request with your API key and get back clean, structured JSON. Every response follows our unified schema with computed fields.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 39 platforms covering 10B+ monthly active users.
One schema, every platform
Query 39 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
Every response includes engagement_rate, estimated_reach, content_category, and language — ready to use.
See your data before you code
Visual Data Explorer — paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usAsk AI about SocialCrawl
Ready to scrape X User Tweets data?
Get your API key and start pulling X data in under 60 seconds.
