API di X / Twitter

X / Twitter Risposte API

Recupera le risposte a qualsiasi URL di post X (Twitter) come record strutturati: autore, testo e coinvolgimento. Un risultato vuoto è valido e non afferma se il post di destinazione esista.

0,45 USD/1k richieste, paghi a richiesta, nessun abbonamento.

Post
x.com/nasa/status/1846987139428634858

Post

N

nasa

@nasa

M

Mars Watcher@marswatcher · Oct 21, 2024

This never gets old. Godspeed to the next crew.

412340
Cosa ha restituito l'APIitems[0]
{
"id": "1846991234567890111",
"url": "https://x.com/marswatcher/status/1846991234567890111",
"text": "This never gets old. Godspeed to the next crew.",
"authorName": "Mars Watcher",
"authorHandle": "marswatcher",
"replyCount": 4,
"repostCount": 12,
"likeCount": 340,
+4 campi in più
}
Disponibilità
99,98%
30d · 8580 chiamate
Richieste
8581
30 g · settimanale, ultime 12 sett.
Risposta
1,7s
mediana · 30d

Prezzi e provider

Prezzi dell'API X / Twitter Risposte: una sola API, 4 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

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

Provalo

Ottieni X / Twitter Risposte in una sola richiesta

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `nextCursor`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
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": {
    "items": [
      {
        "id": "1846991234567890111",
        "url": "https://x.com/marswatcher/status/1846991234567890111",
        "text": "This never gets old. Godspeed to the next crew.",
        "authorName": "Mars Watcher",
        "authorHandle": "marswatcher",
        "replyCount": 4,
        "repostCount": 12,
        "likeCount": 340,
        "quoteCount": 1,
        "viewCount": 18400,
        "createdUtc": 1729526400,
        "media": []
      },
      {
        "id": "1846991234567890112",
        "url": "https://x.com/rocketrhea/status/1846991234567890112",
        "text": "Watched the launch live from the causeway, the ground shakes more than you would think",
        "authorName": "Rhea Ibarra",
        "authorHandle": "rocketrhea",
        "replyCount": 2,
        "repostCount": 5,
        "likeCount": 96,
        "quoteCount": 0,
        "viewCount": 5200,
        "createdUtc": 1729526460,
        "media": [
          {
            "type": "photo",
            "url": "https://pbs.twimg.com/media/GZreplyLaunchpad.jpg",
            "width": 1200,
            "height": 800
          }
        ]
      },
      {
        "id": "1846991234567890113",
        "url": "https://x.com/coldcoffeeorbit/status/1846991234567890113",
        "text": "",
        "authorName": "Cold Coffee Orbit",
        "authorHandle": "coldcoffeeorbit",
        "replyCount": 0,
        "repostCount": 1,
        "likeCount": 22,
        "quoteCount": 0,
        "viewCount": 1100,
        "createdUtc": 1729526520,
        "media": [
          {
            "type": "video",
            "url": "https://pbs.twimg.com/amplify_video_thumb/1846991234567890113/img/reply_video_poster.jpg",
            "videoUrl": "https://video.twimg.com/amplify_video/1846991234567890113/vid/720x1280/reply_video.mp4",
            "width": 640,
            "height": 360
          }
        ]
      }
    ],
    "conversationId": "1846987139428634858"
  }
}

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/nasa/status/1846987139428634858

    URL completo del post X (Twitter) di cui recuperare le risposte (es. https://x.com/nasa/status/1846987139428634858).

  • cursorstring

    Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of replies.

  • limitinteger

    Numero massimo di risultati da restituire (1-40, predefinito 40). Le fonti a prezzo per risultato costano meno con limiti più bassi; una fonte di riserva che fattura la sua pagina nativa può costare fino al prezzo di richiesta pubblicizzato.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `nextCursor`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.

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

each itemdata.items[]
  • idstring

    1846991234567890111

  • urlstring

    https://x.com/marswatcher/status/1846991234567890111

  • textstring

    This never gets old. Godspeed to the next crew.

  • authorNamestring

    Mars Watcher

  • authorHandlestring

    marswatcher

  • replyCountnumber

    4

  • repostCountnumber

    12

  • likeCountnumber

    340

  • quoteCountnumber

    1

  • viewCountnumber

    18400

  • createdUtcnumber

    1729526400

  • mediaarray
datadata
  • conversationIdstring

    1846987139428634858

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

FAQ

Sull'API X / Twitter Risposte

L'API X / Twitter Risposte di AnyAPI restituisce dati X / Twitter come JSON normalizzato da una sola chiamata POST a /v1/run/twitter.replies. Recupera le risposte a qualsiasi URL di post X (Twitter) come record strutturati: autore, testo e coinvolgimento. Un risultato vuoto è valido e non afferma se il post di destinazione esista. AnyAPI instrada ogni richiesta su 4 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,45 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate X / Twitter Risposte tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,7 secondi su 8580 chiamate misurate.

Costa da 0,45 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.

Recupera le risposte a qualsiasi URL di post X (Twitter) come record strutturati: autore, testo e coinvolgimento. Un risultato vuoto è valido e non afferma se il post di destinazione esista. 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 100,0% delle chiamate X / Twitter Risposte tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,7 secondi su 8580 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 222 chiamate X / Twitter Risposte a 0,00045 USD ciascuna.

AnyAPI interroga la successiva delle sue 4 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/twitter.replies 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.