curl --request GET \
--url https://api.recoupable.dev/api/apple/songs \
--header 'x-api-key: <api-key>'import requests
url = "https://api.recoupable.dev/api/apple/songs"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.recoupable.dev/api/apple/songs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.recoupable.dev/api/apple/songs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.recoupable.dev/api/apple/songs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.recoupable.dev/api/apple/songs")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recoupable.dev/api/apple/songs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"storefront": "us",
"results": [
{
"isrc": "DEH742611917",
"found": true,
"songs": [
{
"id": "1894880802",
"isrc": "DEH742611917",
"name": "Steady Box Fan White Noise (Extended Mix)",
"artist_name": "Sleep Sounds & Sleepy Buddy",
"composer_name": "Zachary Kubilus",
"album_name": "Box Fan All Night",
"release_date": "2026-05-01",
"duration_ms": 124001,
"track_number": 6,
"disc_number": 1,
"genre_names": [
"New Age",
"Music",
"Worldwide"
],
"has_lyrics": false,
"is_apple_digital_master": false,
"audio_variants": [
"lossless",
"lossy-stereo"
],
"url": "https://music.apple.com/us/album/steady-box-fan-white-noise-extended-mix/1894880796?i=1894880802",
"artwork_url": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/d5/d1/12/d5d112cd-19f8-6cf7-b048-b2f94c75fefd/4065328882161.png/{w}x{h}bb.jpg",
"preview_url": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/56/64/02/56640222-1893-38a9-e25f-9869aa117282/mzaf_15389777242743919344.plus.aac.p.m4a",
"album": {
"id": "1894880796",
"name": "Box Fan All Night",
"upc": "4065328882161",
"record_label": "Sleep Sounds",
"copyright": "℗ 2026 Sleep Sounds",
"release_date": "2026-05-01",
"track_count": 20,
"is_single": false,
"is_compilation": false,
"is_complete": true,
"url": "https://music.apple.com/us/album/box-fan-all-night/1894880796"
}
}
]
}
]
}{
"status": "error",
"error": "isrc must be a valid ISRC: NOTANISRC"
}{
"status": "error",
"error": "Exactly one of x-api-key or Authorization must be provided"
}{
"status": "error",
"error": "Failed to reach the Apple Music API"
}Songs by ISRC
Look up recordings in the Apple Music catalog by ISRC. Accepts up to 25 comma-separated ISRCs per request and returns one row per requested ISRC, so a recording that Apple does not carry comes back explicitly as found: false rather than being omitted. Complements GET /api/spotify/search, which reaches ISRCs only through a fuzzy isrc: search query; Apple matches the identifier exactly and additionally returns release-level rights metadata (upc, record_label, copyright) that Spotify does not expose.
curl --request GET \
--url https://api.recoupable.dev/api/apple/songs \
--header 'x-api-key: <api-key>'import requests
url = "https://api.recoupable.dev/api/apple/songs"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.recoupable.dev/api/apple/songs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.recoupable.dev/api/apple/songs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.recoupable.dev/api/apple/songs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.recoupable.dev/api/apple/songs")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recoupable.dev/api/apple/songs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"storefront": "us",
"results": [
{
"isrc": "DEH742611917",
"found": true,
"songs": [
{
"id": "1894880802",
"isrc": "DEH742611917",
"name": "Steady Box Fan White Noise (Extended Mix)",
"artist_name": "Sleep Sounds & Sleepy Buddy",
"composer_name": "Zachary Kubilus",
"album_name": "Box Fan All Night",
"release_date": "2026-05-01",
"duration_ms": 124001,
"track_number": 6,
"disc_number": 1,
"genre_names": [
"New Age",
"Music",
"Worldwide"
],
"has_lyrics": false,
"is_apple_digital_master": false,
"audio_variants": [
"lossless",
"lossy-stereo"
],
"url": "https://music.apple.com/us/album/steady-box-fan-white-noise-extended-mix/1894880796?i=1894880802",
"artwork_url": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/d5/d1/12/d5d112cd-19f8-6cf7-b048-b2f94c75fefd/4065328882161.png/{w}x{h}bb.jpg",
"preview_url": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/56/64/02/56640222-1893-38a9-e25f-9869aa117282/mzaf_15389777242743919344.plus.aac.p.m4a",
"album": {
"id": "1894880796",
"name": "Box Fan All Night",
"upc": "4065328882161",
"record_label": "Sleep Sounds",
"copyright": "℗ 2026 Sleep Sounds",
"release_date": "2026-05-01",
"track_count": 20,
"is_single": false,
"is_compilation": false,
"is_complete": true,
"url": "https://music.apple.com/us/album/box-fan-all-night/1894880796"
}
}
]
}
]
}{
"status": "error",
"error": "isrc must be a valid ISRC: NOTANISRC"
}{
"status": "error",
"error": "Exactly one of x-api-key or Authorization must be provided"
}{
"status": "error",
"error": "Failed to reach the Apple Music API"
}Authorizations
Your Recoup API key. Learn more.
Query Parameters
One or more ISRCs, comma-separated. Case-insensitive; each must match the 12-character ISRC format (two-letter country code, three-character registrant code, two-digit year, five-digit designation). Maximum 25 per request.
"DEH742611917,TCAEC1931080"
Apple Music storefront to search, as a two-letter country code. Availability is territory-specific, so a recording present in one storefront may be absent from another.
"gb"
Response
Lookup completed. One entry per requested ISRC, in the order requested.
Was this page helpful?
