API di Instagram

Instagram Profilo API

Profilo pubblico di un handle: nome, bio, categoria, numero di follower/seguiti e avatar.

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

NASA (@nasa) • Instagram photos and videos
instagram.com/nasa/
nasaFollowMessage
4,120 posts97.4M followers78 following

NASA

Science

Exploring the universe and our home planet.

nasa.gov

POSTS REELS TAGGED
Cosa ha restituito l'API
{
"handle": "nasa",
"displayName": "NASA",
"bio": "Exploring the universe and our home planet.",
"category": "Science",
"verified": true,
"followers": 97400000,
"following": 78,
"posts": 4120,
... 9 campi in più
}
Disponibilità
100,00%
30d · 655.923 chiamate
Richieste
662.961
30 g · settimanale, ultime 12 sett.
Risposta
1,5s
mediana · 30d

Provalo

Ottieni Instagram Profilo in una sola richiesta

requireFieldsarray
Facoltativo; se lo ometti l'instradamento resta invariato, e serve la fonte più economica. Indica i campi di output che questa richiesta deve poter restituire, per esempio `contactMethod`, e verrà servita solo da una fonte che li restituisce tutti. I campi che non indichi vengono comunque restituiti ogni volta che la fonte che serve li ha. Può far salire il prezzo: quando la fonte più economica non può restituire un campo indicato, serve una fonte più cara, e ti viene quotato e addebitato il suo prezzo. Un campo indicato può comunque mancare su un profilo che davvero non lo ha. Indicare una combinazione che nessuna singola fonte restituisce insieme viene rifiutato come input non valido, senza addebito.
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 12 campi su 65. Vedi tutti i campi

{
  "found": true,
  "data": {
    "handle": "nasa",
    "displayName": "NASA",
    "bio": "Exploring the universe and our home planet.",
    "category": "Science",
    "verified": true,
    "followers": 97400000,
    "following": 78,
    "posts": 4120,
    "avatarUrl": "https://instagram.com/nasa/avatar.jpg",
    "externalUrl": "https://www.nasa.gov"
  }
}

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.

  • handlestring

    nasa

    Username Instagram senza @ iniziale.

  • requireFieldsarray

    Facoltativo; se lo ometti l'instradamento resta invariato, e serve la fonte più economica. Indica i campi di output che questa richiesta deve poter restituire, per esempio `contactMethod`, e verrà servita solo da una fonte che li restituisce tutti. I campi che non indichi vengono comunque restituiti ogni volta che la fonte che serve li ha. Può far salire il prezzo: quando la fonte più economica non può restituire un campo indicato, serve una fonte più cara, e ti viene quotato e addebitato il suo prezzo. Un campo indicato può comunque mancare su un profilo che davvero non lo ha. Indicare una combinazione che nessuna singola fonte restituisce insieme viene rifiutato come input non valido, senza addebito.

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

Risposta

JSON, un valore di esempio per campo.

datadata
  • avatarUrlstring

    https://instagram.com/nasa/avatar.jpg

    Profile picture URL. Often the highest resolution the account exposes, but it can be a 150 by 150 pixel version. Populated whenever the provider has data for the entity.

  • biostring

    Exploring the universe and our home planet.

    Profile biography text. Populated whenever the provider has data for the entity.

  • categorystringpuò richiedere

    Science

    Instagram's category label for the account (for example "Government Agencies" or "Coffee shop"). Absent when the account publishes no category. Null when the serving source does not report it; name category in requireFields to get it.

  • contactMethodstringpuò richiedere

    The contact button Instagram shows on the profile, for example CALL, TEXT, EMAIL, or UNKNOWN. Absent when the account exposes no contact button. Instagram no longer publishes the underlying email or phone number to unauthenticated callers.

  • displayNamestring

    NASA

    Account display name. Populated whenever the provider has data for the entity.

  • externalUrlstring

    https://www.nasa.gov

    The single website link on the profile. Absent when the account publishes no link. Populated whenever the provider has data for the entity.

  • followersinteger

    97400000

    Follower count.

  • followinginteger

    78

    Number of accounts this account follows.

  • handlestring

    nasa

    Instagram username without the leading @. Populated whenever the provider has data for the entity.

  • highlightsCountintegerpuò richiedere

    Number of story highlights pinned on the profile. Null when this source does not report it.

  • isBusinessbooleanpuò richiedere

    Whether Instagram flags the account as a business account. Null when the serving source does not report it; name isBusiness in requireFields to get it.

  • postsintegerpuò richiedere

    4120

    Total number of posts on the account. On some responses this is rounded from the count Instagram displays (for example 1.2M), so it can be approximate; name posts in requireFields for an exact count. Null when the serving source does not report it.

  • privateboolean

    Whether the account is private.

  • userIdstring

    Instagram's numeric account id, as a string. Populated whenever the provider has data for the entity.

  • verifiedboolean

    true

    Whether the account carries Instagram's verified badge.

