Spotify
What Spotify data is for.
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.
Auth & error contract.
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.
Operations
Live / 7
readySpotify album
/v1/spotify/album| Name | Type | Required | Description |
|---|---|---|---|
| albumId | string | no | Lookup parameter. |
| url | string | no | Public page, post, profile or video URL. |
curl -s "https://api.cleanfetch.dev/v1/spotify/album" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"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[].createdAtInput 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.
Spotify artist
/v1/spotify/artist| Name | Type | Required | Description |
|---|---|---|---|
| artistId | string | no | Lookup parameter. |
| url | string | no | Public page, post, profile or video URL. |
curl -s "https://api.cleanfetch.dev/v1/spotify/artist" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"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[].createdAtInput 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.
Spotify playlist
/v1/spotify/playlist| Name | Type | Required | Description |
|---|---|---|---|
| playlistId | string | no | Lookup parameter. |
| url | string | no | Public page, post, profile or video URL. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/spotify/playlist" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"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[].createdAtInput 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.
Spotify track
/v1/spotify/track| Name | Type | Required | Description |
|---|---|---|---|
| trackId | string | no | Lookup parameter. |
| url | string | no | Public page, post, profile or video URL. |
curl -s "https://api.cleanfetch.dev/v1/spotify/track" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"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[].createdAtInput 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 podcast
/v1/spotify/podcast| Name | Type | Required | Description |
|---|---|---|---|
| podcastId | string | no | Lookup parameter. |
| url | string | no | Public page, post, profile or video URL. |
curl -s "https://api.cleanfetch.dev/v1/spotify/podcast" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"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[].createdAtInput 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.
List Spotify podcast episodes
/v1/spotify/podcast/episodes| Name | Type | Required | Description |
|---|---|---|---|
| podcastId | string | no | Lookup parameter. |
| url | string | no | Public page, post, profile or video URL. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/spotify/podcast/episodes" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"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[].createdAtInput 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.
Search Spotify
/v1/spotify/search| Name | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Search query or keyword. |
curl -s "https://api.cleanfetch.dev/v1/spotify/search?query=nike" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"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": 26,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput 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.
Common Spotify API questions
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.