Spotify album by id or URL — tracks, release info
scrapecreators.x.v1-spotify-albumRetrieves detailed information about a Spotify album by its id or URL, including album metadata, artists, release date, cover art, copyright info, tracks, and sharing details.
- Price
- $0.00188/callプロバイダー原価
- Success rate
- 100%Last 30 days · 11 calls
- Latency p50
- 1.4 sp95 1.8 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-spotify-album?id=0pgrg7phBbnwGJ2HBEl9EGPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
id | 文字列 | 任意 | Spotify album id. If you'd prefer to use the URL instead, you can use the url parameter instead. | 0pgrg7phBbnwGJ2HBEl9EG |
url | 文字列 | 任意 | Spotify album URL. If you'd prefer to use the id instead, you can use the id parameter instead. | https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG |
- クエリパラメータ
id文字列任意Spotify album id. If you'd prefer to use the URL instead, you can use the url parameter instead.
例:
0pgrg7phBbnwGJ2HBEl9EGurl文字列任意Spotify album URL. If you'd prefer to use the id instead, you can use the id parameter instead.
例:
https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-spotify-album?id=0pgrg7phBbnwGJ2HBEl9EG' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-spotify-album?id=0pgrg7phBbnwGJ2HBEl9EG",
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-spotify-album?id=0pgrg7phBbnwGJ2HBEl9EG", {
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00188/call です。サービス料を含みます。