API Instagram

Instagram Publications les plus populaires d’un hashtag API

Les publications les mieux classées par Instagram pour un hashtag, lues dans son flux de hashtag en direct plutôt que dans un index de recherche web, avec les nombres de vues, de mentions J’aime et de commentaires. Beaucoup de reels et classées par engagement, donc elles répondent à ce qui performe sur un tag en ce moment. Pour des résultats plus anciens classés par pertinence avec des filtres de date et de type de média, utilisez instagram.search_hashtag ; pour le flux chronologique, utilisez instagram.hashtag_recent_posts.

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

#skincare hashtag on Instagram
instagram.com/explore/tags/skincare/
#

#skincare

Follow
TOPRECENT
Ce que l’API a renvoyéposts[0]
{
"id": "3481029384756211903",
"shortcode": "C8mN4tXo7qP",
"url": "https://www.instagram.com/p/C8mN4tXo7qP/",
"caption": "The five step routine that finally cleared my skin, saved you a trip to the dermatologist #skincare #skincareroutine #glowup",
"username": "glow.by.nadia",
"avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg",
"verified": false,
"views": 4820000,
... 19 champs de plus
}
Disponibilité
99,94%
30d · 212 826 appels
Requêtes
219 333
30 j · par semaine, 12 dernières sem.
Réponse
5,2s
médiane · 30d

Tarifs et fournisseurs

Tarifs de l’API Instagram Publications les plus populaires d’un hashtag : une API, 2 fournisseurs interchangeables

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

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

Essayer

Obtenez Instagram Publications les plus populaires d’un hashtag 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 `soundTitle`, 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 20 champs sur 41. Voir tous les champs

{
  "found": true,
  "data": {
    "nextCursor": "QVFDMWJhc3NpY0dGellYSjBhbTF2",
    "posts": [
      {
        "id": "3481029384756211903",
        "shortcode": "C8mN4tXo7qP",
        "url": "https://www.instagram.com/p/C8mN4tXo7qP/",
        "caption": "The five step routine that finally cleared my skin, saved you a trip to the dermatologist #skincare #skincareroutine #glowup",
        "username": "glow.by.nadia",
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg",
        "verified": false,
        "views": 4820000,
        "likes": 318400,
        "comments": 6215,
        "createdUtc": 1725580800,
        "durationSeconds": 42.5,
        "media": [
          {
            "type": "video",
            "url": "https://scontent.cdninstagram.com/v/t51.2885-15/skincare-routine-cover.jpg",
            "videoUrl": "https://scontent.cdninstagram.com/v/t50.16885-16/skincare-routine.mp4"
          }
        ]
      },
      {
        "id": "3481029384756212014",
        "shortcode": "C8mOaB1s9zR",
        "url": "https://www.instagram.com/p/C8mOaB1s9zR/",
        "caption": "Ingredient breakdown: niacinamide vs vitamin C, which one goes first #skincaretips",
        "username": "derma.notes",
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/derma-notes-profile.jpg",
        "verified": true,
        "likes": 94100,
        "comments": 1802,
        "createdUtc": 1725494400,
        "media": [
          {
            "type": "photo",
            "url": "https://scontent.cdninstagram.com/v/t51.29350-15/ingredient-chart-cover.jpg"
          }
        ]
      },
      {
        "id": "3481029384756212167",
        "shortcode": "C8mPQd7oXyT",
        "url": "https://www.instagram.com/p/C8mPQd7oXyT/",
        "caption": "Sunscreen is not optional, reapply every two hours if you are outside #spf #skincare",
        "username": "sunscreen.diaries",
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/sunscreen-diaries-profile.jpg",
        "verified": false,
        "views": 1230000,
        "likes": 72300,
        "comments": 941,
        "createdUtc": 1725408000,
        "durationSeconds": 18,
        "media": [
          {
            "type": "video",
            "url": "https://scontent.cdninstagram.com/v/t51.2885-15/spf-reminder-cover.jpg",
            "videoUrl": "https://scontent.cdninstagram.com/v/t50.16885-16/spf-reminder.mp4"
          }
        ]
      }
    ]
  }
}

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.

  • hashtagstring

    skincare

    Hashtag à récupérer, sans le # initial.

  • cursorstring

    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 `soundTitle`, 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

    QVFDMWJhc3NpY0dGellYSjBhbTF2

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

