API Instagram

Instagram Profil API

Profil public d’un identifiant : nom, bio, catégorie, nombres d’abonnés/abonnements et avatar.

0,54 $US/1k req, paiement à la requête, sans abonnement.

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
Ce que l’API a renvoyé
{
"handle": "nasa",
"displayName": "NASA",
"bio": "Exploring the universe and our home planet.",
"category": "Science",
"verified": true,
"followers": 97400000,
"following": 78,
"posts": 4120,
... 9 champs de plus
}
Disponibilité
100,00%
30d · 655 923 appels
Requêtes
662 961
30 j · par semaine, 12 dernières sem.
Réponse
1,5s
médiane · 30d

Essayer

Obtenez Instagram Profil en une requête

requireFieldsarray
Facultatif ; omettez-le et le routage est inchangé, la source la moins chère répondant. Nommez les champs de sortie que cette requête doit pouvoir renvoyer, par exemple `contactMethod`, et elle n’est servie que par une source qui les renvoie tous. Les champs que vous ne nommez pas sont quand même renvoyés chaque fois que la source qui répond les possède. Cela peut augmenter votre prix : quand la source la moins chère ne peut pas renvoyer un champ nommé, une source plus chère répond, et vous êtes facturé à son prix. Un champ nommé peut quand même être absent sur un profil qui en est réellement dépourvu. Nommer une combinaison qu’aucune source unique ne renvoie ensemble est refusé comme entrée invalide, sans frais.
Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
Les exécutions gratuites ne renvoient que les 3 premiers résultats. Alimentez une clé pour obtenir la réponse complète.

Cet exemple affiche 12 champs sur 65. Voir tous les champs

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

Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.

Référence

Une requête, une seule forme de réponse.

Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.

Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d

Corps de la requête

JSON, envoyé à cet endpoint.

  • handlestring

    nasa

    Nom d’utilisateur Instagram sans le @ initial.

  • requireFieldsarray

    Facultatif ; omettez-le et le routage est inchangé, la source la moins chère répondant. Nommez les champs de sortie que cette requête doit pouvoir renvoyer, par exemple `contactMethod`, et elle n’est servie que par une source qui les renvoie tous. Les champs que vous ne nommez pas sont quand même renvoyés chaque fois que la source qui répond les possède. Cela peut augmenter votre prix : quand la source la moins chère ne peut pas renvoyer un champ nommé, une source plus chère répond, et vous êtes facturé à son prix. Un champ nommé peut quand même être absent sur un profil qui en est réellement dépourvu. Nommer une combinaison qu’aucune source unique ne renvoie ensemble est refusé comme entrée invalide, sans frais.

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

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.

  • categorystringpeut exiger

    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.

  • contactMethodstringpeut exiger

    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.

  • highlightsCountintegerpeut exiger

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

  • isBusinessbooleanpeut exiger

    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.

  • postsintegerpeut exiger

    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.

  • captionstringpeut exiger
  • carouselCountinteger

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

  • commentsintegerpeut exiger
  • countsHiddenbooleanpeut exiger

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

  • createdUtcnumberpeut exiger

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

  • displayNamestring

    Display name of the posting account.

  • durationSecondsnumberpeut exiger

    Video duration in seconds. Absent on photo posts.

  • hashtagsstring[]peut exiger

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

  • idstringpeut exiger

    Instagram media id.

  • isPinnedbooleanpeut exiger

    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.

  • likesintegerpeut exiger
  • 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[]peut exiger

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

  • paidPartnershipbooleanpeut exiger

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

  • productTypestringpeut exiger

    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.

  • usernamestringpeut exiger

    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.

  • viewsintegerpeut exiger

    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.

  • usernamestringpeut exiger

    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.

  • usernamestringpeut exiger

    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.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

Vous vendez cette API ? Consultez le schéma complet que votre endpoint doit renvoyer.

FAQ

À propos de l’API Instagram Profil

L’API Instagram Profil d’AnyAPI renvoie des données Instagram en JSON normalisé à partir d’un appel POST à /v1/run/instagram.profile. Profil public d’un identifiant : nom, bio, catégorie, nombres d’abonnés/abonnements et avatar. AnyAPI route chaque requête sur 8 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 0,54 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels Instagram Profil passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,5 secondes, sur 655 923 appels mesurés.

Elle coûte à partir de 0,54 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

Profil public d’un identifiant : nom, bio, catégorie, nombres d’abonnés/abonnements et avatar. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

Ces 30 derniers jours, 100,0% des appels Instagram Profil passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,5 secondes, sur 655 923 appels mesurés. Ce sont les propres mesures d’AnyAPI du trafic passant par la passerelle, recalculées en continu, et non un objectif de niveau de service publié.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 185 appels Instagram Profil à 0,00054 $US chacun.

AnyAPI interroge la suivante de ses 8 sources dans la même requête, la moins chère d’abord, donc la panne d’une source ne fait pas échouer votre appel.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/instagram.profile avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.
À appeler aussi

Autres endpoints Instagram

Publications de l’utilisateurà partir de 0,68 $US /1k reqPublicationà partir de 0,38 $US /1k reqReels de l’utilisateurà partir de 0,68 $US /1k reqCommentaires de la publicationà partir de 0,72 $US /1k reqRecherche de hashtagà partir de 1,20 $US /1k reqAccount aboutà partir de 2,20 $US /1k reqReels audioà partir de 1,10 $US /1k reqProfil de baseà partir de 0,80 $US /1k reqComment likersà partir de 1,10 $US /1k reqRéponses aux commentairesà partir de 1,10 $US /1k reqIntégrationà partir de 1,20 $US /1k reqAbonnésà partir de 1,73 $US /1k reqAbonnementsà partir de 1,73 $US /1k reqStatistiques de hashtagà partir de 1,10 $US /1k reqPublications récentes d’un hashtagà partir de 1,88 $US /1k reqPublications les plus populaires d’un hashtagà partir de 1,88 $US /1k reqDétail de la story à la uneà partir de 1,10 $US /1k reqLocation detailsà partir de 1,10 $US /1k reqPublications d’un lieuà partir de 1,10 $US /1k reqTranscription du médiaà partir de 1,20 $US /1k reqMentions J’aime de la publicationà partir de 1,10 $US /1k reqContact du profilà partir de 0,40 $US /1k reqTranscription du reelà partir de 5,94 $US /1k minutes audioRecherche de reelsà partir de 1,88 $US /1k reqRechercheà partir de 1,26 $US /1k reqSearch audioà partir de 1,10 $US /1k reqRecherche d’abonnésà partir de 2,20 $US /1k reqRecherche d’abonnementsà partir de 2,20 $US /1k reqRecherche de lieuxà partir de 1,10 $US /1k reqRecherche de profilsà partir de 1,20 $US /1k reqRecherche de profils (contact)à partir de 6,67 $US /1k profilsProfils similairesà partir de 1,75 $US /1k reqStories (version complète)à partir de 2,20 $US /1k reqStories (version légère)à partir de 1,88 $US /1k reqStoryà partir de 2,20 $US /1k reqSuggested profilesà partir de 2,20 $US /1k reqPublications identifiéesà partir de 1,88 $US /1k reqReels tendanceà partir de 1,20 $US /1k reqStories à la une de l’utilisateurà partir de 1,20 $US /1k reqUser reels logged inà partir de 1,73 $US /1k reqRepublications de l’utilisateurà partir de 1,10 $US /1k reqRecherche de reels sur le webà partir de 1,20 $US /1k req