Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Instagram Music Posts (V1)

API dokümanları
https://api.sandbase.ai/v1/api/instagram/v1/music-posts

Returns Reels and posts associated with a specific audio track using either an audio ID or URL. Supports cursor pagination to browse results.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 3 isteğe bağlı
Günde 100 ücretsiz çağrıHer gün ilk 100 çağrı ücretsizdir (kurum genelinde paylaşılır) · UTC 00:00'da sıfırlanır. Sonrasında çağrı başına ücretlendirilir.

Oynatma Alanı

Girdi
Pagination cursor, omit for first request
Music ID (alternative to music_url)
Music URL, ID will be extracted automatically (alternative to music_id)
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

Instagram Music Posts (V1) API

Returns Reels that use a given Instagram audio track, plus details about the track itself. You pass either music_id or music_url, and you can page through results with max_id.

Use cases

  • Count how many Reels use a song with media_count.clips_count or formatted_media_count.
  • Page through the Reels that use a track to see which creators picked it.
  • Find the Spotify track behind an Instagram audio page with spotify_track_metadata.
  • Check whether an audio page is restricted before you build a report on it.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/music-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"music_id": "564058920086577", "music_url": "https://www.instagram.com/reels/audio/564058920086577"}'

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

Parameters

NameTypeRequiredDescription
max_idstringNoPagination cursor, omit for first request
music_idstringNoMusic ID (alternative to music_url)
music_urlstringNoMusic URL, ID will be extracted automatically (alternative to music_id)

Example response

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

{
  "attempts": "67",
  "audio_page_reporting_id": "18404542084110335",
  "audio_page_segments": [],
  "audio_ranking_info": {
    "best_audio_cluster_id": "25883770477923057"
  },
  "auto_created_reels_preview_metadata": [],
  "available_tabs": [
    "clips"
  ],
  "formatted_media_count": "389K reels",
  "is_music_page_restricted": false,
  "items": [
    {
      "media": {
        "are_remixes_crosspostable": true,
        "boost_unavailable_identifier": null,
        "boost_unavailable_reason": null,
        "boost_unavailable_reason_v2": null,
        "can_see_insights_as_brand": false,
        "can_view_more_preview_comments": false,
        "can_viewer_reshare": true,
        "can_viewer_save": true
      }
    }
  ],
  "media_count": {
    "clips_count": 389789,
    "photos_count": 0
  },
  "metadata": {
    "additional_audio_info": null,
    "music_info": {
      "music_asset_info": {
        "allows_saving": true,
        "artist_id": "545138078499840",
        "audio_asset_id": "2111814179306968",
        "audio_cluster_id": "564058920086577",
        "cover_artwork_thumbnail_uri": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t39.30808-6/649199056_71060828927069_1…",
        "cover_artwork_uri": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t39.30808-6/649199056_71060828927069_1…",
        "dark_message": null,
        "dash_manifest": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<MPD xmlns=\"urn:mpeg:dash:schema:mpd:2011…"
      },
      "music_canonical_id": 18404542084110335,
      "music_consumption_info": {
        "allow_media_creation_with_music": true,
        "audio_asset_start_time_in_ms": 2500,
        "audio_filter_infos": [],
        "audio_muting_info": {
          "allow_audio_editing": false,
          "mute_audio": false,
          "mute_reason_str": "",
          "show_muted_audio_toast": false
        },
        "contains_lyrics": null,
        "derived_content_id": null,
        "display_labels": null,
        "formatted_clips_media_count": "389K reels"
      }
    },
    "original_sound_info": null
  },
  "music_canonical_id": "18404542084110335"
}

Response fields

FieldMeaning
items[].mediaOne Reel or post that uses the audio. The trimmed sample shows flags such as can_viewer_reshare and can_viewer_save inside each media object.
media_count.clips_count / media_count.photos_countNumber of Reels and photo posts that use the audio. In this response the Reel count is 389789 and the photo count is 0.
formatted_media_countReel count as a short display string, for example 389K reels.
metadata.music_info.music_asset_info.audio_cluster_idID of the audio cluster. It matches the music_id sent in this request.
metadata.music_info.music_asset_info.cover_artwork_uriURL of the cover artwork image for the track.
metadata.music_info.music_consumption_info.allow_media_creation_with_musicWhether new media can be created with this audio.
spotify_track_metadata.spotify_track_id / spotify_track_metadata.spotify_listen_uriSpotify track ID and a link to listen to the track on Spotify.
is_music_page_restrictedtrue if the music page is restricted. It is false in this response.
paging_info.max_idCursor for the next page. Send it as max_id in the next request.
paging_info.more_availabletrue when more results can be fetched with the cursor.

Notes

  • Send either music_id or music_url. The ID is the number at the end of a URL like https://www.instagram.com/reels/audio/564058920086577.
  • Omit max_id on the first request. For the next page, copy paging_info.max_id into max_id and repeat until paging_info.more_available is false.
  • To get full details for a single item, use Instagram Post Details by ID or Instagram Post Details by URL.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Instagram$0.001 çağrı başınaJSON
Instagram$0.001 çağrı başınaJSON
Instagram$0.001 çağrı başınaJSON
Instagram$0.001 çağrı başınaJSON
Instagram$0.001 çağrı başınaJSON
Instagram$0.001 çağrı başınaJSON

Kılavuzlar:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Sorular

SSS

Instagram Music Posts (V1) API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/instagram/v1/music-posts adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Instagram Music Posts (V1) API'sinin fiyatı nedir?

çağrı başına $0.001. Her kuruluş, UTC günü başına 100 ücretsiz çağrı alır; bu hak, bu API dahil uygun SandBase API'leri arasında ortaktır. Sonrasında her çağrı, SandBase bakiyenizden bu fiyat üzerinden ücretlendirilir. Abonelik yoktur.

Instagram Music Posts (V1) API'si hangi parametreleri kabul eder?

Gerekli parametre yoktur. İsteğe bağlı: max_id (string), music_id (string) ve music_url (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Instagram Music Posts (V1) API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Instagram geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Instagram Music Posts (V1), SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Instagram API erişimi için ayrıca başvuru yapmanız gerekmez.