Apple Music artist by id or URL — top songs, albums
scrapecreators.x.v1-apple-music-artistRetrieves public Apple Music artist details, including artwork, editorial notes, top songs, albums, music videos, playlists, and related sections.
- Price
- $0.00188/callZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-apple-music-artist?id=159260351PreviewTry onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
id | Zeichenkette | Optional | Apple Music artist id. If you'd prefer to use the URL instead, you can use the url parameter instead. | 159260351 |
url | Zeichenkette | Optional | Apple Music artist URL. If you'd prefer to use the id instead, you can use the id parameter instead. | https://music.apple.com/us/artist/taylor-swift/159260351 |
- Abfrageparameter
idZeichenketteOptionalApple Music artist id. If you'd prefer to use the URL instead, you can use the url parameter instead.
Beispiel:
159260351urlZeichenketteOptionalApple Music artist URL. If you'd prefer to use the id instead, you can use the id parameter instead.
Beispiel:
https://music.apple.com/us/artist/taylor-swift/159260351
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-apple-music-artist?id=159260351' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-apple-music-artist?id=159260351",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-apple-music-artist?id=159260351", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.00188/call einschließlich Servicegebühr abgerechnet.