Spotify

Spotify

Artist / Album / Track

per_call

One endpoint for the three core Spotify catalog objects. Artists return followers, genres, popularity, artwork, top tracks and albums; albums return label, release date, total tracks and the ordered track list; tracks return duration, explicit flag, popularity, playcount and the parent album. Built for A&R teams, label marketing and artist analytics dashboards.

What you get

Each call returns one record record. There is no pagination.

Endpoint

GET /v1/spotify/artist-album-track

Price

$1.50

per 1,000 calls · $0.0015 per call

Cost per call

1 credit

Failed calls never charged

Parameters

url
required
string

The public Spotify artist, album or track URL to resolve.

fresh
optional
enum

Bypass cached data and force a live fetch for this one call. Use it for daily monitoring or any figure you are tracking over time. Accepts `true`, `1`, `false` or `0`; anything else returns 400 `invalid_fresh`. Defaults to false and costs exactly the same as a cached call.

One of: true, 1, false, 0

Example request

Live call. Successful calls are charged; failed and empty results are not.

curl
curl "https://fastfetchz.com/v1/spotify/artist-album-track?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F0OdUWJ0sBjDrqHygGUXeCF" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Example response

200 application/json
{
  "success": true,
  "service": {
    "platform": "Spotify",
    "name": "Artist / Album / Track",
    "slug": "artist-album-track"
  },
  "credits_charged": 1,
  "credits_remaining": 99,
  "latency_ms": 214,
  "data": {
    "type": "artist",
    "id": "4gzpq5DPGxSnKTe4SA8HAU",
    "uri": "spotify:artist:4gzpq5DPGxSnKTe4SA8HAU",
    "name": "Coldplay",
    "biography": "Coldplay are one of the most popular acts in the world, having sold more than 100 million albums and releasing a long line of hits such as Yellow, Clocks, Fix You, Paradise, Viva La Vida, A Sky Full Of Stars, Hymn For The Weekend, Something Just Like This, Higher Power and feelslikeimfallinginlove. \n\nThe band’s acclaimed Music Of The Spheres World Tour, which began in 2022, is taking them to stadi…",
    "image_url": "https://image-cdn-fa.spotifycdn.com/image/ab6761860000eab18653fa3322f48b6f4f966c52",
    "external_links": [
      {
        "name": "FACEBOOK",
        "url": "https://facebook.com/coldplay"
      },
      {
        "name": "INSTAGRAM",
        "url": "https://instagram.com/coldplay"
      }
    ],
    "is_verified": true,
    "popularity": 90,
    "follower_count": 65391063,
    "monthly_listeners": 93949658,
    "world_rank": 11,
    "top_cities": [
      {
        "city": "São Paulo",
        "country": "BR",
        "numberOfListeners": 1443663,
        "region": "SP"
      },
      {
        "city": "Mexico City",
        "country": "MX",
        "numberOfListeners": 1440297,
        "region": "CMX"
      }
    ],
    "share_url": "https://open.spotify.com/artist/4gzpq5DPGxSnKTe4SA8HAU?si=q_h_0QgYRwSh5h5KWqLhdA"
  }
}

Limits

  • Maximum per call: 1 records.
  • Minimum per call: 1 record — a target with less data returns fewer records, and an empty result is still a successful call.
  • Each call fetches a full page of up to 1 and costs the same either way. Pass limit to receive fewer than that in the response.
  • This endpoint returns a single record per call and is not paginated.

What this costs in practice

10,000 records = 10,000 calls × 1 credits per call = 10,000 credits = $0.00

Priced at the Custom pack rate: 1,000,000 credits for $0.00.

Open in the pricing calculator

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_limitedOver your account's requests-per-second limit. Retrying helps: the body carries retry_after_seconds and the response carries a Retry-After header. Not charged.
429monthly_cap_reachedThis key used the monthly call cap you set for it. Retrying will not help — raise the cap, use another key, or wait for the next calendar month. No Retry-After header is sent. Not charged.
500upstream_errorUnexpected failure while fulfilling the request. Not charged.