API para Instagram: Posts recentes da hashtag
Posts do Instagram publicados com uma hashtag, mais recentes primeiro, lidos do feed cronológico ao vivo dela e não de um índice de busca na web. Feito para monitoramento: os resultados chegam poucos minutos após a publicação, então as contagens de engajamento costumam ainda estar em zero e Reels não aparecem (o Instagram os mantém em outra aba). Para resultados ranqueados por engajamento, use instagram.hashtag_top_posts; para resultados mais antigos ranqueados por relevância, use instagram.search_hashtag.
US$ 1,88/mil req., pague por requisição, sem assinatura.
#skincare
Follow
{"id": "3487213908652217441","shortcode": "C9xR2q1s0eA","url": "https://www.instagram.com/p/C9xR2q1s0eA/","caption": "Fresh routine for the week ahead, cleanser then serum then spf every single morning #skincare #skincareroutine","username": "glow.by.nadia","createdUtc": 1727481600,"hashtags": [...],"likes": 0,... 20 campos a mais}
Preços
Preços do endpoint Posts recentes da hashtag da API para Instagram
Teste
Obtenha Posts recentes da hashtag do Instagram em uma só requisição
Este exemplo mostra 29 de 35 campos. Ver todos os campos
{
"found": true,
"data": {
"nextCursor": "QVFDeU1qWjRhbGxpY0dGellYSjBhbTF2",
"posts": [
{
"id": "3487213908652217441",
"shortcode": "C9xR2q1s0eA",
"url": "https://www.instagram.com/p/C9xR2q1s0eA/",
"caption": "Fresh routine for the week ahead, cleanser then serum then spf every single morning #skincare #skincareroutine",
"username": "glow.by.nadia",
"createdUtc": 1727481600,
"hashtags": [
"#skincare",
"#skincareroutine"
],
"likes": 0,
"comments": 0,
"locationName": "Lisbon, Portugal",
"locationLat": 38.7223,
"locationLng": -9.1393,
"userId": "58201933471",
"displayName": "Nadia Coelho",
"avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg",
"verified": false,
"private": false,
"productType": "feed",
"paidPartnership": false,
"width": 1080,
"height": 1350,
"media": [
{
"type": "photo",
"url": "https://scontent.cdninstagram.com/v/t51.29350-15/skincare-shelf-3487213908652217441.jpg"
}
]
},
{
"id": "3487213908652217455",
"shortcode": "C9xR3fBsAbC",
"url": "https://www.instagram.com/p/C9xR3fBsAbC/",
"caption": "Ingredient breakdown: niacinamide vs vitamin C, which one goes first #skincaretips #skinsciense",
"username": "derma.notes",
"createdUtc": 1727481420,
"hashtags": [
"#skincaretips",
"#skinsciense"
],
"likes": 2,
"comments": 0,
"carouselCount": 4,
"userId": "58201933512",
"displayName": "Derma Notes",
"avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/derma-notes-profile.jpg",
"verified": true,
"private": false,
"productType": "carousel_container",
"paidPartnership": false,
"width": 1080,
"height": 1080,
"media": [
{
"type": "photo",
"url": "https://scontent.cdninstagram.com/v/t51.29350-15/ingredient-chart-3487213908652217455.jpg"
}
]
}
]
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- hashtagstring
skincare
Hashtag a monitorar, sem o # inicial.
- cursorstring
Cursor de paginação do nextCursor de uma resposta anterior.
Resposta
JSON, um valor de exemplo por campo.
- nextCursorstring
QVFDeU1qWjRhbGxpY0dGellYSjBhbTF2
Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
Posts under the hashtag, newest first. Engagement counts are usually zero because the posts are minutes old. Populated whenever the provider has data for the entity.
- avatarUrlstring
https://scontent.cdninstagram.com/v/t51.2885-19/nadia-coelho-profile.jpg
Profile picture URL of the author.
- captionstring
Fresh routine for the week ahead, cleanser then serum then spf every single morning #skincare #skincareroutine
Post caption text, including its hashtags. Populated whenever the provider has data for the entity.
- carouselCountinteger
Number of items in the carousel. Absent on a single-image post.
- commentsinteger
0
Comment count. Usually zero on a post this new.
- countsHiddenboolean
Whether the author has hidden the like and view counts.
- createdUtcnumber
1727481600
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- displayNamestring
Nadia Coelho
Display name of the author.
- hashtagsstring[]
Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.
- heightinteger
1350
Original pixel height of the media.
- idstring
3487213908652217441
Instagram media id. Populated whenever the provider has data for the entity.
- likesinteger
0
Like count. Usually zero on a post this new.
- locationIdstring
Instagram location id the post is tagged at.
- locationLatnumber
38.7223
Latitude of the tagged place.
- locationLngnumber
-9.1393
Longitude of the tagged place.
- locationNamestring
Lisbon, Portugal
Place name tagged on the post. Absent when the poster tagged none, which is most posts.
- mentionsstring[]
Accounts @mentioned in the caption, each including its leading @.
- paidPartnershipboolean
false
True when the post is tagged as a paid partnership.
- privateboolean
false
True when the author's account is private.
- productTypestring
feed
Instagram product type of the media, for example feed, clips or igtv.
- shortcodestring
C9xR2q1s0eA
Short code in the post permalink. Populated whenever the provider has data for the entity.
- 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.
- soundTitlestring
Name of the sound. "Original audio" means the creator's own audio rather than a licensed track. Absent when the post has no sound.
- urlstring
https://www.instagram.com/p/C9xR2q1s0eA/
Canonical permalink to the post. Populated whenever the provider has data for the entity.
- userIdstring
58201933471
Instagram user id of the author.
- usernamestring
glow.by.nadia
Username of the account that posted. Populated whenever the provider has data for the entity.
- verifiedboolean
false
True when the author's account carries a verified badge.
- widthinteger
1080
Original pixel width of the media.
Cover media for the post. A carousel reports its full size in carouselCount.
- typestring
photo
One of photo or video. Videos are rare in this feed; Instagram keeps reels on a separate tab.
- urlstring
https://scontent.cdninstagram.com/v/t51.29350-15/skincare-shelf-3487213908652217441.jpg
Image URL. For a video this is the cover frame.
- 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.
Dúvidas frequentes
Sobre o endpoint Posts recentes da hashtag da API para Instagram
O endpoint Posts recentes da hashtag da AnyAPI para Instagram retorna dados de Instagram em JSON normalizado com uma chamada POST para /v1/run/instagram.hashtag_recent_posts. Posts do Instagram publicados com uma hashtag, mais recentes primeiro, lidos do feed cronológico ao vivo dela e não de um índice de busca na web. Feito para monitoramento: os resultados chegam poucos minutos após a publicação, então as contagens de engajamento costumam ainda estar em zero e Reels não aparecem (o Instagram os mantém em outra aba). Para resultados ranqueados por engajamento, use instagram.hashtag_top_posts; para resultados mais antigos ranqueados por relevância, use instagram.search_hashtag. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 1,88 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 99,8% das chamadas ao endpoint Posts recentes da hashtag da API para Instagram feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 4,2 segundos, em 50.134 chamadas medidas.