Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Instagram Hashtag Posts (V2)

เอกสาร API
https://api.sandbase.ai/v1/api/instagram/v2/hashtag-posts

Returns posts associated with a specific hashtag. Supports filtering by top posts, recent posts, or reels along with cursor-based pagination.

ราคา
$0.002USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 2 ไม่บังคับ
100 คำขอฟรี / วันคำขอ 100 ครั้งแรกต่อวันฟรี (ใช้ร่วมกันภายในองค์กร) · รีเซ็ตเวลา 00:00 UTC จากนั้นคิดค่าบริการตามจำนวนคำขอ

Playground

อินพุต
Hashtag keyword (without #)
Feed type "top", "recent", or "reels", default top
Pagination token from previous response
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Instagram Hashtag Posts (V2) API

Returns a list of Instagram posts and reels that use a given hashtag. It needs a keyword (the hashtag without the #) and can switch between top posts, recent posts, and reels with feed_type.

Use cases

  • Track likes, comments, and plays on posts under a campaign hashtag.
  • Find reels with high play_count in a niche topic.
  • Collect recent posts for a brand tag to review user-generated content.
  • Build a list of accounts that post often under a hashtag.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/hashtag-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "cat"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesHashtag keyword (without #)
feed_typestringNoFeed type "top", "recent", or "reels", default top
pagination_tokenstringNoPagination token from previous response

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "count": 30,
    "items": [
      {
        "accessibility_caption": null,
        "caption_hashtags": [
          "#cat"
        ],
        "caption_mentions": [],
        "caption_text": "His favorite brother.\n\n#cat #catstagram #catsofinstagram #cats #cats_of_instagra…",
        "clips_metadata": {
          "achievements_info": {
            "num_earned_achievements": null,
            "show_achievements": false
          },
          "additional_audio_info": {
            "additional_audio_username": null,
            "audio_reattribution_info": {
              "should_allow_restore": false
            }
          },
          "asset_recommendation_info": null,
          "audio_canonical_id": "18642912691057530",
          "audio_ranking_info": {
            "best_audio_cluster_id": "27998652563101654"
          },
          "audio_type": "original_sounds",
          "basel_template_info_for_ig_app": {
            "is_basel_template": null,
            "original_template_media_id": null,
            "should_show_reuse_setting_for_owner": false,
            "use_template_deeplink": null
          },
          "branded_content_tag_info": {
            "can_add_tag": false
          }
        },
        "coauthor_producers": [],
        "code": "DfPiM_Hh78G",
        "comment_count": 3,
        "comments_disabled": false,
        "has_liked": false,
        "id": "4021583418252312326",
        "image_versions": [
          {
            "height": 1333,
            "is_spatial_image": false,
            "url": "https://scontent-lax7-1.cdninstagram.com/v/t51.82787-15/875347989_18642158602021…",
            "width": 750
          }
        ]
      }
    ]
  },
  "pagination_token": "D01SBBAp…"
}

Response fields

FieldMeaning
data.countNumber of items returned in this response.
data.items[].id / data.items[].codePost ID and short post code. The code is the part of the post URL after /p/ or /reel/.
data.items[].caption_textFull caption text of the post.
data.items[].caption_hashtagsList of hashtags found in the caption, each with the leading #.
data.items[].like_count / comment_count / play_countEngagement counts for the post. play_count is set on reels.
data.items[].taken_at / data.items[].taken_at_tsWhen the post was published, as an ISO 8601 time and as a Unix timestamp in seconds.
data.items[].media_name / data.items[].product_typeType of post, such as reel with product type clips.
data.items[].video_url / data.items[].video_durationLink to the video file and its length for video posts. The duration value looks like seconds.
data.items[].thumbnail_urlLink to a preview image of the post.
data.items[].user.username / user.full_name / user.idAccount that published the post: handle, display name, and numeric ID.

Notes

  • Pass keyword without the #. For example, use cat for #cat.
  • feed_type accepts top, recent, or reels. The default is top.
  • To get more items, send the pagination_token from the previous response in the next request.
  • To get details on one post from the results, call Instagram Post Details (V2). To find related hashtags first, use Instagram Hashtag Search (V2).

Pricing

$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Instagram$0.002 ต่อการเรียกJSON
Instagram$0.002 ต่อการเรียกJSON
Instagram$0.002 ต่อการเรียกJSON
Instagram$0.002 ต่อการเรียกJSON
Instagram$0.002 ต่อการเรียกJSON
Instagram$0.002 ต่อการเรียกJSON

คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Instagram Hashtag Posts (V2) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/v2/hashtag-posts โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Instagram Hashtag Posts (V2) API ราคาเท่าไร?

$0.002 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน

Instagram Hashtag Posts (V2) API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: keyword (string). ตัวเลือก: feed_type (string) และ pagination_token (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Instagram Hashtag Posts (V2) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Instagram ไหม?

ไม่จำเป็น Instagram Hashtag Posts (V2) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก