API de X / Twitter

API de X / Twitter: Artículo

Obtén un artículo largo público de X a partir de la URL de su publicación contenedora, con su autor, interacción, imagen de portada y bloques de contenido estructurados.

US$0.54/1k solic., pagas por solicitud, sin suscripción.

Elena Ward on X: "Why On-Chain Order Books Still Lose to CLOBs" / X
x.com/elenacodes/status/1861234567890123456

Post

Why On-Chain Order Books Still Lose to CLOBs

E

Elena Ward

@elenacodes · Joined April 2015

The latency gap has not closed

Most on-chain order books still settle a block behind centralized limit order books, and that gap is the whole story.


MEV searchers still pick off resting limit orders within the same block window, which is why most serious venues run a hybrid matching engine off-chain and settle on-chain only for custody.

12:00 AM · Sep 17, 2025

212583,420184.3K
Lo que devolvió la APIcontentBlocks[0]
{
"type": "header-two",
"text": "The latency gap has not closed",
"entities": object[],
"height": integer,
"image": string,
"inlineStyles": object[],
"width": integer
}
Disponibilidad
99.95%
30d · 8,813 llamadas
Solicitudes
8,813
30d · semanal, últimas 12 sem.
Respuesta
1.4s
mediana · 30d

Precios

Precios del endpoint Artículo de la API de X / Twitter

Pagas
US$5.40
US$0.54/1k solic., solo por lo que usas. Sin plan mensual.
Tus primeras 185 solicitudes son gratis con el saldo inicial de US$0.10.

Pruébalo

Obtén Artículo de X / Twitter en una sola solicitud

Abrir en
Respuesta de ejemplo
Las ejecuciones gratis devuelven solo los primeros 3 resultados. Agrega fondos a una clave para obtener la respuesta completa.

Este ejemplo muestra 38 de 42 campos. Ver todos los campos

{
  "found": true,
  "data": {
    "id": "1861234567890123456",
    "title": "Why On-Chain Order Books Still Lose to CLOBs",
    "previewText": "A look at the latency and MEV tradeoffs that keep most DEXs running a hybrid model in 2026.",
    "coverImage": "https://pbs.twimg.com/media/GXo1AbCdEfGhIj.jpg",
    "createdUtc": 1758067200,
    "likes": 3420,
    "replies": 212,
    "quotes": 58,
    "views": 184300,
    "author": {
      "id": "930123456789012345",
      "handle": "elenacodes",
      "name": "Elena Ward",
      "url": "https://x.com/elenacodes",
      "verified": false,
      "blueVerified": true,
      "avatarUrl": "https://pbs.twimg.com/profile_images/1758000000000000000/elena_avatar.jpg",
      "coverUrl": "https://pbs.twimg.com/profile_banners/930123456789012345/1740000000",
      "bio": "Building market infra. Previously @Jump. Writing about DeFi microstructure.",
      "location": "New York, NY",
      "followers": 48200,
      "following": 612,
      "createdUtc": 1428192000,
      "posts": 1840,
      "mediaCount": 96
    },
    "contentBlocks": [
      {
        "type": "header-two",
        "text": "The latency gap has not closed"
      },
      {
        "type": "unstyled",
        "text": "Most on-chain order books still settle a block behind centralized limit order books, and that gap is the whole story.",
        "inlineStyles": [
          {
            "style": "BOLD",
            "offset": 0,
            "length": 22
          }
        ],
        "entities": []
      },
      {
        "type": "image",
        "image": "https://pbs.twimg.com/media/GXo1LatencyChart.jpg",
        "width": 1200,
        "height": 675
      },
      {
        "type": "divider"
      },
      {
        "type": "unstyled",
        "text": "MEV searchers still pick off resting limit orders within the same block window, which is why most serious venues run a hybrid matching engine off-chain and settle on-chain only for custody."
      }
    ]
  }
}

Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.

Referencia

Una solicitud, un formato de respuesta.

Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.

Verificado por última vez el 2026-11-14 · disponibilidad y latencia medidas en 30d

Cuerpo de la solicitud

JSON, enviado por POST a este endpoint.

  • urlstring

    https://x.com/elenacodes/status/1861234567890123456

    URL canónica de x.com o twitter.com de la publicación contenedora pública de un artículo de X.

Envías. Un cuerpo JSON pequeño. Los valores que se muestran son ejemplos para reemplazar por los tuyos.

Respuesta

JSON, un valor de ejemplo por campo.

authordata.author

Article author profile at retrieval time. Populated whenever the provider has data for the entity.

  • avatarUrlstring

    https://pbs.twimg.com/profile_images/1758000000000000000/elena_avatar.jpg

    Profile avatar image URL.

  • biostring

    Building market infra. Previously @Jump. Writing about DeFi microstructure.

    Profile biography.

  • blueVerifiedboolean

    true

    Whether the account has X blue verification.

  • coverUrlstring

    https://pbs.twimg.com/profile_banners/930123456789012345/1740000000

    Profile cover image URL when available.

  • createdUtcnumber

    1428192000

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • followersinteger

    48200

    Follower count at retrieval time.

  • followinginteger

    612

    Following count at retrieval time.

  • handlestring

    elenacodes

    Current X handle without @. Populated whenever the provider has data for the entity.

  • idstring

    930123456789012345

    Stable numeric X user ID. Populated whenever the provider has data for the entity.

  • locationstring

    New York, NY

    Self-reported profile location.

  • mediaCountinteger

    96

    Number of media items the author has published.

  • namestring

    Elena Ward

    Profile display name.

  • postsinteger

    1840

    Number of posts the author has published.

  • urlstring

    https://x.com/elenacodes

    Canonical public X profile URL. Populated whenever the provider has data for the entity.

  • verifiedboolean

    false

    Whether the account has legacy verification.

