API di X / Twitter

X / Twitter Thread API

Risolvi il self-thread lineare che contiene un post X (Twitter), dalla radice alle continuazioni collegate dell'autore. Esclude le risposte di altri utenti.

3,75 USD/1k richieste, paghi a richiesta, nessun abbonamento.

Post
x.com/buildwithjonah/status/1842093771280384512

Post

J

Jonah Ruiz

@buildwithjonah

Spent the last 6 months building a data pipeline that normalizes 40 scraper APIs into one schema. Here is what broke, and what I would do differently. A thread.

4:00 PM · Sep 26, 2024 · 284K Views

964123,8201,540
J

Jonah Ruiz@buildwithjonah

First lesson: every provider's error format is different. We ended up writing a translation layer just to know whether a failure meant retry, or never retry.

Cosa ha restituito l'APItweets[0]
{
"id": "1842093771280384512",
"url": "https://x.com/buildwithjonah/status/1842093771280384512",
"text": "Spent the last 6 months building a data pipeline that normalizes 40 scraper APIs into one schema. Here is what broke, and what I would do differently. A thread.",
"conversationId": "1842093771280384512",
"inReplyToId": null,
"authorId": "1401882093771280384",
"authorHandle": "buildwithjonah",
"authorName": "Jonah Ruiz",
+11 campi in più
}
Disponibilità
97,65%
30d · 469 chiamate
Richieste
471
30 g · settimanale, ultime 12 sett.
Risposta
3,7s
mediana · 30d

Prezzi

Prezzi dell'API X / Twitter Thread

