Skip to content
All sites
Data API

Spotify Data API

Structured JSON data, on demand, with anti-bot bypass built in.

7 endpointsRate Limit handled for you
spotify.comGET/spotify/albumGET/spotify/artistGET/spotify/playl…{ } JSON

Spotify Data API overview

Extract structured data from Spotify as structured JSON. Choose an endpoint below, check its parameters, and run it in the dashboard playground.

/v1/spotify/… Open playground

Key Features

Structured JSON

Clean, normalized records for structured data. No HTML parsing on your side.

7 endpoints

Across 3 categories, all under one base path.

Anti-bot handled

Rate Limit cleared for you behind the scenes.

Live data on every run

Every request scrapes the source live, so results are always current.

Regions & Languages

Global coverage. Results are returned for the default locale.

Pagination

Page through results with offset.

Quick Start

Use your dedicated Data API key. Follow this endpoint's method and parameters.

data_api.py
# Install: pip install requests
import json
import os
import requests

params = json.loads("{\"query\":\"rick astley\",\"type\":\"tracks\",\"limit\":10}")
response = requests.request(
    "GET", "https://api.capzy.ai/v1/spotify/search",
    headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
    params=params,
    timeout=120,
)
response.raise_for_status()
print(response.json())

Per-run pricing

failed requests are free
EndpointCategoryPrice / 1k results
/v1/data/spotify/albumAlbumMusic1 credit / run
/v1/data/spotify/artistArtistMusic1 credit / run
/v1/data/spotify/playlistPlaylistMusic1 credit / run
/v1/data/spotify/trackTrackMusic1 credit / run
/v1/data/spotify/searchSearchSearch1 credit / run
/v1/data/spotify/showPodcast ShowPodcasts1 credit / run
/v1/data/spotify/show/episodesPodcast EpisodesPodcasts1 credit / run