Headers
Get your API keyAPI key (`sfk_...`)
Optional Apple Music song id for the request.
min 1 chars · max 128 chars
Optional Apple Music song URL for the request.
min 1 chars · max 4096 chars
Endpoint-specific response payload.
Whether the track was found.
one of: found, not_found
Track details when available.
Platform for this track.
one of: apple_music
Stable Apple Music song identifier.
min 1 chars
Track title.
min 1 chars
Track duration in milliseconds when available.
≥ 0
Track number on the album when available.
≥ 0
Whether the track is marked explicit when available.
Primary artist display name when available.
Album title when available.
Best available square artwork image URL when available.
Short audio preview URL when available.
Canonical public Apple Music song URL when available.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.
Code example
curl "https://api.socialfetch.dev/v1/apple-music/track?trackId=1468058169" \
-H "x-api-key: YOUR_API_KEY"Responses
Track lookup result.