Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Instagram Hashtag Analytics

Tài liệu API
https://api.sandbase.ai/v1/api/instagram/hashtag-analytics

Get the total post count for any Instagram hashtag.

Giá
Từ $0.0011USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
The Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography).
120
Deprecated. Has no effect. Phạm vi: 1 đến 20.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Instagram Hashtag Analytics API

This API returns the total post count for one Instagram hashtag. It needs a hashtag value, with or without the # symbol.

Use cases

  • Compare the size of several hashtags before you pick tags for a campaign.
  • Track how the post count of a niche hashtag changes by calling it on a schedule.
  • Show a short post count such as 798M next to a hashtag in a dashboard.
  • Check that a hashtag exists before you request its posts.

Request

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.

Parameters

NameTypeRequiredDescription
hashtagstringYesThe Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography).
limitintegerNoDeprecated. Has no effect.

Example response

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
}

Response fields

FieldMeaning
foundtrue when the hashtag was found. A lookup that finds nothing returns found: false.
data.items[].nameThe hashtag name, without the # symbol.
data.items[].idThe Instagram ID of the hashtag, as a string.
data.items[].postsCountThe total number of posts that use the hashtag, as a full number.
data.items[].postsFormattedThe same post count in short form, for example 798M.
data.items[].urlLink to the hashtag page on Instagram.

Notes

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
InstagramTừ $0.0011 mỗi lần gọiJSON
InstagramTừ $0.0011 mỗi lần gọiJSON
InstagramTừ $0.001 mỗi lần gọiJSON
InstagramTừ $0.0011 mỗi lần gọiJSON
InstagramTừ $0.0012 mỗi lần gọiJSON
InstagramTừ $0.0012 mỗi lần gọiJSON

Hướng dẫn:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Instagram Hashtag Analytics?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/hashtag-analytics với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Instagram Hashtag Analytics có giá bao nhiêu?

Từ $0.0011 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Instagram Hashtag Analytics chấp nhận những tham số nào?

Bắt buộc: hashtag (string). Tùy chọn: limit (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Instagram Hashtag Analytics trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Instagram không?

Không. Instagram Hashtag Analytics chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Instagram.