Spotify Трек API
Получает число прослушиваний, популярность, длительность и данные об альбоме трека Spotify по URL или ID трека.
1,20 USD/1 тыс. запросов, оплата за запрос, без подписки.
Create your first playlist
It's easy, we'll help you
Create playlistLet's find some podcasts to follow
We'll keep you updated on new episodes
Browse podcastsLyrics
Sign in to see lyrics and listen to the full track
Artist
Juniper Vale
Recommended
Based on this song
{"id": "5tHqowP2R2edmL1zBqfWWT","name": "Nightbloom","playcount": 18420331,"popularity": 71,"durationMs": 214000,"trackNumber": 1,"uri": "spotify:track:5tHqowP2R2edmL1zBqfWWT","shareUrl": "https://open.spotify.com/track/5tHqowP2R2edmL1zBqfWWT",... ещё полей: 4}
Цены
Цена API Spotify Трек
Попробовать
Получите Spotify Трек одним запросом
В этом примере показано полей: 14 из 15. Все поля
{
"found": true,
"data": {
"id": "5tHqowP2R2edmL1zBqfWWT",
"name": "Nightbloom",
"playcount": 18420331,
"popularity": 71,
"durationMs": 214000,
"trackNumber": 1,
"uri": "spotify:track:5tHqowP2R2edmL1zBqfWWT",
"shareUrl": "https://open.spotify.com/track/5tHqowP2R2edmL1zBqfWWT",
"image": "https://i.scdn.co/image/ab67616d0000b2734f1a2b3c4d5e6f7081920a1b",
"albumName": "Nightbloom",
"artistName": "Juniper Vale",
"releaseDate": "2025-06-13"
}
}Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.
Справочник
Один запрос, один формат ответа.
Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.
Проверено 2026-11-21 · доступность и задержка измерены за 30d
Тело запроса
JSON, отправляется на этот эндпоинт.
- idstring
ID трека Spotify (альтернатива url).
- urlstring
https://open.spotify.com/track/5tHqowP2R2edmL1zBqfWWT
URL трека Spotify (например, https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT).
Ответ
JSON, по одному примеру значения на поле.
- albumNamestring
Nightbloom
Name of the album the track appears on.
- artistNamestring
Juniper Vale
Name of the primary artist.
- durationMsinteger
214000
Populated whenever the provider has data for the entity.
- idstring
5tHqowP2R2edmL1zBqfWWT
Populated whenever the provider has data for the entity.
- imagestring
https://i.scdn.co/image/ab67616d0000b2734f1a2b3c4d5e6f7081920a1b
URL of the cover art image.
- namestring
Nightbloom
Populated whenever the provider has data for the entity.
- playcountinteger
18420331
- popularityinteger
71
- releaseDatestring
2025-06-13
Album release date as an ISO 8601 string.
- shareUrlstring
https://open.spotify.com/track/5tHqowP2R2edmL1zBqfWWT
Populated whenever the provider has data for the entity.
- trackNumberinteger
1
Populated whenever the provider has data for the entity.
- uristring
spotify:track:5tHqowP2R2edmL1zBqfWWT
Populated whenever the provider has data for the entity.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
Вопросы и ответы
Об API Spotify Трек
AnyAPI Spotify Трек API возвращает данные Spotify в виде нормализованного JSON одним вызовом POST к /v1/run/spotify.track. Получает число прослушиваний, популярность, длительность и данные об альбоме трека Spotify по URL или ID трека. AnyAPI возвращает одну нормализованную схему, какой бы источник ни ответил. Это стоит от 1,20 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 99,8% вызовов Spotify Трек через AnyAPI завершились успешно, медианное время ответа 1,8 с, измерено вызовов: 1 238.