Get an Apple Music song
Returns an Apple Music song by id: title, artist, album, duration, release date, genres and preview URL. Returns `not_found` when the song does not exist.
Pricing — $ · min $0.003
Minimum 3 credits ($0.003) per call. Records returned above the minimum bill 1 credit ($0.001) each.
Authorization
bearerAuth UnifAPI API key. Provider credentials are managed by UnifAPI.
In: header
Path Parameters
Apple Music song id (the i parameter of a song link).
1 <= length <= 500Header Parameters
Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md
"2026-07-01"Value in
- "2026-07-01"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/apple-music/tracks/string"{ "request_id": "string", "data": { "platform": "string", "track_id": "string", "title": "string", "duration_ms": 0, "track_number": 0, "is_explicit": true, "artist_name": "string", "album_title": "string", "artwork_url": "string", "preview_url": "string", "track_url": "string" }, "billing": { "credits_charged": 0, "records_charged": 0, "balance_remaining": 0, "truncated_due_to_balance": true }}