Apple Music
What Apple Music data is for.
Use Apple Music 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
4
Paid only
0
Price floor
1 cr
Use cases
Get Apple Music album
Call /v1/apple-music/album when you need a normalized get apple music album response with the same credit and cache rules as the rest of the catalog.
Get Apple Music artist
Call /v1/apple-music/artist when you need a normalized get apple music artist response with the same credit and cache rules as the rest of the catalog.
Search Apple Music
Call /v1/apple-music/search when you need a normalized search apple music 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 / 4
readyGet Apple Music album
/v1/apple-music/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/apple-music/album" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "apple-music",
"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 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Apple Music artist
/v1/apple-music/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/apple-music/artist" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "apple-music",
"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 6h.
- • A public record that does not exist returns not_found and is charged once.
Search Apple Music
/v1/apple-music/search| Name | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Search query or keyword. |
| type | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/apple-music/search?query=nike" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "apple-music",
"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 6h.
- • A public record that does not exist returns not_found and is charged once.
Get Apple Music track
/v1/apple-music/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/apple-music/track" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "apple-music",
"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 6h.
- • A public record that does not exist returns not_found and is charged once.
Common Apple Music API questions
How many Apple Music operations are live?
4 of 4 cataloged operations are live. Every operation in this reference is live.
What does a Apple Music call cost?
Live operations range from 1 to 1 credits. 4 are available on the free daily cap and 0 are paid-only. Cache hits cost 0 credits.
Are Apple Music responses cached?
Successful responses are cached between 6h and 6h. A cache hit costs 0 credits and does not consume the free daily cap.
How do I authenticate Apple Music 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.