Skip to content
All sites
Data API

Apple_music Data API

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

6 endpoints
apple_music.comGET/apple_music/a…GET/apple_music/a…GET/apple_music/p…{ } JSON

Apple_music Data API overview

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

/v1/apple_music/… Open playground

Key Features

Structured JSON

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

6 endpoints

Across 3 categories, all under one base path.

Fast + reliable

Served over our managed egress with automatic retries.

Live data on every run

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

Regions & Languages

Target specific markets and languages with these parameters:

countrydefault us

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\":\"songs\",\"limit\":10,\"country\":\"us\"}")
response = requests.request(
    "GET", "https://api.capzy.ai/v1/apple_music/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/apple_music/albumAlbumMusic1 credit / run
/v1/data/apple_music/artistArtistMusic1 credit / run
/v1/data/apple_music/playlistPlaylistMusic1 credit / run
/v1/data/apple_music/songSongMusic1 credit / run
/v1/data/apple_music/chartsTop ChartsCharts1 credit / run
/v1/data/apple_music/searchSearchSearch1 credit / run