मुख्य सामग्री पर जाएं
GET
Instagram Audio खोजें
Instagram के audio catalog में keyword से खोजें। Reel publish करते समय track अटैच करने के लिए लौटाए गए audioId का उपयोग instagramOptions.audioConfiguration के साथ करें।
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

See the step-by-step setup guide.

Header Parameters

Query Parameters

string
आवश्यक
खोजने के लिए keyword, जैसे artist या track का नाम। खाली या केवल-whitespace मान code: 101 लौटाता है।
string
डिफ़ॉल्ट:"music"
कौन-सा catalog खोजना है। या तो लाइसेंस-प्राप्त commercial tracks के लिए music या अन्य creators की Reels से लिए गए audio के लिए original_sound। कोई भी अन्य मान code: 101 लौटाता है।
integer
लौटाए जाने वाले tracks की अधिकतम संख्या, 1 से 100 तक। Non-integer या सीमा से बाहर के मान code: 101 लौटाते हैं। छोड़े जाने पर, Instagram का अपना डिफ़ॉल्ट लागू होता है।

Response Fields

Instagram हर track के लिए हर फ़ील्ड नहीं लौटाता, इसलिए audioId को छोड़कर सभी track फ़ील्ड को वैकल्पिक मानें।
string
success जब खोज पूरी हो गई। खाली catalog match भी success ही है।
string
खोजा गया keyword, वापस echo किया गया।
array
मेल खाने वाले tracks। खाली array का अर्थ है कि खोज चली और कुछ भी मेल नहीं खाया।

त्रुटियाँ

Code 514 से 518 का वर्णन Instagram Reels audio त्रुटियों में किया गया है; बाकी Ayrshare त्रुटि संदर्भ में हैं।

अगले चरण

Track को Reel में अटैच करें

किसी एक track को लुकअप करें