each entitydata.contentBlocks[].entities[]

Entity references within the block text.

  • keyinteger

    Upstream entity table key.

  • lengthinteger

    Entity character length.

  • offsetinteger

    Zero-based character offset.

each contentBlockdata.contentBlocks[]

Ordered, explicitly normalized article blocks. Unknown future block types remain representable through type and optional fields. Populated whenever the provider has data for the entity.

  • heightinteger

    Image height in pixels when supplied.

  • imagestring

    Canonical image URL for an image block.

  • textstring

    The latency gap has not closed

    Text content for a text-bearing block.

  • typestring

    header-two

    Block type reported by X, such as unstyled, header-two, image, divider, blockquote, or list item. Populated whenever the provider has data for the entity.

  • widthinteger

    Image width in pixels when supplied.

each inlineStyledata.contentBlocks[].inlineStyles[]

Formatting ranges within the block text.

  • lengthinteger

    Formatted character length.

  • offsetinteger

    Zero-based character offset.

  • stylestring

    Inline style name reported by X.

datadata

Normalized public article, or null when the wrapper post is not an article.

  • coverImagestring

    https://pbs.twimg.com/media/GXo1AbCdEfGhIj.jpg

    Canonical article cover image URL when available.

  • createdUtcnumber

    1758067200

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.

  • idstring

    1861234567890123456

    Stable X Article entity ID. Populated whenever the provider has data for the entity.

  • likesinteger

    3420

    Wrapper post like count at retrieval time.

  • previewTextstring

    A look at the latency and MEV tradeoffs that keep most DEXs running a hybrid model in 2026.

    Preview text supplied by X.

  • quotesinteger

    58

    Wrapper post quote count at retrieval time.

  • repliesinteger

    212

    Wrapper post reply count at retrieval time.

  • titlestring

    Why On-Chain Order Books Still Lose to CLOBs

    Article title. Populated whenever the provider has data for the entity.

  • viewsinteger

    184300

    Wrapper post view count at retrieval time.

top level
  • foundboolean

    true

    True when the wrapper post contains a public X Article.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Recibes. Campos con nombre y tipo, con el mismo formato sin importar qué fuente responda.

Preguntas frecuentes

Acerca del endpoint Artículo de la API de X / Twitter

El endpoint Artículo de AnyAPI para X / Twitter devuelve datos de X / Twitter como JSON normalizado con una sola llamada POST a /v1/run/twitter.article. Obtén un artículo largo público de X a partir de la URL de su publicación contenedora, con su autor, interacción, imagen de portada y bloques de contenido estructurados. AnyAPI devuelve un único esquema normalizado sin importar qué fuente atienda la solicitud. Cuesta desde US$0.54 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 100.0% de las llamadas al endpoint Artículo de la API de X / Twitter a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.4 segundos en 8813 llamadas medidas.

Cuesta desde US$0.54 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. Agregas fondos a una billetera en dólares y cada llamada descuenta de ella. Algunas solicitudes fallidas pagadas con la billetera generan cargos de procesamiento que trasladamos al costo, sin margen; la respuesta de error muestra el monto cobrado.

Obtén un artículo largo público de X a partir de la URL de su publicación contenedora, con su autor, interacción, imagen de portada y bloques de contenido estructurados. La respuesta es JSON normalizado con el mismo envoltorio que devuelve cada endpoint de AnyAPI, así que procesar un segundo endpoint es solo cambiar la URL.

En los últimos 30 días, el 100.0% de las llamadas al endpoint Artículo de la API de X / Twitter a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.4 segundos en 8813 llamadas medidas. Estas son mediciones propias de AnyAPI sobre el tráfico que pasa por el gateway, recalculadas continuamente, no un objetivo de nivel de servicio publicado.

Sí. Una cuenta nueva de AnyAPI empieza con US$0.10 de saldo gratis, sin tarjeta, que alcanza para 185 llamadas a Artículo de X / Twitter a US$0.00054 cada una.

Envía una solicitud POST a https://api.getanyapi.com/v1/run/twitter.article con tu clave de AnyAPI en un encabezado "Authorization: Bearer" y la entrada como cuerpo JSON. La misma clave y la misma billetera sirven para todos los endpoints de AnyAPI.

No. Agregas dólares a un solo saldo prepagado de AnyAPI y cada solicitud descuenta de él. No hay plan mensual ni mínimo, y el mismo saldo paga todos los endpoints de AnyAPI.

Sí. Instala @getanyapi/sdk desde npm para TypeScript o getanyapi desde pip para Python. Ambos llaman a todos los endpoints de AnyAPI con la misma clave, y también sirve cualquier cliente HTTP.

Sí. Un agente puede conectarse al servidor MCP de AnyAPI en https://api.getanyapi.com/mcp, o crear su propia clave de prueba gratis con un solo POST sin autenticar a https://api.getanyapi.com/agent/signup y llamar a este endpoint por HTTP.