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

Instagram Music Posts (V2)

Tài liệu API
https://api.sandbase.ai/v1/api/instagram/v2/music-posts

Returns Instagram posts that use a specific audio track identified by its audio ID. Supports paginated results using a pagination token.

Giá
$0.002USD / 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
Audio ID
Pagination token from previous response
Đầ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 Music Posts (V2) API

Retrieve Instagram posts associated with a specific audio track using audio_canonical_id. Paginate through subsequent pages with pagination_token.

Use cases

  • Analyze posts featuring a specific audio track or sound.
  • Track content trends around a particular piece of music.
  • Discover creator content using selected Instagram audio tracks.

Request

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

Parameters

NameTypeRequiredDescription
audio_canonical_idstringYesAudio ID
pagination_tokenstringNoPagination token from previous response

Notes

  • Obtain the audio_canonical_id from post details.
  • Pass pagination_token from a previous response to paginate through results.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 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 Music Posts (V2)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v2/music-posts 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 Music Posts (V2) có giá bao nhiêu?

$0.002 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 Music Posts (V2) chấp nhận những tham số nào?

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

API Instagram Music Posts (V2) trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

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 Music Posts (V2) 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.