hashtagstringจำเป็น
The Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography).
https://api.sandbase.ai/v1/api/instagram/hashtag-analyticsGet the total post count for any Instagram hashtag.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
This API returns the total post count for one Instagram hashtag. It needs a hashtag value, with or without the # symbol.
798M next to a hashtag in a dashboard.curl -X POST "https://api.sandbase.ai/v1/api/instagram/hashtag-analytics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": 5, "hashtag": "travel"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
hashtag | string | Yes | The Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography). |
limit | integer | No | Deprecated. Has no effect. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"items": [
{
"id": "17843819167049166",
"name": "travel",
"postsCount": 798659650,
"postsFormatted": "798M",
"url": "https://www.instagram.com/explore/tags/travel"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
found | true when the hashtag was found. A lookup that finds nothing returns found: false. |
data.items[].name | The hashtag name, without the # symbol. |
data.items[].id | The Instagram ID of the hashtag, as a string. |
data.items[].postsCount | The total number of posts that use the hashtag, as a full number. |
data.items[].postsFormatted | The same post count in short form, for example 798M. |
data.items[].url | Link to the hashtag page on Instagram. |
limit parameter is deprecated and has no effect. You can leave it out.data.items[]. Read postsCount for exact math and postsFormatted for display.Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/instagram/hashtag-analytics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 5,
"hashtag": "travel"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
hashtagstringจำเป็นThe Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography).
limitintegerDeprecated. Has no effect.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Instagram Hashtag AnalyticsAPI นี้ Instagram | เริ่มต้นที่ $0.0011 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0011 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.001 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0011 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0012 ต่อครั้ง | JSON |
Instagram | เริ่มต้นที่ $0.0012 ต่อครั้ง | JSON |
คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/hashtag-analytics โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.0011 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: hashtag (string). ตัวเลือก: limit (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Instagram Hashtag Analytics ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก