API X / Twitter

X / Twitter Статья API

Возвращает публичную длинную статью X по URL публикации-обёртки, включая автора, вовлечённость, обложку и структурированные блоки содержимого.

0,49 USD/1 тыс. запросов, оплата за запрос, без подписки.

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
Что вернул APIcontentBlocks[0]
{
"type": "header-two",
"text": "The latency gap has not closed",
"entities": object[],
"height": integer,
"image": string,
"inlineStyles": object[],
"width": integer
}
Доступность
99,92%
30d · Вызовов: 10 395
Запросы
10 395
30 дн. · по неделям, последние недель: 12
Ответ
1,2s
медиана · 30d

Цены

Цена API X / Twitter Статья

Вы платите
4,90 USD
0,49 USD/1 тыс. запросов, только за то, чем пользуетесь. Без ежемесячного тарифа.
Ваши первые запросы (204) бесплатны за счёт стартового баланса 0,10 USD.

Попробовать

Получите X / Twitter Статья одним запросом

Открыть в
Пример ответа
Бесплатные запуски возвращают только первые результаты: 3. Пополните ключ, чтобы получить полный ответ.

В этом примере показано полей: 38 из 42. Все поля

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

Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.

Справочник

Один запрос, один формат ответа.

Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.

Проверено 2026-11-21 · доступность и задержка измерены за 30d

Тело запроса

JSON, отправляется на этот эндпоинт.

  • urlstring

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

    Канонический URL x.com или twitter.com публичной публикации-обёртки для статьи в X.

Вы отправляете. Небольшое тело JSON. Показанные значения это примеры, замените их своими.

Ответ

JSON, по одному примеру значения на поле.

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.

Вы получаете. Именованные типизированные поля в одном формате, какой бы источник ни ответил.

Вопросы и ответы

Об API X / Twitter Статья

AnyAPI X / Twitter Статья API возвращает данные X / Twitter в виде нормализованного JSON одним вызовом POST к /v1/run/twitter.article. Возвращает публичную длинную статью X по URL публикации-обёртки, включая автора, вовлечённость, обложку и структурированные блоки содержимого. AnyAPI возвращает одну нормализованную схему, какой бы источник ни ответил. Это стоит от 0,49 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 99,9% вызовов X / Twitter Статья через AnyAPI завершились успешно, медианное время ответа 1,2 с, измерено вызовов: 10 395.

Это стоит от 0,49 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. Вы пополняете один кошелёк в долларах США, и каждый вызов списывает с него. По некоторым неудавшимся запросам, оплаченным из кошелька, возникают расходы на обработку; мы передаём их по себестоимости, без наценки, а сумма списания указана в ответе с ошибкой.

Возвращает публичную длинную статью X по URL публикации-обёртки, включая автора, вовлечённость, обложку и структурированные блоки содержимого. Ответ это нормализованный JSON с тем же конвертом, что возвращает каждый эндпоинт AnyAPI, поэтому разбор второго эндпоинта это смена URL и ничего больше.

За последние 30 дней 99,9% вызовов X / Twitter Статья через AnyAPI завершились успешно, медианное время ответа 1,2 с, измерено вызовов: 10 395. Это собственные измерения AnyAPI по трафику через шлюз, пересчитываемые непрерывно, а не опубликованный целевой уровень обслуживания.

Да. Новый аккаунт AnyAPI стартует с бесплатным балансом 0,10 USD, карта не нужна. Этого хватает на 204 вызовов X / Twitter Статья по 0,00049 USD за каждый.

Отправьте запрос POST на https://api.getanyapi.com/v1/run/twitter.article с вашим ключом AnyAPI в заголовке "Authorization: Bearer" и входными данными в теле JSON. Один и тот же ключ и один и тот же кошелёк работают на каждом эндпоинте AnyAPI.

Нет. Вы пополняете один предоплаченный баланс AnyAPI в долларах США, и каждый запрос списывает с него. Ежемесячного тарифа и минимума нет, а один и тот же баланс оплачивает каждый эндпоинт AnyAPI.

Да. Установите @getanyapi/sdk из npm для TypeScript или getanyapi из pip для Python. Оба вызывают любой эндпоинт AnyAPI с одним и тем же ключом, а ещё подойдёт любой HTTP-клиент.

Да. Агент может подключиться к MCP-серверу AnyAPI по адресу https://api.getanyapi.com/mcp или создать собственный бесплатный пробный ключ одним POST без аутентификации на https://api.getanyapi.com/agent/signup и вызывать этот эндпоинт по HTTP.