API Instagram

Instagram Publications de l’utilisateur API

Grille paginée des publications et reels d’un profil avec légendes, URL des médias et engagement. Paginez avec le champ cursor.

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

nasa (@nasa) • Instagram photos and videos
instagram.com/nasa/
nasaFollow
POSTS REELS TAGGED
1.8M9,200
Ce que l’API a renvoyéposts[0]
{
"id": "3401000000000000000",
"url": "https://www.instagram.com/p/C8aBcDeFgHi/",
"caption": "A new view of the Pillars of Creation.",
"likes": 1840000,
"comments": 9200,
"createdUtc": 1717945200,
"username": "nasa",
"verified": true,
... 23 champs de plus
}
Disponibilité
99,90%
30d · 444 354 appels
Requêtes
449 478
30 j · par semaine, 12 dernières sem.
Réponse
2,6s
médiane · 30d

Tarifs et fournisseurs

Tarifs de l’API Instagram Publications de l’utilisateur : une API, 8 fournisseurs interchangeables

Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.

Un fournisseur marqué Hors service a cessé de répondre de façon fiable et a été retiré de la rotation, donc vos appels vont aux autres. Il est remis en service de lui-même dès qu’il répond de nouveau de façon fiable.

Vous payez
6,80 $US
0,68 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 147 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

Essayer

Obtenez Instagram Publications de l’utilisateur en une requête

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 `locationName`, 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 post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
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 48. Voir tous les champs

{
  "found": true,
  "data": {
    "nextCursor": "QVFEX2Z",
    "posts": [
      {
        "id": "3401000000000000000",
        "url": "https://www.instagram.com/p/C8aBcDeFgHi/",
        "caption": "A new view of the Pillars of Creation.",
        "likes": 1840000,
        "comments": 9200,
        "createdUtc": 1717945200,
        "username": "nasa",
        "verified": true
      }
    ]
  }
}

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.

  • cursorstring

    0

    Curseur de pagination issu du nextCursor d’une réponse précédente.

  • 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 `locationName`, 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 post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

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

    QVFEX2Z

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

each postdata.posts[]

Populated whenever the provider has data for the entity.

  • audioIdstringpeut exiger

    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.

  • captionstring

    A new view of the Pillars of Creation.

    Populated whenever the provider has data for the entity.

  • carouselCountintegerpeut exiger

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

  • commentsinteger

    9200

  • countsHiddenbooleanpeut exiger

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

  • createdUtcnumber

    1717945200

    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[]

    Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.

  • idstring

    3401000000000000000

    Instagram media id. Populated whenever the provider has data for the entity.

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

  • likesinteger

    1840000

  • locationIdstringpeut exiger

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

  • locationLatnumberpeut exiger

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

  • locationLngnumberpeut exiger

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

  • locationNamestringpeut exiger

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

  • mentionsstring[]

    Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.

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

  • resharesintegerpeut exiger

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

  • soundAuthorstringpeut exiger

    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.

  • soundTitlestringpeut exiger

    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

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

    Populated whenever the provider has data for the entity.

  • userIdstring

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

  • usernamestring

    nasa

    Username of the account that posted. A profile feed includes collaborator posts, so this is not always the requested handle. Populated whenever the provider has data for the entity.

  • verifiedboolean

    true

    True when the posting account is verified.

  • viewsinteger

    Play count, present on video posts and reels only.

each coauthordata.posts[].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.

  • usernamestring

    Instagram username without the leading @.

  • verifiedboolean

    Whether the account carries Instagram's verified badge.

each mediadata.posts[].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.posts[].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.

  • usernamestring

    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 Publications de l’utilisateur

L’API Instagram Publications de l’utilisateur d’AnyAPI renvoie des données Instagram en JSON normalisé à partir d’un appel POST à /v1/run/instagram.user_posts. Grille paginée des publications et reels d’un profil avec légendes, URL des médias et engagement. Paginez avec le champ cursor. AnyAPI route chaque requête sur 8 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 0,68 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 99,9% des appels Instagram Publications de l’utilisateur passés par AnyAPI ont réussi, avec un temps de réponse médian de 2,6 secondes, sur 444 354 appels mesurés.

Elle coûte à partir de 0,68 $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é.

Grille paginée des publications et reels d’un profil avec légendes, URL des médias et engagement. Paginez avec le champ cursor. 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, 99,9% des appels Instagram Publications de l’utilisateur passés par AnyAPI ont réussi, avec un temps de réponse médian de 2,6 secondes, sur 444 354 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 147 appels Instagram Publications de l’utilisateur à 0,00068 $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.user_posts 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

Profilà partir de 0,54 $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