ISRC / UPC API

Online

A 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:ID

Try it out

Live API Testing

Test the API with any Spotify track or album link

GET https://isrc.r4pe.eu/https%3A%2F%2Fopen.spotify.com%2Ftrack%2F0k2YvqMlWEPEt6yxTNQ4xm

Example: Track (returns ISRC)

Request

https://isrc.r4pe.eu/https://open.spotify.com/track/0k2YvqMlWEPEt6yxTNQ4xm

Response

{
  "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/5tsCp6vnhaRYdbtu9N0Bct

Response

{
  "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.