# Look up an ISRC
URL: https://musicapi.com/docs/reference/lookup-isrc.md

`GET https://api.musicapi.com/public/isrc/{isrc}`

Section: Search and match the catalog.
Product: MusicAPI Core.
Auth: Basic, Token, DevToken, DocsSession (any one of them). Use Basic with your Client ID and Client Secret from your server only.

Finds the track of one ISRC on each store that can search by ISRC: Spotify, Apple Music, Deezer, Amazon Music and Boomplay. Needs no connected user. The stores run in parallel, and each store has its own timeout, so one slow store does not hold the answer. Each store answers on its own: `found` with the track, `notFound`, or `error`. Only a track with the same ISRC counts. A found track is cached for a day and a miss for an hour; ask again later for a release that is not out yet. Each store you ask counts as one request on your usage.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `isrc` | string | yes | The ISRC: 12 characters. Dashes, spaces and lower case are accepted (`us-rc1-76-07839`). |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `sources` | string | no | The stores to ask, comma-separated: `spotify`, `appleMusic`, `deezer`, `amazonMusic`, `boomplay`. Leave it out to ask every store. |

## Response 200

ok

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `isrc` | string | yes | The ISRC, in its normal form. |
| `results` | object | yes | One entry for each store asked, keyed by the store. |

```json
{
  "isrc": "USRC17607839",
  "results": {
    "deezer": {
      "status": "found",
      "track": {
        "externalId": "2451377",
        "url": "https://www.deezer.com/track/2451377",
        "name": "Crazy Eyes",
        "artistNames": [
          "Daryl Hall & John Oates"
        ],
        "albumName": "Bigger Than Both Of Us",
        "albumId": "241202",
        "duration": 187000,
        "isrc": "USRC17607839",
        "imageUrl": null
      }
    },
    "boomplay": {
      "status": "notFound",
      "track": null
    }
  }
}
```

## Errors

- 400: The ISRC is not a 12-character ISRC, or `sources` names a store that is not on the list.
- 401: No valid credential.
- 429: Your account sent more calls this minute than its rate limit allows.

## Example

```bash
curl https://api.musicapi.com/public/isrc/{isrc} \
  -u "$MUSICAPI_CLIENT_ID:$MUSICAPI_CLIENT_SECRET"
```
