API de Instagram

API de Instagram: Perfil

Perfil público de un nombre de usuario: nombre, biografía, categoría, número de seguidores y seguidos, y avatar.

US$0.90/1k solic., pagas por solicitud, sin suscripción.

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
Lo que devolvió la API
{
"handle": "nasa",
"displayName": "NASA",
"bio": "Exploring the universe and our home planet.",
"category": "Science",
"verified": true,
"followers": 97400000,
"following": 78,
"posts": 4120,
... 9 campos más
}
Disponibilidad
100.00%
30d · 436,746 llamadas
Solicitudes
442,722
30d · semanal, últimas 12 sem.
Respuesta
1.4s
mediana · 30d

Pruébalo

Obtén Perfil de Instagram en una sola solicitud

requireFieldsarray
Opcional; si lo omites, el enrutamiento no cambia y atiende la fuente más barata. Indica los campos de salida que esta solicitud debe poder devolver, por ejemplo `contactMethod`, y solo la atenderá una fuente que los devuelva todos. Los campos que no indiques se siguen devolviendo siempre que la fuente que atiende los tenga. Esto puede subir tu precio: cuando la fuente más barata no puede devolver un campo indicado, atiende una fuente más cara, y se te cotiza y cobra su precio. Un campo indicado puede faltar igualmente en un perfil que realmente no lo tenga. Indicar una combinación que ninguna fuente devuelve junta se rechaza como entrada no válida, sin cargo.
Abrir en
Respuesta de ejemplo
Las ejecuciones gratis devuelven solo los primeros 3 resultados. Agrega fondos a una clave para obtener la respuesta completa.

Este ejemplo muestra 12 de 65 campos. Ver todos los campos

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

Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.

Referencia

Una solicitud, un formato de respuesta.

Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.

Verificado por última vez el 2026-11-14 · disponibilidad y latencia medidas en 30d

Cuerpo de la solicitud

JSON, enviado por POST a este endpoint.

  • handlestring

    nasa

    Nombre de usuario de Instagram sin la @ inicial.

  • requireFieldsarray

    Opcional; si lo omites, el enrutamiento no cambia y atiende la fuente más barata. Indica los campos de salida que esta solicitud debe poder devolver, por ejemplo `contactMethod`, y solo la atenderá una fuente que los devuelva todos. Los campos que no indiques se siguen devolviendo siempre que la fuente que atiende los tenga. Esto puede subir tu precio: cuando la fuente más barata no puede devolver un campo indicado, atiende una fuente más cara, y se te cotiza y cobra su precio. Un campo indicado puede faltar igualmente en un perfil que realmente no lo tenga. Indicar una combinación que ninguna fuente devuelve junta se rechaza como entrada no válida, sin cargo.

Envías. Un cuerpo JSON pequeño. Los valores que se muestran son ejemplos para reemplazar por los tuyos.

Respuesta

JSON, un valor de ejemplo por 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.

  • categorystringse puede exigir

    Science

    Instagram's category label for the account (for example "Government Agencies" or "Coffee shop"). Absent when the account publishes no category.

  • contactMethodstringse puede exigir

    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.

  • highlightsCountintegerse puede exigir

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

  • isBusinessbooleanse puede exigir

    Whether Instagram flags the account as a business account.

  • postsintegerse puede exigir

    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.

  • captionstringse puede exigir
  • carouselCountinteger

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

  • commentsintegerse puede exigir
  • countsHiddenboolean

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

  • createdUtcnumberse puede exigir

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

  • displayNamestring

    Display name of the posting account.

  • durationSecondsnumberse puede exigir

    Video duration in seconds. Absent on photo posts.

  • hashtagsstring[]se puede exigir

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

  • idstringse puede exigir

    Instagram media id.

  • isPinnedbooleanse puede exigir

    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.

  • likesintegerse puede exigir
  • 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[]se puede exigir

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

  • paidPartnershipboolean

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

  • productTypestring

    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.

  • usernamestringse puede exigir

    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.

  • viewsintegerse puede exigir

    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.

  • usernamestringse puede exigir

    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.

  • usernamestringse puede exigir

    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.

Recibes. Campos con nombre y tipo, con el mismo formato sin importar qué fuente responda.

¿Vendes esta API? Consulta el esquema completo que debe devolver tu endpoint.

Preguntas frecuentes

Acerca del endpoint Perfil de la API de Instagram

El endpoint Perfil de AnyAPI para Instagram devuelve datos de Instagram como JSON normalizado con una sola llamada POST a /v1/run/instagram.profile. Perfil público de un nombre de usuario: nombre, biografía, categoría, número de seguidores y seguidos, y avatar. AnyAPI enruta cada solicitud entre 6 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$0.90 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 100.0% de las llamadas al endpoint Perfil de la API de Instagram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.4 segundos en 436.746 llamadas medidas.

