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

Instagram Hashtag Top Posts

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

Instagram's own top-ranked posts for a hashtag, read from its live hashtag feed rather than a web search index, with view, like, and comment counts. Reels-heavy and engagement-ranked, so it answers what is performing on a tag right now. For older relevance-ranked results with date and media-type filters use instagram.search_hashtag; for the chronological feed use instagram.hashtag_recent_posts.

ราคา
เริ่มต้นที่ $0.0011USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 2 ไม่บังคับ

Playground

อินพุต
Hashtag to fetch, without the leading #.
Pagination cursor from a previous response's nextCursor.
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
เอาต์พุตพร้อมใช้งาน

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

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

API README

Instagram Hashtag Top Posts API

This API returns Instagram's top-ranked posts for a hashtag, with view, like and comment counts, caption, author and media links. It needs one input: the hashtag without the leading #.

Use cases

  • Spot which Reels are getting the most views on a tag such as skincare right now.
  • Find creators who post on a niche hashtag and check their verified status and engagement.
  • Collect captions and co-hashtags from top posts to see which related tags appear with the main tag.
  • Track paidPartnership posts and coauthors to see which brands and creators work together on a tag.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/hashtag-top-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 fetch, without the leading #.
cursorstringNoPagination cursor from a previous response's nextCursor.
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example soundTitle, and it is served only by a source that returns every one

Example response

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

{
  "data": {
    "nextCursor": "cur_M2mp1YOlZVB0gi39vnq42Q",
    "posts": [
      {
        "audioId": null,
        "avatarUrl": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/834902873_18632884252018…",
        "caption": "⁨\tالدكتورة سلمى المنجد \n#ملتقى_بيوكسين_الاول \n‏#Skincare\n‏#Bioxcin\n#طب_الجلد #ال…",
        "coauthors": [
          {
            "avatarUrl": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/843548250_18093856043450…",
            "userId": "43522946622",
            "username": "lets_care_group"
          }
        ],
        "comments": 112,
        "createdUtc": 1793555863,
        "durationSeconds": 69.61100006103516,
        "hashtags": [
          "#ملتقى_بيوكسين_الاول"
        ],
        "id": "4020960450613865690",
        "likes": 935,
        "locationId": null,
        "locationLat": null
      }
    ]
  },
  "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[].views / likes / commentsView, like and comment counts for the post.
data.posts[].captionCaption text of the post. The hashtags list holds the hashtags found in it.
data.posts[].username / verified / avatarUrlAuthor's handle, whether the account is verified, and a link to a small profile picture.
data.posts[].createdUtcPost creation time as a Unix timestamp in seconds.
data.posts[].productType / durationSecondsPost format (for example clips for Reels) and the video length in seconds.
data.posts[].media[].type / url / videoUrlMedia type, a preview image link, and a video file link for video posts.
data.posts[].soundTitle / soundAuthor / audioIdAudio name, audio author and audio ID. These can be null when the post has no audio data.
data.posts[].coauthors[].username / userIdAccounts listed as co-authors of the post. The list is empty when there are none.
data.posts[].locationName / locationLat / locationLngPlace name and coordinates tagged on the post. All are null when no location is set.

Notes

Pricing

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

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

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

APIs ทั้งหมด
APIราคาการตอบกลับ
Instagramเริ่มต้นที่ $0.0011 ต่อครั้ง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 Top Posts API ได้อย่างไร?

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

Instagram Hashtag Top Posts API ราคาเท่าไร?

เริ่มต้นที่ $0.0011 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

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

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

Instagram Hashtag Top Posts API ส่งคืนอะไร?

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

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

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