SYNK
GET/playlist/generate

Generates a playlist mix based on genre keywords and optional audio feature targets. Pass energy (0.0-1.0) and tempo (BPM) to bias the selection toward tracks that match those characteristics. Results are deduplicated by artist so you get a varied mix.

Rate limit
30 req/min
Caching
Cached in the internal database for 30 minutes per genre/energy/tempo/limit combination.
Authentication
Send a User-Agent header containing a contact email. See authentication.

Parameters

NameTypeRequiredDescription
genresstringrequiredComma-separated genre keywords to seed the mix. e.g. electronic,house or deep house,techno.
energyintegeroptionalTarget energy level from 0.0 (mellow) to 1.0 (intense). Filters within ±0.2 of the value.
tempointegeroptionalTarget BPM. Filters tracks within ±20 BPM of this value.
limitintegeroptionalNumber of tracks to return. Between 1 and 50. Defaults to 20.

Request

curl 'https://api.synkradio.co.uk/playlist/generate?genres=value' \
  -H 'User-Agent: [email protected]'

Try it

GETTry it
Sends a real request
https://api.synkradio.co.uk/playlist/generate

Response

200 application/json
{
  "playlist": "electronic,house Mix",
  "params": {
    "genres": "electronic,house",
    "energy": 0.7,
    "tempo": null
  },
  "trackCount": 2,
  "tracks": [
    {
      "id": 389034231,
      "name": "Glue",
      "artist": "Bicep",
      "artistId": 4860761,
      "album": "Glue",
      "durationMs": 269000,
      "explicit": false,
      "isrc": "GB5KW1700100",
      "cover": "https://api.synkradio.co.uk/cover?artist=Bicep&title=Glue"
    },
    {
      "id": 921278,
      "name": "Losing It",
      "artist": "Fisher",
      "artistId": 3872148,
      "album": "Losing It",
      "durationMs": 392000,
      "explicit": false,
      "isrc": "QMFMF1800050",
      "cover": "https://api.synkradio.co.uk/cover?artist=Fisher&title=Losing+It"
    }
  ]
}

Response schema

FieldTypeExampleDescription
playliststring"electronic,house Mix"
paramsobject3 fields
trackCountnumber2Number of tracks on the release.
tracksarray<object>2 itemsTracklist for the release.