GETtweets

Track Tweet Edits Over Time

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

Code Examples

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));
Response
{
  "data": [
    { "text": "Original tweet text", "edited_at": null },
    { "text": "Updated tweet text with correction", "edited_at": "2025-01-15T12:00:00Z" }
  ]
}

API Reference

GET/v1/twitter/tweets/tweet/{tweet_id}/edit_history
ParameterTypeRequiredDescription
tweet_idstringRequiredThe tweet ID to get edit history for

Use Cases

Media Monitoring

Track how news stories propagate on Twitter, measure story amplification, and identify key distributors of information.

Academic Research

Collect large-scale Twitter datasets for computational social science, NLP research, political analysis, and network studies.

Brand Monitoring

Get alerts when your brand is mentioned, track share of voice, and respond quickly to customer feedback or PR crises.

Political Analysis

Study political discourse, election campaigns, policy discussions, and public opinion using large-scale tweet datasets.

Bot Detection

Identify automated accounts and inauthentic behavior by analyzing posting patterns, account metadata, and network structures.

Social Listening

Monitor brand mentions, keywords, and conversations across Twitter in real time to understand public sentiment and emerging topics.

Frequently Asked Questions

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.