> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-mintlify-45ea47f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Post Lookup

> The Post lookup endpoints allow you to retrieve one or more Posts by their IDs. Reference for the X API v2 standard tier covering lookup.

export const Button = ({href, children}) => {
  return <div className="not-prose">
    <a href={href}>
      <button className="x-btn">
        <span>{children}</span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

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.

<CardGroup cols={2}>
  <Card title="Single Post" icon="https://mintcdn.com/x-preview-mintlify-45ea47f4/RyXSZo6W2LKKBLQl/icons/xds/icon-chat.svg?fit=max&auto=format&n=RyXSZo6W2LKKBLQl&q=85&s=faa06c76828488bc8fda71744c7b4aee" width="24" height="24" data-path="icons/xds/icon-chat.svg">
    Retrieve a specific Post by ID
  </Card>

  <Card title="Multiple Posts" icon="messages">
    Retrieve up to 100 Posts in one request
  </Card>

  <Card title="Edit History" icon="https://mintcdn.com/x-preview-mintlify-45ea47f4/K-I8KKjmrm4q8QsH/icons/xds/icon-history.svg?fit=max&auto=format&n=K-I8KKjmrm4q8QsH&q=85&s=59023ad3574a338cb72a4cef3fa5c5d9" width="24" height="24" data-path="icons/xds/icon-history.svg">
    Access the complete edit history of a Post
  </Card>

  <Card title="Expanded Objects" icon="diagram-project">
    Include author, media, polls, and more
  </Card>
</CardGroup>

***

## 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

| Method | Endpoint                                       | Description                                |
| :----- | :--------------------------------------------- | :----------------------------------------- |
| GET    | [`/2/tweets/:id`](/x-api/posts/get-post-by-id) | Retrieve a single Post by ID               |
| GET    | [`/2/tweets`](/x-api/posts/get-posts-by-ids)   | Retrieve multiple Posts by IDs (up to 100) |

***

## Getting started

<Note>
  **Prerequisites**

  * An approved [developer account](https://developer.x.com/en/portal/petition/essential/basic-info)
  * A [Project and App](/resources/fundamentals/developer-apps) in the Developer Console
  * Your App's [keys and tokens](/resources/fundamentals/authentication)
</Note>

<CardGroup cols={2}>
  <Card title="Quickstart" icon="https://mintcdn.com/x-preview-mintlify-45ea47f4/T8lvMvQ5wQNxdAZT/icons/xds/icon-rocket.svg?fit=max&auto=format&n=T8lvMvQ5wQNxdAZT&q=85&s=723dc51456edadde7cd0fa44ea6c2d92" href="/x-api/posts/lookup/quickstart" width="24" height="24" data-path="icons/xds/icon-rocket.svg">
    Make your first Post lookup request
  </Card>

  <Card title="Integration guide" icon="https://mintcdn.com/x-preview-mintlify-45ea47f4/LvcZrMyqjkuD8Pax/icons/xds/icon-book.svg?fit=max&auto=format&n=LvcZrMyqjkuD8Pax&q=85&s=355d6a0bee5ab9615e613841f4170181" href="/x-api/posts/lookup/integrate" width="24" height="24" data-path="icons/xds/icon-book.svg">
    Learn key concepts and best practices
  </Card>

  <Card title="API Reference" icon="https://mintcdn.com/x-preview-mintlify-45ea47f4/RyXSZo6W2LKKBLQl/icons/xds/icon-code.svg?fit=max&auto=format&n=RyXSZo6W2LKKBLQl&q=85&s=f7fcecd3d0c3515481ef91ee79f9cf59" href="/x-api/posts/get-post-by-id" width="24" height="24" data-path="icons/xds/icon-code.svg">
    See full endpoint documentation
  </Card>

  <Card title="Sample code" icon="github" href="https://github.com/xdevplatform/Twitter-API-v2-sample-code">
    Explore code examples
  </Card>
</CardGroup>
