Tweet Edit History: How to See Every Version (2026)
See any tweet edit history with the Last edited button, or pull every version by API. X's true edit window, a real example and a script that diffs edits.
Tarun Khatri
Published · Updated · 7 min read
Tweet edit history is one tap away: open the post on X and tap "Last edited" to see every earlier version.
This works on any public post on X (Twitter), in the app or on the web. Developers also get the API route and a script that shows what changed. We run Weir, the API in Step 3.
Fetch every version of a post with one call:
curl https://api.weirapp.io/v1/x/posts/1666263252685451264/edits \
-H "Authorization: Bearer $WEIR_API_KEY"
- Spot the labelEdited posts show an edited icon and a Last edited button.
- Open the historyTap Last edited to see every published version.
- Know the rulesPremium users get an hour and up to 5 edits.
- Fetch by APIGET /v1/x/posts/{id}/edits returns every version.
- Diff the textA short Python script shows what changed.
Step 1: Spot the "Last edited" label on a post
You can spot an edited post by its edited icon and label. X's Help Center says they are there "to let people on X know" the post changed.
Open the post to be sure. If it was edited, you'll see a Last edited button, which X calls the place "where you can see edit history."
If you see no button, the post was never edited.
Step 2: Open the tweet edit history in the app or on the web
To see tweet edit history, follow the same steps in the X app or on x.com:
- Open the post. Pick it from your feed so it opens on its own.
- Tap or click "Last edited". The history opens.
- Read each version. You get every earlier version that went public, with its text and media.
Looking needs no Premium. X's Help Center says "everyone can click into the edited post to see any previous published versions."
Each version also keeps its own counts: X's developer docs say a like goes to the version on screen when you tap it.
You can see this on a real post. On 7 June 2023, X's own @Subscriptions account changed "30 minutes" to "1 hour" in a post. It made the edit 16 seconds after posting. We pulled both versions on 22 October 2026:
The original still has its own 10 likes. Almost every view went to the edit, the version X shows on the post.
How long can you edit a tweet, and who can?
If you have X Premium, X's Help Center gives you a 1-hour window. Within it, you can make up to 5 edits to an original post or a quote.
X's developer docs give a different window, so here are both, side by side:
| Rule | X Help Center | X developer docs |
|---|---|---|
| Edit window | 1 hour | 30 minutes |
| Edits per post | Up to 5 | Up to 5 |
| Who can edit | X Premium subscribers | Not stated |
| Not editable | Threads, replies, polls | Replies to others, polls, ads |
Trust the Help Center on the window. The @Subscriptions post above is X announcing the hour, back when the subscription was called Blue.
TechCrunch reported that switch from 30 minutes on the same day. The developer page still shows the old number.
Step 3: Get tweet edit history with an API
To check tweet edit history in code, you pass a post id to Weir's edits endpoint and get every version back, newest first. The id is the digits after /status/ in the post's URL.
We made this call on 22 October 2026. It returned two versions for 3 credits, one for the call and one per version. The data array, trimmed:
[
{
"id": "1666263252685451264",
"text": "Blue subscribers now have up to 1 hour to edit their Tweets.",
"createdAt": "2023-06-07T01:58:11.000Z",
"likeCount": 5903
},
{
"id": "1666263185756930050",
"text": "Blue subscribers now have up to 30 minutes to edit their Tweets.",
"createdAt": "2023-06-07T01:57:55.000Z",
"likeCount": 10
}
]
You get each version as a full post with its own id, time and counts. Our tweet ID to date tool reads the same times from the ids alone.
You can pass either id. We also tried the original's, and the same two versions came back.
If you pass a post that was never edited, you get an empty list for 1 credit. The endpoint reference has every field.
Step 4: Print each version and diff the text
This script lists the versions oldest first, then shows the words that changed between each pair. You need Python 3 and requests:
import difflib, os, sys, requests
url = f"https://api.weirapp.io/v1/x/posts/{sys.argv[1]}/edits" # digits after /status/
r = requests.get(url, timeout=60,
headers={"Authorization": f"Bearer {os.environ['WEIR_API_KEY']}"})
r.raise_for_status()
versions = r.json()["data"][::-1] # Weir sends newest first, so flip it
if not versions: sys.exit("No edit history: never edited, or the post is gone.")
for n, post in enumerate(versions, 1):
print(f"v{n} {post['createdAt'][:19].replace('T', ' ')} {post['text']}")
for n in range(1, len(versions)):
old, new = versions[n - 1]["text"].split(), versions[n]["text"].split()
for op, a, b, c, d in difflib.SequenceMatcher(None, old, new).get_opcodes():
if op != "equal":
print(f"v{n}->v{n + 1} - {' '.join(old[a:b])} + {' '.join(new[c:d])}")
Save it as edit_history.py and pass a post id:
python edit_history.py 1666263252685451264
On the @Subscriptions post it prints:
v1 2023-06-07 01:57:55 Blue subscribers now have up to 30 minutes to edit their Tweets.
v2 2023-06-07 01:58:11 Blue subscribers now have up to 1 hour to edit their Tweets.
v1->v2 - 30 minutes + 1 hour
The diff works on words, so you'll see a fixed typo as one word swapped for another. New to Weir in Python? Our guide on getting tweets with Python covers keys and paging.
Step 5: Read edit_history_tweet_ids with the X API v2
X's own API puts edit data on every post. The edit_history_tweet_ids field comes back by default, oldest id first, and a single id means the post was never edited.
Ask for edit_controls to see whether a post can still change:
is_edit_eligiblesays whether the post can be edited.editable_untilis the time the window closes.edits_remainingcounts the edits left, from 0 to 5.
This is X's documented lookup, with our post's id:
curl -G https://api.x.com/2/tweets/1666263252685451264 \
-d tweet.fields=edit_controls -d expansions=edit_history_tweet_ids \
-H "Authorization: Bearer $X_BEARER_TOKEN"
The expansion puts the older versions in includes.tweets. X returns the newest version by default, and edit data exists only for posts made since 29 September 2022.
As of October 2026, X bills you $0.005 per post read. Our X API pricing guide has the rest of the rate card.
Why can't I see a tweet's edit history?
- It was never edited. No Last edited button, no history.
- The post was deleted. Per X's docs, deleting one version deletes them all. By API, two deleted 2022 posts came back as an empty list in our test, not a 404.
- It's older than editing. X's docs say edit data starts with posts from 29 September 2022.
- The change came before posting. Undo post lets authors change a post before it goes public, so there's no earlier version.
When not to use Weir
- You check one post by hand. The Last edited button is free.
- You already pull posts from X's API.
edit_history_tweet_idscomes with every post, while Weir needs one call per post. - A contract with X is required, or first-party data for compliance.
- Posting or editing is the job. Weir is read-only.
X's Terms of Service, effective 9 October 2026, say you "cannot scrape the Services without X's express written permission." Check what applies to you. This isn't legal advice.
FAQ
How do I see edit history on Twitter?
Open the post on X and tap "Last edited" to see every earlier version, in the app or on the web. No button means the post was never edited. By API, use Weir's edits endpoint or X's edit_history_tweet_ids field.
Can everyone view a tweet's edit history?
Yes. X's Help Center says everyone can open an edited post's earlier versions. You need Premium to edit, not to look. An author can only hide old versions by deleting the post, which removes them all.
How long do you have to edit a tweet on X?
One hour, per X's Help Center as of October 2026. X's developer docs still say 30 minutes, the rule before June 2023. Edits work on original posts and quotes, not on replies.
Can you edit a tweet without people knowing?
No. Every edited post shows an edited label, and its old versions stay public. To fix a post before anyone sees it, use Undo post, which holds it back before it goes public.
Sources
All checked on 22 October 2026:
- X Help Center, About Edit post (Wayback copy of 10 May 2026; the live page blocks our reader): https://help.x.com/en/using-x/edit-post
- X API, Edit Posts: https://docs.x.com/x-api/fundamentals/edit-posts
- X API pricing: https://docs.x.com/x-api/getting-started/pricing
- TechCrunch, edit window raised to one hour (7 June 2023): https://techcrunch.com/2023/06/07/twitter-increases-window-to-edit-tweets-to-one-hour-for-blue-subscribers/
- X Terms of Service, effective 9 October 2026 (Wayback copy of 17 October 2026): https://x.com/en/tos
- Weir getXPostEdits reference: https://docs.weirapp.io/reference/x/getXPostEdits
- Both versions of the @Subscriptions post, read through Weir's API: https://x.com/Subscriptions/status/1666263252685451264 and https://x.com/Subscriptions/status/1666263185756930050