Twitter exporter
A Twitter exporter saves X data to a file. Choose what to export: an account's tweets, its followers or following, the replies to a post, who reposted it, or search results. Each one has a free browser tool, and the API handles the same exports for larger jobs.

The job
X lets you export your own full archive from your account settings. This page covers exporting public data from any account for research, outreach or reporting.
Pick the export that fits your data. Tweets and replies work for analysis, follower and following lists for audience work, and search results for topic research. To save results as a dataset, read how to build a Twitter dataset. For follower lists, see export followers from Twitter.
How it works
Choose the data
Tweets, followers, following, replies, reposts or search results.
Run the free tool
Type a handle or a post link and download the result.
Use the API for big jobs
Loop the endpoint with the cursor and write rows to CSV.
Endpoints that do it
| Endpoint | What it's for | Credits |
|---|---|---|
| List user tweetsGET /v1/x/users/{handle}/tweets | Export an account's posts. | 2 credits |
| List followersGET /v1/x/users/{handle}/followers | Export followers. | 2 credits per page (20 rows by default) |
| List followingGET /v1/x/users/{handle}/following | Export who an account follows. | 2 credits per page (20 rows by default) |
| List repliesGET /v1/x/tweets/{id}/replies | Export replies to a post. | 2 credits |
| List retweetersGET /v1/x/tweets/{id}/retweeters | Export who reposted a post. | 2 credits |
Free tools for the same job
Try the job in a browser first. These tools call the same endpoints, and you don't need a key or any code.
A follower export call
This returns one page of followers. Loop with the cursor and write the rows to CSV.
curl "https://api.chatterapi.com/v1/x/users/levelsio/followers" \
-H "Authorization: Bearer $CHATTERAPI_KEY"{
"data": [
{
"id": "197785542",
"handle": "dannypostma",
"name": "Danny Postma",
"bio": "Founder of HeadshotPro, a Singapore-based AI photography company.",
"followers": 187346,
"following": 739,
"tweets": 29627,
"verified": false,
"blueVerified": true,
"canDm": true,
"protected": null,
"location": null,
"url": null,
"avatarUrl": "https://pbs.twimg.com/profile_images/1587046912490090496/kuBUqNkb_normal.jpg",
"createdAt": "2010-10-02T13:11:54.000Z",
"profileUrl": "https://x.com/dannypostma",
"bannerUrl": "https://pbs.twimg.com/profile_banners/197785542/1762514596",
"likesGiven": null,
"mediaCount": null,
"pinnedTweetIds": null
},
{
"id": "24179991",
"handle": "dvassallo",
"name": "Daniel Vassallo",
"bio": "🚀 https://t.co/X5QMm3wlHe \n🏭 https://t.co/ZvHZp55zso \n🕹️ https://t.co/vHWIhHxTv6",
"followers": 205470,
"following": 2449,
"tweets": 55084,
"verified": false,
"blueVerified": true,
"canDm": false,
"protected": null,
"location": "WA, USA",
"url": null,
"avatarUrl": "https://pbs.twimg.com/profile_images/2008284492210085888/-aEKwo9U_normal.jpg",
"createdAt": "2009-03-13T14:34:10.000Z",
"profileUrl": "https://x.com/dvassallo",
"bannerUrl": "https://pbs.twimg.com/profile_banners/24179991/1604969845",
"likesGiven": null,
"mediaCount": null,
"pinnedTweetIds": null
}
],
"page": {
"nextCursor": "AcPt…",
"hasMore": true
}
}Recorded from a live call on . Long text is shortened and the cursor is cut. A live key is charged 2 credits per page (20 rows by default) for this call. A test key returns this same sample for 0 credits.
What it won't do
- Only public data. Protected accounts are not returned.
- The free tools show the first rows of a result. For full exports, use the API.
- Check the rules that apply to the data you export.
Questions
How do I export tweets from an account?
Can I export my own Twitter archive?
Can I export search results?
x.search and page through the results. See search tweets by date.Guides
More ways to use the API
- Access the Twitter API
- Claude Reddit bot
- Live Twitter monitor
- Reddit API application
- Reddit brand monitoring
- Reddit data export
- Reddit post API
- Reddit scraper API
- Social listening API
- Post with the Twitter API
- Twitter API statuses
- Twitter scraper API
- Twitter webhook
- Reddit comments API
- Reddit user API
- Subreddit API
- Twitter followers API
- Twitter user API
- Twitter search API
- Social media scraping API
- Reddit listening tool
- Twitter feed API
- Twitter hashtag API
- Social media analytics API
- Twitter image API