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

# Quote Posts

> El endpoint de Quote Posts te permite recuperar Posts que citan un Post específico. Referencia del nivel estándar de X API v2 sobre quote tweets.

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>;
};

El endpoint de Quote Posts te permite recuperar Posts que citan un Post específico. Ve cómo los usuarios comentan y comparten contenido.

## Descripción general

<CardGroup cols={2}>
  <Card title="Consulta de citas" icon="quote-right">
    Obtén todos los Quote Posts de un Post
  </Card>

  <Card title="Perspectiva de interacción" icon="https://mintcdn.com/x-preview-mintlify-143107c1/r6g1kiGndqT3mXyl/icons/xds/icon-bar-chart.svg?fit=max&auto=format&n=r6g1kiGndqT3mXyl&q=85&s=f1998155095364f773b47d7a5379099d" width="24" height="24" data-path="icons/xds/icon-bar-chart.svg">
    Ve cómo se discute el contenido
  </Card>
</CardGroup>

***

## Endpoint

| Method | Endpoint                                                      | Description                        |
| :----- | :------------------------------------------------------------ | :--------------------------------- |
| GET    | [`/2/tweets/:id/quote_tweets`](/x-api/posts/get-quoted-posts) | Obtiene los Quote Posts de un Post |

***

## Ejemplo de solicitud

```bash theme={null}
curl "https://api.x.com/2/tweets/1234567890/quote_tweets?\
tweet.fields=created_at,author_id,public_metrics&\
expansions=author_id&\
user.fields=username" \
  -H "Authorization: Bearer $BEARER_TOKEN"
```

## Ejemplo de respuesta

```json title="Ejemplo de respuesta" lines wrap icon="https://mintcdn.com/x-preview-mintlify-143107c1/r6g1kiGndqT3mXyl/icons/xds/icon-brackets.svg?fit=max&auto=format&n=r6g1kiGndqT3mXyl&q=85&s=88ceb60b966b22f08f4a1d35eefb6484" theme={null}
{
  "data": [
    {
      "id": "9876543210",
      "text": "Great point! This is exactly what we need.",
      "author_id": "1111111111",
      "created_at": "2024-01-15T10:30:00.000Z"
    }
  ],
  "includes": {
    "users": [
      {
        "id": "1111111111",
        "username": "example_user"
      }
    ]
  },
  "meta": {
    "result_count": 1
  }
}
```

***

## Cómo empezar

<Note>
  **Requisitos previos**

  * Una [cuenta de desarrollador](https://developer.x.com/en/portal/petition/essential/basic-info) aprobada
  * Un [Project y App](/resources/fundamentals/developer-apps) en la Developer Console
  * Las [keys y tokens](/resources/fundamentals/authentication) de tu App
</Note>

<CardGroup cols={2}>
  <Card title="Quickstart" icon="https://mintcdn.com/x-preview-mintlify-143107c1/LjDupcgIJeQhUrTV/icons/xds/icon-rocket.svg?fit=max&auto=format&n=LjDupcgIJeQhUrTV&q=85&s=ab9d87f67ff2827df976c782467c9fe1" href="/x-api/posts/quote-tweets/quickstart" width="24" height="24" data-path="icons/xds/icon-rocket.svg">
    Obtén los Quote Posts de un Post
  </Card>

  <Card title="Referencia de la API" icon="https://mintcdn.com/x-preview-mintlify-143107c1/-vUZNvNnsedeyKnT/icons/xds/icon-code.svg?fit=max&auto=format&n=-vUZNvNnsedeyKnT&q=85&s=1df744166b46c62535ed328bca70d1c0" href="/x-api/posts/get-quoted-posts" width="24" height="24" data-path="icons/xds/icon-code.svg">
    Documentación completa del endpoint
  </Card>
</CardGroup>
