My Audio Twin Partner API
When a listener asks your app to look for their Wrapped twin, send the clues from both sides of their card. A possible match points them to the site where they can continue their search.
https://myaudiotwin.top/api/audio-twin/partner-matchRequest partner access
Access is reviewed individually. Include your website, a contact address and the words listeners see when you ask for permission. After approval, keep your bearer key on your server.
support@myaudiotwin.topSend a lookup
Ask for permission for this lookup before setting consent to true. Only cards whose owners opted into discovery by your service are eligible.
- Both profiles. Supply different two-letter country codes in uppercase, ages from 18 to 100, and lowercase English zodiac signs. Fields starting with
p_twin_describe the other listener. - Shared music. Use two distinct shared artists in
p_artists, or one shared artist along with a song title inp_song.
Example request
curl -X POST 'https://myaudiotwin.top/api/audio-twin/partner-match' \
-H "Authorization: Bearer ${PARTNER_API_KEY}" \
-H 'Content-Type: application/json' \
--data '{
"consent": true,
"p_country": "DE",
"p_age": 31,
"p_sign": "aries",
"p_twin_country": "LV",
"p_twin_age": 42,
"p_twin_sign": "capricorn",
"p_artists": [
"Björk",
"SZA"
]
}'Read the result
When candidate is true, offer the returned site as a next step. The listener can review the lead there. Identities, contacts and private card details stay out of the response.
Example with no eligible card
{
"version": "1",
"candidate": false,
"site": "https://myaudiotwin.top/"
}A false result means this lookup found no eligible card. Their twin may still join or opt in later.
Limits and errors
Each partner can make up to 15 lookups per minute and 500 per day. Keep each JSON body within 4,096 bytes.
- 400
- Check consent, both profiles, the music clues and the request size.
- 401
- Check the bearer key supplied in the Authorization header.
- 415
- Set the Content-Type header to application/json.
- 429
- Wait for the number of seconds in Retry-After before trying again.
- 503
- The matching service is temporarily unavailable. Try again later.