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

Instagram Reels by Audio

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

List Instagram reels that use a given audio track by audio id.

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 · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Audio identifier from the Instagram audio page URL.
Pagination cursor returned by a previous response.
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 `reshares`, 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 reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Đầ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 Reels by Audio API

Returns a page of Instagram reels that use a given audio track. Each reel includes the creator, caption, engagement counts, and location data when present. The only required input is audioId.

Use cases

  • Track how many creators use a song and which reels get the most plays.
  • Find creators who post with a specific sound to plan outreach.
  • Compare likes, comments, and reshares across reels that share one audio track.
  • Collect reels tagged with a place by reading the location fields.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/audio-reels" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"audioId": "1392969992841787"}'

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

Parameters

NameTypeRequiredDescription
audioIdstringYesAudio identifier from the Instagram audio page URL.
cursorstringNoPagination cursor returned by a previous response.
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 reshares, and it is served only by a source that returns every one o

Example response

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

{
  "data": {
    "hasMore": true,
    "nextCursor": "cur_5wMl39Ie9zJrkNOUjs_d3A",
    "reels": [
      {
        "avatarUrl": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-19/795554226_18091598798677…",
        "caption": "SOMEONE GET IN THE BOAT\n\n#crowdsurf #moshpit #grunge #rockmusic #concerts",
        "code": "DeFBkTapVop",
        "comments": 77,
        "createdUtc": 1791130067,
        "displayName": "Dexter and The Moonrocks",
        "durationSeconds": 29.882,
        "handle": "the_moonrocks",
        "hashtags": [
          "#crowdsurf"
        ],
        "id": "4000610736784366121",
        "image": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-15/836512536_18093524156677…",
        "likes": 16593
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.reels[].codeShort code of the reel. It is the identifier used in Instagram post URLs.
data.reels[].idNumeric ID of the reel as a string.
data.reels[].handle / data.reels[].displayNameUsername and display name of the account that posted the reel.
data.reels[].captionCaption text of the reel.
data.reels[].plays / data.reels[].likes / data.reels[].comments / data.reels[].resharesEngagement counts for the reel: plays, likes, comments, and reshares.
data.reels[].createdUtcTime the reel was posted, as a Unix timestamp in seconds.
data.reels[].durationSecondsLength of the reel in seconds.
data.reels[].hashtags / data.reels[].mentionsHashtags and @handles found in the caption, as lists of strings.
data.reels[].locationName / data.reels[].locationLat / data.reels[].locationLngPlace tagged on the reel with its coordinates. These are null when no location is tagged.
data.hasMore / data.nextCursorWhether more reels exist, and the cursor that fetches the next page.

Notes

  • Take audioId from the Instagram audio page URL.
  • To get the next page, send data.nextCursor as cursor along with the same audioId. Stop when hasMore is false.
  • Pass requireFields with names such as reshares or taggedUsers when you need those fields on every reel. The call may then cost more.
  • To read one reel in full, pass its code to Instagram Post Details.

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.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.0011 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 Reels by Audio?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/audio-reels 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 Reels by Audio 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 Reels by Audio chấp nhận những tham số nào?

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

API Instagram Reels by Audio 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 Reels by Audio 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.