Paghi
37,50 USD
3,75 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 26 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni X / Twitter Thread in una sola richiesta

Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.
{
  "found": true,
  "data": {
    "conversationId": "1842093771280384512",
    "threadLength": 3,
    "complete": true,
    "author": {
      "id": "1401882093771280384",
      "handle": "buildwithjonah",
      "name": "Jonah Ruiz"
    },
    "tweets": [
      {
        "id": "1842093771280384512",
        "url": "https://x.com/buildwithjonah/status/1842093771280384512",
        "text": "Spent the last 6 months building a data pipeline that normalizes 40 scraper APIs into one schema. Here is what broke, and what I would do differently. A thread.",
        "conversationId": "1842093771280384512",
        "inReplyToId": null,
        "authorId": "1401882093771280384",
        "authorHandle": "buildwithjonah",
        "authorName": "Jonah Ruiz",
        "media": [],
        "createdUtc": 1727366400,
        "likeCount": 3820,
        "replyCount": 96,
        "repostCount": 412,
        "quoteCount": 28,
        "viewCount": 284000,
        "bookmarkCount": 1540,
        "lang": "en",
        "isReply": false,
        "source": "Twitter Web App"
      },
      {
        "id": "1842093771280450048",
        "url": "https://x.com/buildwithjonah/status/1842093771280450048",
        "text": "First lesson: every provider's error format is different. We ended up writing a translation layer just to know whether a failure meant retry, or never retry.",
        "conversationId": "1842093771280384512",
        "inReplyToId": "1842093771280384512",
        "authorId": "1401882093771280384",
        "authorHandle": "buildwithjonah",
        "authorName": "Jonah Ruiz",
        "media": [
          {
            "type": "photo",
            "url": "https://pbs.twimg.com/media/F9k2QoQWkAA_error_flow.jpg",
            "width": 1600,
            "height": 900
          }
        ],
        "createdUtc": 1727366460,
        "likeCount": 1240,
        "replyCount": 31,
        "repostCount": 88,
        "quoteCount": 5,
        "viewCount": 91000,
        "bookmarkCount": 512,
        "lang": "en",
        "isReply": true,
        "source": "Twitter Web App"
      },
      {
        "id": "1842093771280516096",
        "url": "https://x.com/buildwithjonah/status/1842093771280516096",
        "text": "Second lesson: pagination cursors are never portable across providers. We had to build our own cursor abstraction to keep client code simple.",
        "conversationId": "1842093771280384512",
        "inReplyToId": "1842093771280450048",
        "authorId": "1401882093771280384",
        "authorHandle": "buildwithjonah",
        "authorName": "Jonah Ruiz",
        "media": [],
        "createdUtc": 1727366520,
        "likeCount": 980,
        "replyCount": 22,
        "repostCount": 64,
        "quoteCount": 3,
        "viewCount": 68000,
        "bookmarkCount": 401,
        "lang": "en",
        "isReply": true,
        "source": "Twitter Web App"
      }
    ],
    "url": "https://x.com/buildwithjonah",
    "verified": true,
    "blueVerified": true,
    "avatarUrl": "https://pbs.twimg.com/profile_images/1401882093771280384/jonah_400x400.jpg",
    "coverUrl": "https://pbs.twimg.com/profile_banners/1401882093771280384/1700000000",
    "bio": "Building data infra. Previously eng @Segment. Writing about pipelines and APIs.",
    "location": "Denver, CO",
    "followers": 41200,
    "following": 512,
    "createdUtc": 1517443200
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-10-07 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • urlstring

    https://x.com/buildwithjonah/status/1842093771280384512

    URL canonico x.com o twitter.com dello stato con un ID tweet numerico. Si può indicare qualsiasi tweet del self-thread; il provider risale alla radice del thread.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

  • foundboolean

    true

datadata
  • conversationIdstring

    1842093771280384512

  • threadLengthnumber

    3

  • completeboolean

    true

  • urlstring

    https://x.com/buildwithjonah

  • verifiedboolean

    true

  • blueVerifiedboolean

    true

  • avatarUrlstring

    https://pbs.twimg.com/profile_images/1401882093771280384/jonah_400x400.jpg

  • coverUrlstring

    https://pbs.twimg.com/profile_banners/1401882093771280384/1700000000

  • biostring

    Building data infra. Previously eng @Segment. Writing about pipelines and APIs.

  • locationstring

    Denver, CO

  • followersnumber

    41200

  • followingnumber

    512

  • createdUtcnumber

    1517443200

authordata.author
  • idstring

    1401882093771280384

  • handlestring

    buildwithjonah

  • namestring

    Jonah Ruiz

each tweetdata.tweets[]
  • idstring

    1842093771280384512

  • urlstring

    https://x.com/buildwithjonah/status/1842093771280384512

  • textstring

    Spent the last 6 months building a data pipeline that normalizes 40 scraper APIs into one schema. Here is what broke, and what I would do differently. A thread.

  • conversationIdstring

    1842093771280384512

  • inReplyToIdnull

    null

  • authorIdstring

    1401882093771280384

  • authorHandlestring

    buildwithjonah

  • authorNamestring

    Jonah Ruiz

  • mediaarray
  • createdUtcnumber

    1727366400

  • likeCountnumber

    3820

  • replyCountnumber

    96

  • repostCountnumber

    412

  • quoteCountnumber

    28

  • viewCountnumber

    284000

  • bookmarkCountnumber

    1540

  • langstring

    en

  • isReplyboolean

    false

  • sourcestring

    Twitter Web App

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API X / Twitter Thread

L'API X / Twitter Thread di AnyAPI restituisce dati X / Twitter come JSON normalizzato da una sola chiamata POST a /v1/run/twitter.thread. Risolvi il self-thread lineare che contiene un post X (Twitter), dalla radice alle continuazioni collegate dell'autore. Esclude le risposte di altri utenti. AnyAPI restituisce un unico schema normalizzato qualunque fonte la serva. Costa da 3,75 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 97,7% delle chiamate X / Twitter Thread tramite AnyAPI è riuscito, con un tempo di risposta mediano di 3,7 secondi su 469 chiamate misurate.

Costa da 3,75 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Risolvi il self-thread lineare che contiene un post X (Twitter), dalla radice alle continuazioni collegate dell'autore. Esclude le risposte di altri utenti. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 97,7% delle chiamate X / Twitter Thread tramite AnyAPI è riuscito, con un tempo di risposta mediano di 3,7 secondi su 469 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 26 chiamate X / Twitter Thread a 0,00375 USD ciascuna.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/twitter.thread con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.