Apple Music

Apple Music

Artist / Album / Track

per_call

Covers the Apple Music catalog trio in one endpoint: artists return artwork, genres, editorial notes, top songs and album list; albums return release date, record label, copyright, genres and the ordered tracks; tracks return duration, ISRC where available, preview URL and the parent album. For music analytics, catalog reconciliation and label marketing teams.

Endpoint

GET /v1/apple-music/artist-album-track

Price

$1.50

per 1,000 calls · $0.0015 per call

Cost per call

1 credit

Failed calls never charged

Parameters

id
optional
string

The Apple Music artist, album or song ID. Required unless `url` is supplied.

url
optional
string

The public Apple Music artist, album or song URL. Required unless `id` is supplied.

Example request

Sandbox calls return deterministic sample data in the live payload shape.

curl
curl "https://api.fastfetchz.com/v1/apple-music/artist-album-track?id=1419227" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Example response

200 application/json
{
  "success": true,
  "service": {
    "platform": "Apple Music",
    "name": "Artist / Album / Track",
    "slug": "artist-album-track"
  },
  "credits_charged": 1,
  "credits_remaining": 99,
  "latency_ms": 214,
  "data": {
    "artist": {
      "id": "1419227",
      "name": "Bon Iver",
      "genres": [
        "Alternative"
      ],
      "artwork_url": "https://cdn.example.com/apple-music/artist/1419227.jpg",
      "editorial_notes": "Justin Vernon's project has shaped a generation of indie folk.",
      "url": "https://music.apple.com/us/artist/bon-iver/1419227",
      "top_songs": [
        {
          "id": "1440905185",
          "name": "Holocene",
          "duration_ms": 337000
        }
      ],
      "albums": [
        {
          "id": "1440905074",
          "name": "Bon Iver, Bon Iver",
          "release_date": "2011-06-17",
          "track_count": 10
        }
      ]
    },
    "album": {
      "id": "1440905074",
      "name": "Bon Iver, Bon Iver",
      "record_label": "Jagjaguwar",
      "copyright": "℗ 2011 Jagjaguwar",
      "release_date": "2011-06-17",
      "genres": [
        "Alternative",
        "Music"
      ],
      "artwork_url": "https://cdn.example.com/apple-music/album/1440905074.jpg",
      "tracks": [
        {
          "track_number": 1,
          "id": "1440905084",
          "name": "Perth",
          "duration_ms": 262000
        },
        {
          "track_number": 2,
          "id": "1440905117",
          "name": "Minnesota, WI",
          "duration_ms": 220000
        }
      ]
    },
    "track": {
      "id": "1440905185",
      "name": "Holocene",
      "duration_ms": 337000,
      "isrc": "USJAG1100013",
      "preview_url": "https://cdn.example.com/apple-music/preview/1440905185.m4a",
      "album": {
        "id": "1440905074",
        "name": "Bon Iver, Bon Iver"
      }
    },
    "requested": "nasa"
  }
}

Error codes

401invalid_api_keyMissing or unrecognized X-API-Key header. No credits are charged.
402insufficient_creditsYour balance is below the cost of the call. Top up to continue.
403account_suspended / key_revokedThe account is suspended or the key was revoked.
429rate_limitedThe key exceeded its monthly cap or the burst limit. Retry later.
500upstream_errorUnexpected failure while fulfilling the request. Not charged.