{ "status": "success", "audioId": "17901234567890123", "title": "Summer Nights", "displayArtist": "The Example Band", "durationMs": 32000, "thumbnailUrl": "https://scontent.example.com/cover.jpg", "audioType": "music", "isAdsEligible": true}
{ "status": "error", "code": 517, "action": "post", "message": "The selected audio track is unavailable. It may be an invalid audio id, restricted in your region, or not licensed for this use. Please choose a different track using the Instagram audio search endpoint and try again.", "platform": "instagram"}
{ "status": "success", "audioId": "17901234567890123", "title": "Summer Nights", "displayArtist": "The Example Band", "durationMs": 32000, "thumbnailUrl": "https://scontent.example.com/cover.jpg", "audioType": "music", "isAdsEligible": true}
{ "status": "error", "code": 517, "action": "post", "message": "The selected audio track is unavailable. It may be an invalid audio id, restricted in your region, or not licensed for this use. Please choose a different track using the Instagram audio search endpoint and try again.", "platform": "instagram"}
通过 audioId 检索单个音频曲目的详细信息。可用于确认已保存的 id 是否仍然有效,或在发布前展示曲目的标题和封面图。
Requires Instagram linked through Facebook Login. Instagram's Audio API is only available to accounts connected via Facebook Login, which needs a Facebook Page connected to the Instagram account. Accounts connected with Instagram Login (the Ayrshare default) cannot search, look up, or attach audio, and every audio request returns code: 514.
This is a Meta restriction, not an Ayrshare one. Meta's documentation states the Audio API "is only available on the Instagram API with Facebook Login. It is not supported on the Instagram API with Instagram Login." No permission or plan upgrade changes it.
Three things are required: 1. An Instagram Business or Creator account 2. A Facebook Page connected to that Instagram account 3. Instagram linked to Ayrshare with Instagram Login disabled, so the Facebook Login flow is used
{ "status": "success", "audioId": "17901234567890123", "title": "Summer Nights", "displayArtist": "The Example Band", "durationMs": 32000, "thumbnailUrl": "https://scontent.example.com/cover.jpg", "audioType": "music", "isAdsEligible": true}
{ "status": "error", "code": 517, "action": "post", "message": "The selected audio track is unavailable. It may be an invalid audio id, restricted in your region, or not licensed for this use. Please choose a different track using the Instagram audio search endpoint and try again.", "platform": "instagram"}