hashtagstringobrigatório
Hashtag to monitor, without the leading #.
https://api.sandbase.ai/v1/api/instagram/hashtag-recent-postsInstagram posts published under a hashtag, newest first, read from its live chronological feed rather than a web search index. Built for monitoring: results arrive within a couple of minutes of posting, so engagement counts are usually still zero and reels do not appear (Instagram keeps those on a separate tab). For engagement-ranked results use instagram.hashtag_top_posts; for older relevance-ranked results use instagram.search_hashtag.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns Instagram posts published under a hashtag, newest first, from the hashtag's chronological feed. You send a hashtag without the leading #, and each post includes caption, author, media links and counts.
paidPartnership.username, userId and verified.curl -X POST "https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"hashtag": "skincare"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
hashtag | string | Yes | Hashtag to monitor, without the leading #. |
cursor | string | No | Pagination cursor from a previous response's nextCursor. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"nextCursor": "cur_Kic15fMDA4fH3OYn2e--Sw",
"posts": [
{
"avatarUrl": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-19/743081754_18056615780522…",
"caption": "الليزر الكوري لتصغير الانف 🔥🔥🔥🔥#fypシ❤️💞❤️ #اكسبلورر #dubai #skincare #fforever",
"comments": 0,
"countsHidden": false,
"createdUtc": 1793691103,
"displayName": "Huda.altaaye",
"hashtags": [
"#fypシ❤️💞❤️"
],
"height": 1760,
"id": "4022091320108946819",
"likes": 0,
"media": [
{
"type": "photo",
"url": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-15/884648679_18085354025522…"
}
],
"mentions": []
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.posts[].url / data.posts[].shortcode | Link to the post on Instagram and its short ID. The shortcode is the part of the URL after /p/. |
data.posts[].id | Numeric ID of the post, returned as a string. |
data.posts[].caption | Caption text of the post, including its hashtags. |
data.posts[].hashtags / data.posts[].mentions | Lists of hashtags and @mentions found in the caption. Each hashtag keeps its leading #. |
data.posts[].username / data.posts[].displayName / data.posts[].userId | Handle, display name and numeric account ID of the author. displayName can be an empty string. |
data.posts[].verified / data.posts[].private | Whether the author account is verified and whether it is private. |
data.posts[].likes / data.posts[].comments | Like and comment counts at the time of the call. They are often 0 on new posts. |
data.posts[].countsHidden | true when the author hides the counts, so likes and comments of 0 do not mean no engagement. |
data.posts[].createdUtc | Publish time as a Unix timestamp in seconds. |
data.posts[].media[].type / data.posts[].media[].url | Type of each media item (such as photo) and its URL. Carousel posts list several items, and carouselCount gives the item count. |
data.posts[].productType / data.posts[].paidPartnership | Post format, such as feed or carousel_container, and whether the post is marked as a paid partnership. |
data.nextCursor as the cursor parameter in the next request to get the next page of older posts.skincare.shortcode to Instagram Post Details.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hashtag": "skincare"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
hashtagstringobrigatórioHashtag to monitor, without the leading #.
cursorstringPagination cursor from a previous response's nextCursor.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Instagram Hashtag Recent PostsEsta API Instagram | A partir de $0.0012 por chamada | JSON |
Instagram | A partir de $0.0011 por chamada | JSON |
Instagram | A partir de $0.001 por chamada | JSON |
Instagram | A partir de $0.0011 por chamada | JSON |
Instagram | A partir de $0.0012 por chamada | JSON |
Instagram | A partir de $0.0011 por chamada | JSON |
Guias:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
A partir de $0.0012 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: hashtag (string). Opcionais: cursor (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Instagram Hashtag Recent Posts funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Instagram separadamente.