Apple Music artist API
Bio, origin, genres, top songs and albums.
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
Apple Music shows no follower or listener counts, so stats is empty. region is the storefront (default us); a URL carries its own.
You send one of url or id.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/apple-music/artist" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'url=https://music.apple.com/us/artist/taylor-swift/159260351'import os
import requests
params = {
"url": "https://music.apple.com/us/artist/taylor-swift/159260351",
}
res = requests.get(
"https://api.socialscrape.io/v1/apple-music/artist",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/apple-music/artist");
url.search = new URLSearchParams({
url: "https://music.apple.com/us/artist/taylor-swift/159260351",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape Apple Music artist",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/apple-music/artist",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "url",
"value": "https://music.apple.com/us/artist/taylor-swift/159260351"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | one of | Apple Music artist URL. |
id | string | one of | Apple Music artist id. |
region | string | Two-letter country code (ISO 3166-1) for results that vary by country. Also accepted as country, geo. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_e96f2f41c789fb5c9aa99adc",
"data": {
"object": "profile",
"platform": "apple_music",
"id": "159260351",
"handle": null,
"name": "Taylor Swift",
"headline": null,
"url": "https://music.apple.com/us/artist/taylor-swift/159260351",
"kind": "artist",
"bio": "The country world feigned surprise when, after three albums of Music Row-indebted songcraft, Taylor Swift formally embraced pop on 2012’s Red. But no one sho...",
"avatar_url": "https://is1-ssl.mzstatic.com/image/thumb/AMCArtistImages221/v4/6d/67/88/6d67888b-9e7f-53af-7853-0f91d6fd2332/ami_U003aidentity_U003a994af5c375f4c3aa96cd6ced4...",
"banner_url": null,
"verified": null,
"is_private": null,
"external_url": null,
"links": null,
"location": "West Reading, PA, United States",
"category": "Pop",
"created_at": null,
"stats": {
"followers": null,
"following": null,
"posts": null,
"likes": null,
"views": null
},
"extra": {
"album_ids": [
"1440933849",
"1468058165",
"1742057774"
],
"albums": [
{
"content_rating": "explicit",
"cover_url": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/a0/dd/fd/a0ddfd72-ee9e-f046-6466-a5dbefc696fa/26UM1IM21436.rgb.jpg/1200x1200bb.jpg",
"genres": [
"Pop",
"Music"
],
"id": "6814997249",
"is_compilation": false,
"is_single": false,
"label": "Taylor Swift",
"release_date": "2026-09-24",
"title": "The Life of a Showgirl: The Encore",
"track_count": 16,
"url": "https://music.apple.com/us/album/the-life-of-a-showgirl-the-encore/6814997249"
},
{
"cover_url": "https://is1-ssl.mzstatic.com/image/thumb/Music211/v4/47/8a/b8/478ab8ac-d134-bad3-f700-364c83323bc6/26UMGIM11621.rgb.jpg/1200x1200bb.jpg",
"genres": [
"Pop",
"Music"
],
"id": "1875381397",
"is_compilation": false,
"is_single": true,
"label": "Taylor Swift",
"release_date": "2026-02-13",
"title": "Opalite (Official Music Video Extended Versions) - Single",
"track_count": 4,
"url": "https://music.apple.com/us/album/opalite-official-music-video-extended-versions-single/1875381397"
},
{
"content_rating": "explicit",
"cover_url": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/0e/e5/c7/0ee5c717-114f-f4e8-9f7c-e92dd6eb9152/25UM1IM74420.rgb.jpg/1200x1200bb.jpg",
"genres": [
"Pop",
"Music"
],
"id": "1850496031",
"is_compilation": false,
"is_single": false,
"label": "Taylor Swift",
"release_date": "2025-11-07",
"title": "The Life of a Showgirl + Acoustic Collection",
"track_count": 19,
"url": "https://music.apple.com/us/album/the-life-of-a-showgirl-acoustic-collection/1850496031"
}
],
"born_or_formed": "December 13, 1989",
"editorial_notes": {
"short": "Favorite Taylor’s artist page for updates on The Life of a Showgirl."
},
"genres": [
"Pop"
],
"latest_release": {
"cover_url": "https://is1-ssl.mzstatic.com/image/thumb/Music211/v4/89/98/98/8998984f-9a80-c3e1-d59d-e6a6db859e0c/26UM1IM31403.rgb.jpg/1200x1200bb.jpg",
"genres": [
"Pop",
"Music"
],
"id": "6821937445",
"is_compilation": false,
"is_single": false,
"label": "Taylor Swift",
"release_date": "2026-10-16",
"title": "Patient Zero - Single",
"track_count": 3,
"url": "https://music.apple.com/us/album/patient-zero-single/6821937445"
}
}
},
"cursor": null,
"has_more": null
}Fields
One Profile in data.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "profile" | ||
platform | Platform | yes | |
id | string or null | ||
handle | string or null | ||
name | string or null | ||
headline | string or null | a short tagline apart from the bio (LinkedIn's headline) | |
url | string or null | ||
kind | "person" or "creator" or "channel" or "page" or "company" or "artist" or "organization" or "shop" or "unknown" | ||
bio | string or null | ||
avatar_url | string or null | ||
banner_url | string or null | ||
verified | boolean or null | ||
is_private | boolean or null | ||
external_url | string or null |
Show the other 6 fields
| Field | Type | Always | Notes |
|---|---|---|---|
links | Link[] or null | ||
location | string or null | ||
category | string or null | ||
created_at | string (ISO 8601 date-time) or null | ||
stats | ProfileStats | ||
extra | object or null |
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
Is there an SDK call for it?
The preview Python client has client.apple_music.artist(...) and the TypeScript client client.appleMusic.artist(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.