Apple Music
Apple Music search, artists, albums, and tracks through one unified API
Apple Music
Apple Music catalog reads: search, then artist, album, or track by id or URL. Same 1-credit standard tier as Spotify.
Base URL: /v1/apple_music/...
Getting Started
1. Search, then fetch one record
curl "https://www.socialcrawl.dev/v1/apple_music/search?query=taylor%20swift&type=song" \
-H "x-api-key: sc_your_api_key_here"
curl "https://www.socialcrawl.dev/v1/apple_music/artist?url=https://music.apple.com/us/artist/taylor-swift/159260351" \
-H "x-api-key: sc_your_api_key_here"search is the keyword entry. artist, album, and track take id or url for the full record.
2. Read computed fields
When an endpoint supports a computed field and the required source inputs are present, the unified response includes that optional field. Depending on the endpoint, optional fields can include engagement_rate, language, content_category, and estimated_reach. See Computed fields for formulas, clamping rules, and null semantics.
Endpoints
4 endpoints available.
| Endpoint | Path | Credit Tier |
|---|---|---|
| Get an Apple Music album | /v1/apple_music/album | standard (1cr) |
| Get an Apple Music artist | /v1/apple_music/artist | standard (1cr) |
| Search Apple Music | /v1/apple_music/search | standard (1cr) |
| Get an Apple Music track | /v1/apple_music/track | standard (1cr) |
Notes
- All endpoints use
GETmethod with query parameters - Authentication via
x-api-keyheader - Responses follow the unified SocialCrawl schema
