- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
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.
Part of the Apple Music Scraper API: 4 Apple Music endpoints on one key.
Request
Send your key in the x-api-key header.
1curl -G "https://api.socialscrape.dev/v1/apple-music/artist" \2 -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3 --data-urlencode 'url=https://music.apple.com/us/artist/taylor-swift/159260351'1import os2import requests34params = {5 "url": "https://music.apple.com/us/artist/taylor-swift/159260351",6}7res = requests.get(8 "https://api.socialscrape.dev/v1/apple-music/artist",9 headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10 params=params,11 timeout=60,12)13body = res.json()1415if body["ok"]:16 print(body["data"])17else:18 print(body["error"]["code"], body["error"]["message"])1const url = new URL("https://api.socialscrape.dev/v1/apple-music/artist");2url.search = new URLSearchParams({3 url: "https://music.apple.com/us/artist/taylor-swift/159260351",4}).toString();5const res = await fetch(url, {6 headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },7});8const body = await res.json();910if (body.ok) {11 console.log(body.data);12} else {13 console.error(body.error.code, body.error.message);14}1{2 "nodes": [3 {4 "name": "SocialScrape Apple Music artist",5 "type": "n8n-nodes-base.httpRequest",6 "typeVersion": 4.2,7 "position": [8 0,9 010 ],11 "parameters": {12 "method": "GET",13 "url": "https://api.socialscrape.dev/v1/apple-music/artist",14 "sendQuery": true,15 "queryParameters": {16 "parameters": [17 {18 "name": "url",19 "value": "https://music.apple.com/us/artist/taylor-swift/159260351"20 }21 ]22 },23 "sendHeaders": true,24 "headerParameters": {25 "parameters": [26 {27 "name": "x-api-key",28 "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"29 }30 ]31 }32 }33 }34 ],35 "connections": {}36}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 examples, not your data.
1{2 "ok": true,3 "credits_charged": 1,4 "credits_remaining": 4999,5 "cached": false,6 "cached_at": null,7 "request_id": "req_e96f2f41c789fb5c9aa99adc",8 "data": {9 "object": "profile",10 "platform": "apple_music",11 "id": "159260351",12 "handle": null,13 "name": "Taylor Swift",14 "headline": null,15 "url": "https://music.apple.com/us/artist/taylor-swift/159260351",16 "kind": "artist",17 "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...",18 "avatar_url": "https://is1-ssl.mzstatic.com/image/thumb/AMCArtistImages221/v4/6d/67/88/6d67888b-9e7f-53af-7853-0f91d6fd2332/ami_U003aidentity_U003a994af5c375f4c3aa96cd6ced4...",19 "banner_url": null,20 "verified": null,21 "is_private": null,22 "external_url": null,23 "links": null,24 "location": "West Reading, PA, United States",25 "category": "Pop",26 "created_at": null,27 "stats": {28 "followers": null,29 "following": null,30 "posts": null,31 "likes": null,32 "views": null33 },34 "extra": {35 "album_ids": [36 "1440933849",37 "1468058165",38 "1742057774"39 ],40 "albums": [41 {42 "content_rating": "explicit",43 "cover_url": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/a0/dd/fd/a0ddfd72-ee9e-f046-6466-a5dbefc696fa/26UM1IM21436.rgb.jpg/1200x1200bb.jpg",44 "genres": [45 "Pop",46 "Music"47 ],48 "id": "6814997249",49 "is_compilation": false,50 "is_single": false,51 "label": "Taylor Swift",52 "release_date": "2026-09-24",53 "title": "The Life of a Showgirl: The Encore",54 "track_count": 16,55 "url": "https://music.apple.com/us/album/the-life-of-a-showgirl-the-encore/6814997249"56 },57 {58 "cover_url": "https://is1-ssl.mzstatic.com/image/thumb/Music211/v4/47/8a/b8/478ab8ac-d134-bad3-f700-364c83323bc6/26UMGIM11621.rgb.jpg/1200x1200bb.jpg",59 "genres": [60 "Pop",61 "Music"62 ],63 "id": "1875381397",64 "is_compilation": false,65 "is_single": true,66 "label": "Taylor Swift",67 "release_date": "2026-02-13",68 "title": "Opalite (Official Music Video Extended Versions) - Single",69 "track_count": 4,70 "url": "https://music.apple.com/us/album/opalite-official-music-video-extended-versions-single/1875381397"71 },72 {73 "content_rating": "explicit",74 "cover_url": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/0e/e5/c7/0ee5c717-114f-f4e8-9f7c-e92dd6eb9152/25UM1IM74420.rgb.jpg/1200x1200bb.jpg",75 "genres": [76 "Pop",77 "Music"78 ],79 "id": "1850496031",80 "is_compilation": false,81 "is_single": false,82 "label": "Taylor Swift",83 "release_date": "2025-11-07",84 "title": "The Life of a Showgirl + Acoustic Collection",85 "track_count": 19,86 "url": "https://music.apple.com/us/album/the-life-of-a-showgirl-acoustic-collection/1850496031"87 }88 ],89 "born_or_formed": "December 13, 1989",90 "editorial_notes": {91 "short": "Favorite Taylor’s artist page for updates on The Life of a Showgirl."92 },93 "genres": [94 "Pop"95 ],96 "latest_release": {97 "cover_url": "https://is1-ssl.mzstatic.com/image/thumb/Music211/v4/89/98/98/8998984f-9a80-c3e1-d59d-e6a6db859e0c/26UM1IM31403.rgb.jpg/1200x1200bb.jpg",98 "genres": [99 "Pop",100 "Music"101 ],102 "id": "6821937445",103 "is_compilation": false,104 "is_single": false,105 "label": "Taylor Swift",106 "release_date": "2026-10-16",107 "title": "Patient Zero - Single",108 "track_count": 3,109 "url": "https://music.apple.com/us/album/patient-zero-single/6821937445"110 }111 }112 },113 "cursor": null,114 "has_more": null115}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 Python client has client.apple_music.artist(...) and the TypeScript client client.appleMusic.artist(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.
Can an AI agent call it?
Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.