Spicy LyricsDocs
Reference

Search Tracks

Finds the tracks matching a title, an artist or free text, best match first, so you can pass one to `GET /v1/lyrics/{id}`. Releases of one recording (album, single, compilations) come back as a single result, with the others under `variants`. Each result has a `tier` saying how well it matches what you asked for. An automated fetcher should take the first result only when its tier is one it trusts, usually `exact`: a different version of a song has different timings. Send `duration` whenever you know it, since it is what tells versions apart. This does not say whether a track has lyrics. Results are cached, and a search counts as one request.

Loading
GET
/v1/tracks/search

Finds the tracks matching a title, an artist or free text, best match first, so you can pass one to GET /v1/lyrics/{id}. Releases of one recording (album, single, compilations) come back as a single result, with the others under variants.

Each result has a tier saying how well it matches what you asked for. An automated fetcher should take the first result only when its tier is one it trusts, usually exact: a different version of a song has different timings. Send duration whenever you know it, since it is what tells versions apart.

This does not say whether a track has lyrics. Results are cached, and a search counts as one request.

Authorization

bearerAuth
AuthorizationBearer <token>

A secret key (sl_sk_...) from a server you control, or a publishable key (sl_pk_...) from a browser. A publishable key additionally enforces an origin allowlist and a per-viewer IP limit.

In: header

Query Parameters

q?string

Free text, such as creep radiohead. Send this or title, not both.

Length1 <= length <= 200
title?string

The track title. Gives better tiers than q when you have the fields separately.

Length1 <= length <= 200
artist?string

The artist, or several in one string. Only with title. Without it, no result can be exact.

Length1 <= length <= 200
album?string

The album. Only with title. Picks which release of a recording is returned; it does not filter.

Length1 <= length <= 200
duration?number

The track's length in seconds. Without it, a cut of a song can only be told from another when the results show more than one length, so a match on a different cut is still possible.

Range0 < value <= 86400
limit?integer

How many results to return.

Range1 <= value <= 20
Default10

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/tracks/search"
{  "Body": {    "results": [      {        "id": "string",        "ids": {          "spotify": "string",          "isrc": "string",          "apple_music": "string",          "tidal": "string",          "youtube": "string"        },        "title": "string",        "artists": [          "string"        ],        "album": "string",        "duration": 0,        "explicit": true,        "artwork": "string",        "tier": "exact",        "variants": [          {            "id": "string",            "album": "string",            "duration": 0          }        ]      }    ]  },  "Status": 0,  "Type": "string"}