# Apple Music API

> Apple Music API on Apizie: 4 endpoints (Search, Track, Album, Artist) returned as clean JSON through one API key. 4 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/music:apple-music/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `music:apple-music`
- Category: Music
- Status: live
- Source: https://music.apple.com
- Page: https://zieapi.vercel.app/api/music/apple-music
- OpenAPI: https://zieapi.vercel.app/api/music/apple-music/openapi.json

Apple Music / iTunes catalogue lookups (tracks, albums, artists) using Apple's keyless iTunes Search & Lookup API.

## Endpoints

### Search
`GET https://zieapi.vercel.app/v1/music:apple-music/search`

| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | yes |  |
| type | string | no |  |
| limit | integer | no | Items per page |
| page | integer | no | 1-based page number |
| country | string | no | Two-letter storefront country code |

### Track
`GET https://zieapi.vercel.app/v1/music:apple-music/track/:id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| country | string | no | Two-letter storefront country code |

### Album
`GET https://zieapi.vercel.app/v1/music:apple-music/album/:id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| country | string | no | Two-letter storefront country code |

### Artist
`GET https://zieapi.vercel.app/v1/music:apple-music/artist/:id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |
| limit | integer | no | Items per page |
| country | string | no | Two-letter storefront country code |

## Example
```
curl "https://zieapi.vercel.app/v1/music:apple-music/search" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Apple Music API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/music:apple-music/search with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Apple Music API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Apple Music API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key music:apple-music.

### What is the status of the Apple Music API?
Live: works with just an Apizie key
