API di Instagram

Instagram Commenti del post API

Elenca i commenti a un post o reel tramite URL con paginazione a cursore: testo, autore, verifica e numero di mi piace.

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

Instagram
instagram.com/p/C8aBcDeFgHi/
·Follow

spacefan Incredible shot 🔭

Sep 16, 202542 likesReply

Add a comment…Post
Cosa ha restituito l'APIcomments[0]
{
"id": "18051843701642870",
"text": "Incredible shot 🔭",
"author": "spacefan",
"verified": false,
"likes": 42,
"createdAt": "2025-09-16T17:03:04.000Z",
"avatarUrl": string,
"createdUtc": number,
... 2 campi in più
}
Disponibilità
99,91%
30d · 529.845 chiamate
Richieste
541.870
30 g · settimanale, ultime 12 sett.
Risposta
1,8s
mediana · 30d

Provalo

Ottieni Instagram Commenti del post 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 `replies`, 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. A named field can still be absent on a comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 8 campi su 14. Vedi tutti i campi

{
  "found": true,
  "data": {
    "comments": [
      {
        "id": "18051843701642870",
        "text": "Incredible shot 🔭",
        "author": "spacefan",
        "verified": false,
        "likes": 42,
        "createdAt": "2025-09-16T17:03:04.000Z"
      }
    ]
  }
}

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-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • urlstring

    https://www.instagram.com/p/C8aBcDeFgHi/

    Full Instagram post or reel URL, carrying the media shortcode: /p/, /reel/, /reels/, or /tv/. A profile URL such as https://www.instagram.com/username names no post, so it is rejected instead of charged for an empty result - send that account's handle to instagram.user_posts to list its posts.

  • cursorstring

    Cursore di paginazione dal nextCursor di una risposta precedente.

  • 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 `replies`, 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. A named field can still be absent on a comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

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

Risposta

JSON, un valore di esempio per campo.

each commentdata.comments[]

Populated whenever the provider has data for the entity.

  • authorstring

    spacefan

    Populated whenever the provider has data for the entity.

  • avatarUrlstring

    URL of the commenting account's profile avatar image.

  • createdUtcnumber

    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

    18051843701642870

    Populated whenever the provider has data for the entity.

  • likesinteger

    42

    Number of likes on the comment. Null when the source does not report it.

  • repliesintegerpuò richiedere

    Number of replies to the comment, which tells you whether instagram.comment_replies has anything to fetch. Null when this source does not report it.

  • textstring

    Incredible shot 🔭

    Populated whenever the provider has data for the entity.

  • userIdstringpuò richiedere

    Instagram user id of the commenting account. Null when this source does not report it.

  • verifiedboolean

    false

datadata
  • nextCursorstring

    Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.

top level
  • foundboolean

    true

  • 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.

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

Vendi questa API? Consulta lo schema completo che il tuo endpoint deve restituire.

FAQ

Sull'API Instagram Commenti del post

L'API Instagram Commenti del post di AnyAPI restituisce dati Instagram come JSON normalizzato da una sola chiamata POST a /v1/run/instagram.post_comments. Elenca i commenti a un post o reel tramite URL con paginazione a cursore: testo, autore, verifica e numero di mi piace. AnyAPI instrada ogni richiesta su 7 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,72 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 99,9% delle chiamate Instagram Commenti del post tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,8 secondi su 529.845 chiamate misurate.

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

Elenca i commenti a un post o reel tramite URL con paginazione a cursore: testo, autore, verifica e numero di mi piace. 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 99,9% delle chiamate Instagram Commenti del post tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,8 secondi su 529.845 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 138 chiamate Instagram Commenti del post a 0,00072 USD ciascuna.

AnyAPI interroga la successiva delle sue 7 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/instagram.post_comments 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.
Altro da chiamare

Altri endpoint di Instagram

Profiloda 0,54 USD /1k richiestePost dell'utenteda 0,68 USD /1k richiestePostda 0,38 USD /1k richiesteReel dell'utenteda 0,68 USD /1k richiesteRicerca hashtagda 1,20 USD /1k richiesteAccount aboutda 2,20 USD /1k richiesteReel con audioda 1,10 USD /1k richiesteProfilo di baseda 0,80 USD /1k richiesteComment likersda 1,10 USD /1k richiesteRisposte ai commentida 1,10 USD /1k richiesteEmbedda 1,20 USD /1k richiesteFollowerda 1,73 USD /1k richiesteSeguitida 1,73 USD /1k richiesteStatistiche dell'hashtagda 1,10 USD /1k richiestePost recenti dell'hashtagda 1,88 USD /1k richiestePost principali dell'hashtagda 1,88 USD /1k richiesteDettaglio dell'highlightda 1,10 USD /1k richiesteLocation detailsda 1,10 USD /1k richiestePost della localitàda 1,10 USD /1k richiesteTrascrizione del mediada 1,20 USD /1k richiesteChi ha messo mi piace al postda 1,10 USD /1k richiesteContatto del profiloda 0,40 USD /1k richiesteTrascrizione del reelda 5,94 USD /1k minuti di audioRicerca reelda 1,88 USD /1k richiesteRicercada 1,26 USD /1k richiesteSearch audioda 1,10 USD /1k richiesteRicerca followerda 2,20 USD /1k richiesteRicerca seguitida 2,20 USD /1k richiesteRicerca localitàda 1,10 USD /1k richiesteRicerca profilida 1,20 USD /1k richiesteRicerca profili con contattida 6,67 USD /1k profiliProfili similida 1,75 USD /1k richiesteStorie completeda 2,20 USD /1k richiesteStorie in versione leggerada 1,88 USD /1k richiesteStoriada 2,20 USD /1k richiesteSuggested profilesda 2,20 USD /1k richiestePost con tagda 1,88 USD /1k richiesteReel di tendenzada 1,20 USD /1k richiesteHighlight dell'utenteda 1,20 USD /1k richiesteUser reels logged inda 1,73 USD /1k richiesteRepost dell'utenteda 1,10 USD /1k richiesteRicerca reel sul webda 1,20 USD /1k richieste