Cuesta desde US$0.90 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. Agregas fondos a una billetera en dólares y cada llamada descuenta de ella. Algunas solicitudes fallidas pagadas con la billetera generan cargos de procesamiento que trasladamos al costo, sin margen; la respuesta de error muestra el monto cobrado.

Perfil público de un nombre de usuario: nombre, biografía, categoría, número de seguidores y seguidos, y avatar. La respuesta es JSON normalizado con el mismo envoltorio que devuelve cada endpoint de AnyAPI, así que procesar un segundo endpoint es solo cambiar la URL.

En los últimos 30 días, el 100.0% de las llamadas al endpoint Perfil de la API de Instagram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.4 segundos en 436.746 llamadas medidas. Estas son mediciones propias de AnyAPI sobre el tráfico que pasa por el gateway, recalculadas continuamente, no un objetivo de nivel de servicio publicado.

Sí. Una cuenta nueva de AnyAPI empieza con US$0.10 de saldo gratis, sin tarjeta, que alcanza para 111 llamadas a Perfil de Instagram a US$0.0009 cada una.

AnyAPI consulta la siguiente de sus 6 fuentes en la misma solicitud, empezando por la más barata, así que la caída de una fuente no hace fallar tu llamada.

Envía una solicitud POST a https://api.getanyapi.com/v1/run/instagram.profile con tu clave de AnyAPI en un encabezado "Authorization: Bearer" y la entrada como cuerpo JSON. La misma clave y la misma billetera sirven para todos los endpoints de AnyAPI.

No. Agregas dólares a un solo saldo prepagado de AnyAPI y cada solicitud descuenta de él. No hay plan mensual ni mínimo, y el mismo saldo paga todos los endpoints de AnyAPI.

Sí. Instala @getanyapi/sdk desde npm para TypeScript o getanyapi desde pip para Python. Ambos llaman a todos los endpoints de AnyAPI con la misma clave, y también sirve cualquier cliente HTTP.

Sí. Un agente puede conectarse al servidor MCP de AnyAPI en https://api.getanyapi.com/mcp, o crear su propia clave de prueba gratis con un solo POST sin autenticar a https://api.getanyapi.com/agent/signup y llamar a este endpoint por HTTP.
Más para llamar

Otros endpoints de Instagram

Publicaciones del usuariodesde US$0.80 /1k solic.Publicacióndesde US$0.50 /1k solic.Reels del usuariodesde US$0.80 /1k solic.Comentarios de la publicacióndesde US$0.80 /1k solic.Búsqueda por hashtagdesde US$1.20 /1k solic.Reels con un audiodesde US$1.10 /1k solic.Perfil básicodesde US$1.00 /1k solic.Comment likersdesde US$1.10 /1k solic.Respuestas a comentariosdesde US$1.10 /1k solic.Código de insercióndesde US$1.20 /1k solic.Seguidoresdesde US$1.73 /1k solic.Seguidosdesde US$1.73 /1k solic.Analítica de hashtagdesde US$1.10 /1k solic.Publicaciones recientes de un hashtagdesde US$1.88 /1k solic.Publicaciones destacadas de un hashtagdesde US$1.88 /1k solic.Detalle de historia destacadadesde US$1.10 /1k solic.Location detailsdesde US$1.10 /1k solic.Publicaciones de una ubicacióndesde US$1.10 /1k solic.Transcripción de contenidodesde US$1.20 /1k solic.Cuentas que dieron me gustadesde US$1.10 /1k solic.Contacto del perfildesde US$1.75 /1k solic.Transcripción de reeldesde US$5.94 /1k minutos de audioBúsqueda de Reelsdesde US$1.88 /1k solic.Buscardesde US$1.26 /1k solic.Buscar seguidoresdesde US$2.20 /1k solic.Buscar seguidosdesde US$2.20 /1k solic.Buscar ubicacionesdesde US$1.10 /1k solic.Buscar perfilesdesde US$1.20 /1k solic.Buscar perfiles con contactodesde US$6.67 /1k perfilesPerfiles similaresdesde US$1.75 /1k solic.Historias (completo)desde US$2.20 /1k solic.Historias (resumido)desde US$1.88 /1k solic.Suggested profilesdesde US$2.20 /1k solic.Publicaciones etiquetadasdesde US$1.88 /1k solic.Reels en tendenciadesde US$1.20 /1k solic.Historias destacadasdesde US$1.20 /1k solic.User reels logged indesde US$1.73 /1k solic.Publicaciones compartidasdesde US$1.10 /1k solic.Búsqueda de Reels en la webdesde US$1.20 /1k solic.