Access the full edit history of any tweet. See what changed, when it was edited, and compare versions for accountability and research.
Average response time: 80ms
const response = await fetch(
'https://scrapebadger.com/v1/twitter/tweets/tweet/1234567890/edit_history',
{ headers: { 'x-api-key': 'YOUR_API_KEY' } }
);
const history = await response.json();
history.data.forEach(v => console.log(v.text, v.edited_at));{
"data": [
{ "text": "Original tweet text", "edited_at": null },
{ "text": "Updated tweet text with correction", "edited_at": "2025-01-15T12:00:00Z" }
]
}/v1/twitter/tweets/tweet/{tweet_id}/edit_history| Parameter | Type | Required | Description |
|---|---|---|---|
tweet_id | string | Required | The tweet ID to get edit history for |
Track how news stories propagate on Twitter, measure story amplification, and identify key distributors of information.
Collect large-scale Twitter datasets for computational social science, NLP research, political analysis, and network studies.
Get alerts when your brand is mentioned, track share of voice, and respond quickly to customer feedback or PR crises.
Study political discourse, election campaigns, policy discussions, and public opinion using large-scale tweet datasets.
Identify automated accounts and inauthentic behavior by analyzing posting patterns, account metadata, and network structures.
Monitor brand mentions, keywords, and conversations across Twitter in real time to understand public sentiment and emerging topics.
Only tweets from Twitter Blue/Premium subscribers can be edited, and only within 30 minutes of posting.
A tweet can be edited up to 5 times within the 30-minute editing window.
The API returns each version's full text. You can diff versions yourself to see exact changes.
Yes. Journalists and researchers use edit history to track how public figures modify their statements.
Sign up for free and get 1,000 API credits instantly. No credit card required.