each bioLinkdata.bioLinks[]

Every link the account publishes in its bio, in the order Instagram returns them. Business accounts often list several here while externalUrl carries only the first. Populated whenever the provider has data for the entity.

  • titlestring

    Display label for the link, empty when the account set none.

  • urlstring

    Destination URL, exactly as the account published it.

each latestPostdata.latestPosts[]

The account's most recent posts, up to about 12. Best-effort: returned when you name latestPosts in requireFields, or whenever the serving source has them, and absent otherwise. Each post has the same fields as instagram.user_posts returns, except that verified, likes, comments and createdUtc are absent when the source does not report them. Empty when the account is private or has not posted.

  • audioIdstring

    Instagram audio id of the post's sound, licensed track or original audio, the audioId instagram.audio_reels takes to list other reels using it. Absent when the post has no sound. Null when the serving source does not report it.

  • avatarUrlstring

    Profile picture URL of the posting account.

  • captionstringpuò richiedere
  • carouselCountinteger

    Number of slides, present on carousel posts only. Null when the serving source does not report it.

  • commentsintegerpuò richiedere
  • countsHiddenbooleanpuò richiedere

    Whether the author has hidden the like and view counts. Null when the serving source does not report it.

  • createdUtcnumberpuò richiedere

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • displayNamestring

    Display name of the posting account.

  • durationSecondsnumberpuò richiedere

    Video duration in seconds. Absent on photo posts.

  • hashtagsstring[]può richiedere

    Hashtags carried in the caption, each including its leading #.

  • idstringpuò richiedere

    Instagram media id.

  • isPinnedbooleanpuò richiedere

    Whether the post is pinned to the top of a profile grid. On a collaboration post this can be true because a coauthor pinned it to their own profile. Null when the serving source does not report it.

  • likesintegerpuò richiedere
  • locationIdstring

    Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.

  • locationLatnumber

    Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.

  • locationLngnumber

    Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.

  • locationNamestring

    Name of the location the post is tagged at. Null when the serving source does not report it.

  • mentionsstring[]può richiedere

    Accounts @mentioned in the caption, each including its leading @.

  • paidPartnershipbooleanpuò richiedere

    Whether the post is tagged as a paid partnership. Null when the serving source does not report it.

  • productTypestringpuò richiedere

    Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.

  • resharesinteger

    Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.

  • soundAuthorstring

    Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Null when the serving source does not report it.

  • soundTitlestring

    Name of the sound on a reel or a post with music. "Original audio" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Null when the serving source does not report it.

  • urlstring
  • userIdstring

    Instagram user id of the posting account. Null when the serving source does not report it.

  • usernamestringpuò richiedere

    Username of the account that posted. A profile feed includes collaborator posts, so this is not always the requested handle.

  • verifiedboolean

    True when the posting account is verified.

  • viewsintegerpuò richiedere

    Play count, present on video posts and reels only.

each coauthordata.latestPosts[].coauthors[]

Accounts listed as coauthors of the post. Null when the serving source does not report it.

  • displayNamestring

    Account display name.

  • userIdstring

    Instagram's numeric account id, as a string.

  • usernamestringpuò richiedere

    Instagram username without the leading @.

  • verifiedboolean

    Whether the account carries Instagram's verified badge.

each mediadata.latestPosts[].media[]

Photo, video, and GIF attachments on the post. Empty when the post has none.

  • heightinteger

    Pixel height of the media item, when the lane reports it.

  • typestring

    One of photo, video, or gif.

  • urlstring

    Image URL. For a video or GIF this is the poster/thumbnail frame.

  • videoUrlstring

    Playable video file URL. Present only for video and gif items.

  • widthinteger

    Pixel width of the media item, when the lane reports it.

each taggedUserdata.latestPosts[].taggedUsers[]

Accounts tagged in the media. Null when the serving source does not report it.

  • displayNamestring

    Account display name.

  • userIdstring

    Instagram's numeric account id, as a string.

  • usernamestringpuò richiedere

    Instagram username without the leading @.

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 Profilo

L'API Instagram Profilo di AnyAPI restituisce dati Instagram come JSON normalizzato da una sola chiamata POST a /v1/run/instagram.profile. Profilo pubblico di un handle: nome, bio, categoria, numero di follower/seguiti e avatar. AnyAPI instrada ogni richiesta su 8 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,54 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate Instagram Profilo tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,5 secondi su 655.923 chiamate misurate.

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

Profilo pubblico di un handle: nome, bio, categoria, numero di follower/seguiti e avatar. 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 Instagram Profilo tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,5 secondi su 655.923 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 185 chiamate Instagram Profilo a 0,00054 USD ciascuna.

AnyAPI interroga la successiva delle sue 8 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.profile 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

Post dell'utenteda 0,68 USD /1k richiestePostda 0,38 USD /1k richiesteReel dell'utenteda 0,68 USD /1k richiesteCommenti del postda 0,72 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