API X / Twitter

X / Twitter Article API

Obtenez un article long public de X à partir de l’URL de sa publication enveloppe, avec son auteur, son engagement, son image de couverture et ses blocs de contenu structurés.

0,49 $US/1k req, paiement à la requête, sans abonnement.

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
Ce que l’API a renvoyécontentBlocks[0]
{
"type": "header-two",
"text": "The latency gap has not closed",
"entities": object[],
"height": integer,
"image": string,
"inlineStyles": object[],
"width": integer
}
Disponibilité
99,92%
30d · 10 395 appels
Requêtes
10 395
30 j · par semaine, 12 dernières sem.
Réponse
1,2s
médiane · 30d

Tarifs

Tarifs de l’API X / Twitter Article

Vous payez
4,90 $US
0,49 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 204 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

Essayer

Obtenez X / Twitter Article en une requête

Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
Les exécutions gratuites ne renvoient que les 3 premiers résultats. Alimentez une clé pour obtenir la réponse complète.

Cet exemple affiche 38 champs sur 42. Voir tous les champs

{
  "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."
      }
    ]
  }
}

Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.

Référence

Une requête, une seule forme de réponse.

Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.

Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d

Corps de la requête

JSON, envoyé à cet endpoint.

  • urlstring

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

    URL canonique x.com ou twitter.com de la publication publique qui enveloppe un article X.

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

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.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

FAQ

À propos de l’API X / Twitter Article

L’API X / Twitter Article d’AnyAPI renvoie des données X / Twitter en JSON normalisé à partir d’un appel POST à /v1/run/twitter.article. Obtenez un article long public de X à partir de l’URL de sa publication enveloppe, avec son auteur, son engagement, son image de couverture et ses blocs de contenu structurés. AnyAPI renvoie un schéma normalisé unique quelle que soit la source qui répond. Elle coûte à partir de 0,49 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 99,9% des appels X / Twitter Article passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,2 secondes, sur 10 395 appels mesurés.

Elle coûte à partir de 0,49 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

Obtenez un article long public de X à partir de l’URL de sa publication enveloppe, avec son auteur, son engagement, son image de couverture et ses blocs de contenu structurés. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

Ces 30 derniers jours, 99,9% des appels X / Twitter Article passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,2 secondes, sur 10 395 appels mesurés. Ce sont les propres mesures d’AnyAPI du trafic passant par la passerelle, recalculées en continu, et non un objectif de niveau de service publié.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 204 appels X / Twitter Article à 0,00049 $US chacun.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/twitter.article avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.