Songlist API

Version: 2.0.0

Export

Download

Download JSONDownload YAML

Copy URL

get/songs

Get songs

Authorization

Requires a valid access token (no specific scope)

Parameters

NameInTypeRequiredDescription
attributesqueryinteger[]NoThe attributes to filter by
searchquerystringNoFilter by title and/or artist
is_newquerybooleanNoOnly return songs that are new
order_byquerystring
titleartistlastPlayedtimesPlayedduration
NoThe column to sort by
order_dirquerystring
ascdesc
NoThe direction to sort by
last_played_beforequerystringNoFilter to songs last played before this date (RFC3339). Includes never-played songs.
last_played_afterquerystringNoFilter to songs last played after this date (RFC3339). Excludes never-played songs.
times_played_opquerystring
eqltltegtgte
NoComparison operator for times played filter
times_played_valuequeryintegerNoValue to compare times played against
duration_minqueryintegerNoOnly return songs at least this many seconds long. Songs with no recorded duration are excluded.
duration_maxqueryintegerNoOnly return songs at most this many seconds long. Songs with no recorded duration are excluded.
in_queuequerystring
allexcludeonly
NoFilter by queue status
favoritesquerystring
only
NoFilter to only the authenticated user's favorited songs
collabquerystring
only
NoFilter to songs every accepted collab guest also has (no-op without an active collab session)
limitqueryintegerNoThe number of recrords to return
afterquerystringNoThe cursor to start from
streamer_idquerystringNoIf not provided, 'streamer_name' and 'platform' are required
streamer_namequerystringNoRequired if streamer_id is not supplied
platform_idquerystringNoPlatform-specific channel ID. Requires 'platform'
platformquerystring
kicknonetwitchyoutube
NoRequired if streamer_name or platform_id is supplied

Responses

200OK

application/json

Schema

SongsResponseBody

$schemastring

A URL to the JSON Schema for this object.

itemsSongSummary[]required

Array items:

SongSummary

activebooleanrequired
albumArtstringrequired
artiststringrequired
attributesSongAttribute[]required

Array items:

SongAttribute

idintegerrequired
imagestringrequired
namestringrequired
bypassRequestLimitsbooleanrequired
capostringrequired
commentstringrequired
createdAtstringrequired
durationSecondsintegerrequired
favoriteboolean
idintegerrequired
inCollabbooleanrequired
isNewbooleanrequired
lastActivationstringrequired
lastPlayedstringrequired
lastPlayedFromstringrequired
learnListIdstringrequired
masterSongIdintegerrequired
minAmountnumberrequired
minTokensintegerrequired
numQueuedintegerrequired
streamerIdintegerrequired
timesPlayedintegerrequired
titlestringrequired
tokenstringrequired
totalintegerrequired

Example

{
  "$schema": "https://example.com",
  "items": [
    {
      "active": true,
      "albumArt": "string",
      "artist": "string",
      "attributes": [
        {
          "id": 0,
          "image": "string",
          "name": "string"
        }
      ],
      "bypassRequestLimits": true,
      "capo": "string",
      "comment": "string",
      "createdAt": "2024-01-01T00:00:00Z",
      "durationSeconds": 0,
      "favorite": true,
      "id": 0,
      "inCollab": true,
      "isNew": true,
      "lastActivation": "2024-01-01T00:00:00Z",
      "lastPlayed": "2024-01-01T00:00:00Z",
      "lastPlayedFrom": "string",
      "learnListId": "string",
      "masterSongId": 0,
      "minAmount": 0,
      "minTokens": 0,
      "numQueued": 0,
      "streamerId": 0,
      "timesPlayed": 0,
      "title": "string"
    }
  ],
  "token": "string",
  "total": 0
}
400Bad Request

application/problem+json

Schema

ErrorModel

$schemastring

A URL to the JSON Schema for this object.

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[]

Optional list of individual error details

Array items:

ErrorDetail

locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueunknown

The value at the given location

instancestring

A URI reference that identifies the specific occurrence of the problem.

statusinteger

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring

A URI reference to human-readable documentation for the error.

Example

{
  "$schema": "https://example.com",
  "detail": "string",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com",
  "status": 0,
  "title": "string",
  "type": "about:blank"
}
401Unauthorized

application/problem+json

Schema

ErrorModel

$schemastring

A URL to the JSON Schema for this object.

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[]

Optional list of individual error details

Array items:

ErrorDetail

locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueunknown

The value at the given location

instancestring

A URI reference that identifies the specific occurrence of the problem.

statusinteger

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring

A URI reference to human-readable documentation for the error.

Example

{
  "$schema": "https://example.com",
  "detail": "string",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com",
  "status": 0,
  "title": "string",
  "type": "about:blank"
}
403Forbidden

application/problem+json

Schema

ErrorModel

$schemastring

A URL to the JSON Schema for this object.

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[]

Optional list of individual error details

Array items:

ErrorDetail

locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueunknown

The value at the given location

instancestring

A URI reference that identifies the specific occurrence of the problem.

statusinteger

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring

A URI reference to human-readable documentation for the error.

Example

{
  "$schema": "https://example.com",
  "detail": "string",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com",
  "status": 0,
  "title": "string",
  "type": "about:blank"
}
422Unprocessable Entity

application/problem+json

Schema

ErrorModel

$schemastring

A URL to the JSON Schema for this object.

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[]

Optional list of individual error details

Array items:

ErrorDetail

locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueunknown

The value at the given location

instancestring

A URI reference that identifies the specific occurrence of the problem.

statusinteger

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring

A URI reference to human-readable documentation for the error.

Example

{
  "$schema": "https://example.com",
  "detail": "string",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com",
  "status": 0,
  "title": "string",
  "type": "about:blank"
}
500Internal Server Error

application/problem+json

Schema

ErrorModel

$schemastring

A URL to the JSON Schema for this object.

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[]

Optional list of individual error details

Array items:

ErrorDetail

locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueunknown

The value at the given location

instancestring

A URI reference that identifies the specific occurrence of the problem.

statusinteger

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring

A URI reference to human-readable documentation for the error.

Example

{
  "$schema": "https://example.com",
  "detail": "string",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com",
  "status": 0,
  "title": "string",
  "type": "about:blank"
}