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 からUSD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 1 件

プレイグラウンド

入力
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価格レスポンス
Instagram1回あたり $0.0012 からJSON
Instagram1回あたり $0.0011 からJSON
Instagram1回あたり $0.001 からJSON
Instagram1回あたり $0.0011 からJSON
Instagram1回あたり $0.0012 からJSON
Instagram1回あたり $0.0011 からJSON

ガイド:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

質問

FAQ

Instagram Hashtag Recent Posts API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/instagram/hashtag-recent-posts に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Instagram Hashtag Recent Posts API の料金はいくらですか?

1回あたり $0.0012 から、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Instagram Hashtag Recent Posts API はどのパラメータを受け付けますか?

必須: hashtag (string)。 任意: cursor (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Instagram Hashtag Recent Posts API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Instagram の開発者アカウントまたは API key は必要ですか?

いいえ。Instagram Hashtag Recent Posts は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Instagram の API アクセスを別途申請する必要はありません。