Skip to main content
The Post lookup endpoints allow you to retrieve one or more Posts by their IDs. Use these endpoints to get up-to-date Post details, verify Post availability, or examine edit history.

Overview

Posts are the core content on X. Each Post can contain:
  • Up to 280 characters of text
  • Attached media (images, videos, GIFs)
  • Polls, places, and URLs
  • Replies, quotes, and mentions
Posts can be edited up to 5 times within 30 minutes of creation. Each edit generates a new Post ID, and the edit history is preserved.

Single Post

Retrieve a specific Post by ID

Multiple Posts

Retrieve up to 100 Posts in one request

Edit History

Access the complete edit history of a Post

Expanded Objects

Include author, media, polls, and more

Use cases

  • Display Post content — Show Post details in your application
  • Verify availability — Check if a Post still exists or was deleted
  • Compliance management — Track Post changes for compliance events
  • Analytics — Retrieve engagement metrics for specific Posts

Endpoints

MethodEndpointDescription
GET/2/tweets/:idRetrieve a single Post by ID
GET/2/tweetsRetrieve multiple Posts by IDs (up to 100)

Getting started

Prerequisites