hashtagstringwymagane
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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
hashtagstringwymaganeHashtag to monitor, without the leading #.
cursorstringPagination cursor from a previous response's nextCursor.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Instagram | Od $0.0012 za wywołanie | JSON |
Instagram | Od $0.0011 za wywołanie | JSON |
Instagram | Od $0.001 za wywołanie | JSON |
Instagram | Od $0.0011 za wywołanie | JSON |
Instagram | Od $0.0012 za wywołanie | JSON |
Instagram | Od $0.0011 za wywołanie | JSON |
Przewodniki:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: hashtag (string). Opcjonalne: cursor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Instagram Hashtag Recent Posts działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Instagram.