ISRC / UPC API
OnlineA simple API for retrieving ISRC (for tracks) or UPC (for albums) from Spotify links.
Base URL
https://isrc.r4pe.eu/GET/— API Status
Returns the current status of the API and Spotify availability.
Example Request
GET https://isrc.r4pe.eu/Example Response
{
"ok": true,
"api_status": "online",
"spotify_status": "online"
}GET/ {spotify_url}— Retrieve ISRC or UPC
Pass a Spotify track or album link after the slash. The API automatically detects whether the link refers to a track or an album, and returns the ISRC or UPC along with metadata.
Supported Link Formats
Full Spotify link:
https://open.spotify.com/track/...Short Spotify link:
https://spotify.link/...Spotify URI:
spotify:track:ID or spotify:album:IDTry it out
Live API TestingTest the API with any Spotify track or album link
GET https://isrc.r4pe.eu/https%3A%2F%2Fopen.spotify.com%2Ftrack%2F0k2YvqMlWEPEt6yxTNQ4xmExample: Track (returns ISRC)
Request
https://isrc.r4pe.eu/https://open.spotify.com/track/0k2YvqMlWEPEt6yxTNQ4xmResponse
{
"ok": true,
"type": "track",
"id": "0k2YvqMlWEPEt6yxTNQ4xm",
"result": {
"name": "KISS",
"artists": {
"all": ["TOKIOSTAR", "tachycardia"],
"main": ["TOKIOSTAR"],
"feats": ["tachycardia"]
},
"isrc": "FRX762500495",
"covers": {
"64": "https://i.scdn.co/image/ab67616d00004851ba8cb2e5b90bbd6456a64947",
"300": "https://i.scdn.co/image/ab67616d00001e02ba8cb2e5b90bbd6456a64947",
"640": "https://i.scdn.co/image/ab67616d0000b273ba8cb2e5b90bbd6456a64947",
"max": "https://i.scdn.co/image/ab67616d0000b273ba8cb2e5b90bbd6456a64947"
},
"links": {
"url": "https://open.spotify.com/track/0k2YvqMlWEPEt6yxTNQ4xm",
"uri": "spotify:track:0k2YvqMlWEPEt6yxTNQ4xm",
"short": "https://spotify.link/0k2YvqMlWEPEt6yxTNQ4xm"
}
}
}Example: Album (returns UPC)
Request
https://isrc.r4pe.eu/https://open.spotify.com/album/5tsCp6vnhaRYdbtu9N0BctResponse
{
"ok": true,
"type": "album",
"id": "5tsCp6vnhaRYdbtu9N0Bct",
"result": {
"name": "KISS",
"artists": {
"all": ["TOKIOSTAR", "tachycardia"],
"main": ["TOKIOSTAR"],
"feats": ["tachycardia"]
},
"upc": "3617398203172",
"covers": {
"64": "https://i.scdn.co/image/ab67616d00004851ba8cb2e5b90bbd6456a64947",
"300": "https://i.scdn.co/image/ab67616d00001e02ba8cb2e5b90bbd6456a64947",
"640": "https://i.scdn.co/image/ab67616d0000b273ba8cb2e5b90bbd6456a64947",
"max": "https://i.scdn.co/image/ab67616d0000b273ba8cb2e5b90bbd6456a64947"
},
"links": {
"url": "https://open.spotify.com/album/5tsCp6vnhaRYdbtu9N0Bct",
"uri": "spotify:album:5tsCp6vnhaRYdbtu9N0Bct",
"short": "https://spotify.link/5tsCp6vnhaRYdbtu9N0Bct"
}
}
}Errors
The API returns an error if the provided link is invalid, not a Spotify link, or if the API is unavailable. Error response format may vary. Please refer to actual API output.