Top-ranked posts for the hashtag, ordered by Instagram's engagement model rather than by time. Populated whenever the provider has data for the entity.

  • audioIdstringpeut exiger

    Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list reels that use it. Null when the post has no sound or this source does not report it.

  • avatarUrlstring

    https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg

    Profile picture URL of the posting account. Populated whenever the provider has data for the entity.

  • captionstring

    The five step routine that finally cleared my skin, saved you a trip to the dermatologist #skincare #skincareroutine #glowup

    Post caption text, including its hashtags. Populated whenever the provider has data for the entity.

  • commentsinteger

    6215

    Comment count.

  • createdUtcnumber

    1725580800

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

  • durationSecondsnumber

    42.5

    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

    3481029384756211903

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

  • likesinteger

    318400

    Like count. Absent when the account hides it.

  • locationIdstringpeut exiger

    Instagram location id the post is tagged at. Null when the post is not tagged at a location or this source does not report it.

  • locationLatnumberpeut exiger

    Latitude of the tagged location, in decimal degrees. Null when the post is not tagged at a location or this source does not report it.

  • locationLngnumberpeut exiger

    Longitude of the tagged location, in decimal degrees. Null when the post is not tagged at a location or this source does not report it.

  • locationNamestringpeut exiger

    Name of the location the post is tagged at. Null when the post is not tagged at a location or this 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 this source does not report it.

  • productTypestringpeut exiger

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

  • resharesintegerpeut exiger

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

  • shortcodestring

    C8mN4tXo7qP

    Short code in the post permalink. Populated whenever the provider has data for the entity.

  • soundAuthorstringpeut exiger

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

  • soundTitlestringpeut exiger

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

  • urlstring

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

    Canonical permalink to the post. Populated whenever the provider has data for the entity.

  • usernamestring

    glow.by.nadia

    Username of the account that posted. Populated whenever the provider has data for the entity.

  • verifiedboolean

    false

    True when the posting account is verified.

  • viewsinteger

    4820000

    Play count. Present on video posts.

each coauthordata.posts[].coauthors[]

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

  • avatarUrlstring

    Coauthor's profile picture URL, as Instagram's CDN serves it.

  • userIdstring

    Instagram's numeric account id, as a string.

  • usernamestring

    Instagram username without the leading @.

each mediadata.posts[].media[]

Photo and video attachments on the post.

  • typestring

    video

    One of photo or video.

  • urlstring

    https://scontent.cdninstagram.com/v/t51.2885-15/skincare-routine-cover.jpg

    Image URL. For a video this is the cover frame.

  • videoUrlstring

    https://scontent.cdninstagram.com/v/t50.16885-16/skincare-routine.mp4

    Playable video file URL. Present only for video items.

each taggedUserdata.posts[].taggedUsers[]

Accounts tagged in the media. Null when this 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.

FAQ

À propos de l’API Instagram Publications les plus populaires d’un hashtag

L’API Instagram Publications les plus populaires d’un hashtag d’AnyAPI renvoie des données Instagram en JSON normalisé à partir d’un appel POST à /v1/run/instagram.hashtag_top_posts. Les publications les mieux classées par Instagram pour un hashtag, lues dans son flux de hashtag en direct plutôt que dans un index de recherche web, avec les nombres de vues, de mentions J’aime et de commentaires. Beaucoup de reels et classées par engagement, donc elles répondent à ce qui performe sur un tag en ce moment. Pour des résultats plus anciens classés par pertinence avec des filtres de date et de type de média, utilisez instagram.search_hashtag ; pour le flux chronologique, utilisez instagram.hashtag_recent_posts. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 1,88 $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 les plus populaires d’un hashtag passés par AnyAPI ont réussi, avec un temps de réponse médian de 5,2 secondes, sur 212 826 appels mesurés.

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

Les publications les mieux classées par Instagram pour un hashtag, lues dans son flux de hashtag en direct plutôt que dans un index de recherche web, avec les nombres de vues, de mentions J’aime et de commentaires. Beaucoup de reels et classées par engagement, donc elles répondent à ce qui performe sur un tag en ce moment. Pour des résultats plus anciens classés par pertinence avec des filtres de date et de type de média, utilisez instagram.search_hashtag ; pour le flux chronologique, utilisez instagram.hashtag_recent_posts. 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 les plus populaires d’un hashtag passés par AnyAPI ont réussi, avec un temps de réponse médian de 5,2 secondes, sur 212 826 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 53 appels Instagram Publications les plus populaires d’un hashtag à 0,00188 $US chacun.

AnyAPI interroge la suivante de ses 2 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.hashtag_top_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 reqPublications 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 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