Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Instagram Hashtag Recent Posts

Dokumentacja API
https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts

Instagram 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.

Cena
Od $0.0012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
Hashtag to monitor, without the leading #.
Pagination cursor from a previous response's nextCursor.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Instagram Hashtag Recent Posts API

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.

Use cases

  • Monitor a brand or campaign hashtag and catch new posts within minutes of publishing.
  • Spot new paid partnership posts in a niche like skincare by checking paidPartnership.
  • Collect fresh creator accounts posting under a topic by reading username, userId and verified.
  • Feed new post URLs into a moderation or reposting queue.

Request

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.

Parameters

NameTypeRequiredDescription
hashtagstringYesHashtag to monitor, without the leading #.
cursorstringNoPagination cursor from a previous response's nextCursor.

Example response

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
}

Response fields

FieldMeaning
data.posts[].url / data.posts[].shortcodeLink to the post on Instagram and its short ID. The shortcode is the part of the URL after /p/.
data.posts[].idNumeric ID of the post, returned as a string.
data.posts[].captionCaption text of the post, including its hashtags.
data.posts[].hashtags / data.posts[].mentionsLists of hashtags and @mentions found in the caption. Each hashtag keeps its leading #.
data.posts[].username / data.posts[].displayName / data.posts[].userIdHandle, display name and numeric account ID of the author. displayName can be an empty string.
data.posts[].verified / data.posts[].privateWhether the author account is verified and whether it is private.
data.posts[].likes / data.posts[].commentsLike and comment counts at the time of the call. They are often 0 on new posts.
data.posts[].countsHiddentrue when the author hides the counts, so likes and comments of 0 do not mean no engagement.
data.posts[].createdUtcPublish time as a Unix timestamp in seconds.
data.posts[].media[].type / data.posts[].media[].urlType 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[].paidPartnershipPost format, such as feed or carousel_container, and whether the post is marked as a paid partnership.

Notes

  • Use data.nextCursor as the cursor parameter in the next request to get the next page of older posts.
  • Send the hashtag without the leading #, for example skincare.
  • Reels do not appear here. For engagement-ranked posts, call Instagram Hashtag Top Posts.
  • To get full details for one post, pass its URL or shortcode to Instagram Post Details.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
InstagramOd $0.0012 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON
InstagramOd $0.001 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON
InstagramOd $0.0012 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON

Przewodniki:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Instagram Hashtag Recent Posts?

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.

Ile kosztuje API Instagram Hashtag Recent Posts?

Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Instagram Hashtag Recent Posts?

Wymagane: hashtag (string). Opcjonalne: cursor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Instagram Hashtag Recent Posts?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Instagram lub klucza API?

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.