Docs / Platforms / Spotify7 operations / 7 live / 0 mapped

Spotify

Spotify is exposed through 7 live operations covering posts, videos and catalog records, public profiles and creator metadata, search and discovery. The full reference is below; mapped routes are explicitly disabled and never charge credits.
Overview & use cases

What Spotify data is for.

Live Spotify capabilities, credit floor, and typical lookup workflows.

Use Spotify when you need posts, videos and catalog records, public profiles and creator metadata, search and discovery without maintaining a separate adapter for each route. Start with the lowest-cost live operation, then add search or list endpoints only when the response shape fits your product.

Live

7

Paid only

3

Price floor

1 cr

Use cases

  • Spotify album

    Call /v1/spotify/album when you need a normalized spotify album response with the same credit and cache rules as the rest of the catalog.

  • Spotify artist

    Call /v1/spotify/artist when you need a normalized spotify artist response with the same credit and cache rules as the rest of the catalog.

  • Spotify playlist

    Call /v1/spotify/playlist when you need a normalized spotify playlist response with the same credit and cache rules as the rest of the catalog.

Contract / auth

Auth & error contract.

The platform follows the same gateway and billing rules as the rest of CleanFetch.

Auth

Send x-api-key: cf_live_... or Authorization: Bearer cf_live_.... A missing or invalid key returns 401.

Billing

Successful lookups charge the listed credits. Cache hits, 5xx responses and mapped 503 routes cost 0 credits.

Limits

429 includes Retry-After and costs nothing. Paid-only routes return 403 plan_required before any provider call.

Mapped routes

Every route on this page is live.

Reference / 7

Operations

Live routes are expanded first with parameters, request example and response fields. Mapped routes are compact placeholders.

Live / 7

ready
GET

Spotify album

/v1/spotify/album
1 credits3/day free1h cache
NameTypeRequiredDescription
albumIdstringnoLookup parameter.
urlstringnoPublic page, post, profile or video URL.
Request
curl -s "https://api.cleanfetch.dev/v1/spotify/album" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "spotify",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 1h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Spotify artist

/v1/spotify/artist
1 credits3/day free1h cache
NameTypeRequiredDescription
artistIdstringnoLookup parameter.
urlstringnoPublic page, post, profile or video URL.
Request
curl -s "https://api.cleanfetch.dev/v1/spotify/artist" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "spotify",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 1h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Spotify playlist

/v1/spotify/playlist
1 credits3/day free1h cache
NameTypeRequiredDescription
playlistIdstringnoLookup parameter.
urlstringnoPublic page, post, profile or video URL.
cursorstringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/spotify/playlist" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "spotify",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 1h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Spotify track

/v1/spotify/track
1 credits3/day free1h cache
NameTypeRequiredDescription
trackIdstringnoLookup parameter.
urlstringnoPublic page, post, profile or video URL.
Request
curl -s "https://api.cleanfetch.dev/v1/spotify/track" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "spotify",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 1h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Get Spotify podcast

/v1/spotify/podcast
15 creditsPaid only6h cache
NameTypeRequiredDescription
podcastIdstringnoLookup parameter.
urlstringnoPublic page, post, profile or video URL.
Request
curl -s "https://api.cleanfetch.dev/v1/spotify/podcast" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "spotify",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 15,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Paid endpoint. Free accounts receive plan_required.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Spotify podcast episodes

/v1/spotify/podcast/episodes
48 creditsPaid only6h cache
NameTypeRequiredDescription
podcastIdstringnoLookup parameter.
urlstringnoPublic page, post, profile or video URL.
cursorstringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/spotify/podcast/episodes" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "spotify",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 48,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Paid endpoint. Free accounts receive plan_required.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
FAQ / Spotify

Common Spotify API questions

Pricing, caching, authentication, and placeholder behavior.
How many Spotify operations are live?

7 of 7 cataloged operations are live. Every operation in this reference is live.

What does a Spotify call cost?

Live operations range from 1 to 48 credits. 4 are available on the free daily cap and 3 are paid-only. Cache hits cost 0 credits.

Are Spotify responses cached?

Successful responses are cached between 1h and 6h. A cache hit costs 0 credits and does not consume the free daily cap.

How do I authenticate Spotify requests?

Send x-api-key or Authorization: Bearer with a CleanFetch key. Missing or invalid keys return 401; paid-only routes return 403 plan_required; rate limits return 429 with Retry-After. A 5xx or timeout costs 0 credits.

ready