hashtagstringobbligatorio
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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
hashtagstringobbligatorioHashtag to monitor, without the leading #.
cursorstringPagination cursor from a previous response's nextCursor.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Instagram Hashtag Recent PostsQuesta API Instagram | Da $0.0012 per chiamata | JSON |
Instagram | Da $0.0011 per chiamata | JSON |
Instagram | Da $0.001 per chiamata | JSON |
Instagram | Da $0.0011 per chiamata | JSON |
Instagram | Da $0.0012 per chiamata | JSON |
Instagram | Da $0.0011 per chiamata | JSON |
Guide:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.0012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: hashtag (string). Facoltativi: cursor (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Instagram Hashtag Recent Posts funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Instagram.