GET
/track/previewReturns a 30-second preview clip for a track. Resolves via artist and title, or ISRC. Useful for letting someone hear a snippet before committing to the full stream.
Rate limit
30 req/min
Caching
Not cached. Every request goes upstream.
Authentication
Send a
User-Agent header containing a contact email. See authentication.Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| artist | string | optional | Artist name. Needed if you are not passing an ISRC. |
| title | string | optional | Track title. Needed if you are not passing an ISRC. |
| isrc | string | optional | ISRC code. Faster lookup than artist and title. |
Request
curl 'https://api.synkradio.co.uk/track/preview' \
-H 'User-Agent: [email protected]'Try it
GETTry it
Sends a real requesthttps://api.synkradio.co.uk/track/preview?artist=Daft%20Punk&title=Around%20the%20World&isrc=GBUM71505078Response
Returns binary
audio/mpeg. Pipe the response body directly to a file or stream.