API para Instagram: Busca por hashtag
Posts recentes com uma hashtag, com paginação por cursor: shortcode, tipo, legenda e URL da mídia.
US$ 1,20/mil req., pague por requisição, sem assinatura.
#spacex
FollowTop posts

{"id": "3714950709444987377","shortcode": "DOOJ_zSjcnx","type": "XDTGraphVideo","url": "https://www.instagram.com/reel/DOOJ_zSjcnx/","caption": "Launch day! 🚀 #spacex","displayUrl": "https://instagram.com/reel/DOOJ_zSjcnx/media.jpg","avatarUrl": string,"comments": integer,... 18 campos a mais}
Preços
Preços do endpoint Busca por hashtag da API para Instagram
Teste
Obtenha Busca por hashtag do Instagram em uma só requisição
Este exemplo mostra 9 de 31 campos. Ver todos os campos
{
"found": true,
"data": {
"posts": [
{
"id": "3714950709444987377",
"shortcode": "DOOJ_zSjcnx",
"type": "XDTGraphVideo",
"url": "https://www.instagram.com/reel/DOOJ_zSjcnx/",
"caption": "Launch day! 🚀 #spacex",
"displayUrl": "https://instagram.com/reel/DOOJ_zSjcnx/media.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
spacex
Hashtag a buscar, sem o # inicial.
- cursorstring
Cursor de paginação de uma resposta anterior.
- datePostedenum
Restringe os resultados a posts publicados nesta janela.
- mediaTypeenum
Filtra por tipo de mídia. Um de all, reel.
Resposta
JSON, um valor de exemplo por campo.
- nextCursorstring
Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.
Populated whenever the provider has data for the entity.
- avatarUrlstring
Profile picture URL of the posting account.
- captionstring
Launch day! 🚀 #spacex
Post caption text, including its hashtags.
- commentsinteger
Comment count.
- createdUtcnumber
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- displayNamestring
Display name of the posting account.
- displayUrlstring
https://instagram.com/reel/DOOJ_zSjcnx/media.jpg
Poster image URL. For a video this is the cover frame. Populated whenever the provider has data for the entity.
- durationSecondsnumber
Video duration in seconds. Absent on photo posts.
- hasAudioboolean
True when the media carries an audio track.
- hashtagsstring[]
Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.
- idstring
3714950709444987377
Instagram media id. Populated whenever the provider has data for the entity.
- isAdboolean
True when the post is a paid advertisement.
- likesinteger
Like count. Absent when the account hides it.
- locationIdstring
Instagram location id the post is tagged at.
- locationLatnumber
Latitude of the tagged location, in decimal degrees.
- locationLngnumber
Longitude of the tagged location, in decimal degrees.
- locationNamestring
Name of the location the post is tagged at.
- mentionsstring[]
Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.
- paidPartnershipboolean
True when the post is tagged as a paid partnership.
- productTypestring
Instagram product type of the media, for example feed, clips or igtv.
- shortcodestring
DOOJ_zSjcnx
Short code in the post permalink. Populated whenever the provider has data for the entity.
- typestring
XDTGraphVideo
Instagram media typename, for example XDTGraphVideo or XDTGraphImage.
- urlstring
https://www.instagram.com/reel/DOOJ_zSjcnx/
Canonical permalink to the post. Populated whenever the provider has data for the entity.
- userIdstring
Instagram user id of the posting account.
- usernamestring
Username of the account that posted. Populated whenever the provider has data for the entity.
- verifiedboolean
True when the posting account is verified.
- videoUrlstring
Playable video file URL. Present only on video posts.
- 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 Busca por hashtag da API para Instagram
O endpoint Busca por hashtag da AnyAPI para Instagram retorna dados de Instagram em JSON normalizado com uma chamada POST para /v1/run/instagram.search_hashtag. Posts recentes com uma hashtag, com paginação por cursor: shortcode, tipo, legenda e URL da mídia. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 99,9% das chamadas ao endpoint Busca por hashtag da API para Instagram feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 12,6 segundos, em 274.220 chamadas medidas.