Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Instagram Hashtag Recent Posts

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.

價格
自 $0.0012 起美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
Hashtag to monitor, without the leading #.
Pagination cursor from a previous response's nextCursor.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

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.

探索更多

相關 APIs

所有 APIs
API價格回應
Instagram每次呼叫 $0.0012 起JSON
Instagram每次呼叫 $0.0011 起JSON
Instagram每次呼叫 $0.001 起JSON
Instagram每次呼叫 $0.0011 起JSON
Instagram每次呼叫 $0.0012 起JSON
Instagram每次呼叫 $0.0011 起JSON

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

問題

常見問題

我要如何使用 Instagram Hashtag Recent Posts API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Instagram Hashtag Recent Posts API 的費用是多少?

每次起 $0.0012,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Instagram Hashtag Recent Posts API 接受哪些參數?

必要:hashtag (string)。 選填:cursor (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Instagram Hashtag Recent Posts API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Instagram 開發者帳號或 API 金鑰嗎?

不需要。Instagram Hashtag Recent Posts 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Instagram API 存取權。