Skip to main content
POST
Create a new scrobble

Authorizations

Authorization
string
header
required

Rocksky bearer token.

Body

application/json
title
string
required

The title of the track being scrobbled

artist
string
required

The artist of the track being scrobbled

album
string

The album of the track being scrobbled

duration
integer

The duration of the track in milliseconds (e.g., 240000 for 4 minutes)

mbId
string

The MusicBrainz ID of the track, if available

isrc
string

The International Standard Recording Code (ISRC) of the track, if available

albumArt
string<uri>

The URL of the album art for the track

trackNumber
integer

The track number of the track in the album

releaseDate
string

The release date of the track, formatted as YYYY-MM-DD

year
integer

The year the track was released

discNumber
integer

The disc number of the track in the album, if applicable

lyrics
string

The lyrics of the track, if available

composer
string

The composer of the track, if available

The copyright message for the track, if available

label
string

The record label of the track, if available

artistPicture
string<uri>

The URL of the artist's picture, if available

The Spotify link for the track, if available

The Last.fm link for the track, if available

The Tidal link for the track, if available

The Apple Music link for the track, if available

The Youtube link for the track, if available

The Deezer link for the track, if available

timestamp
integer

The timestamp of the scrobble in seconds since epoch (Unix timestamp)

Response

Success

id
string

The unique identifier of the scrobble.

trackId
string | null

The unique identifier of the track this scrobble is of.

title
string

The title of the scrobble.

artist
string

The artist of the song.

artistUri
string | null

The URI of the artist.

albumArtist
string | null

The album artist of the song.

album
string

The album of the song.

albumUri
string | null

The URI of the album.

albumArt
string<uri> | null

The album art URL of the song.

trackUri
string | null

The URI of the track (song) this scrobble is of.

handle
string

The handle of the user who created the scrobble.

did
string

The DID of the user who created the scrobble.

avatar
string<uri>

The avatar URL of the user who created the scrobble.

createdAt
string<date-time>

The timestamp when the scrobble was created.

uri
string<uri> | null

The URI of the scrobble.

sha256
string

The SHA256 hash of the scrobble data.

liked
boolean
likesCount
integer
cover
string | null
date
string
user
string
userDisplayName
string
userAvatar
string
tags
string[] | null
mbId
string | null
mbid
string | null
isrc
string | null
composer
string | null
trackNumber
integer | null
duration
integer
discNumber
integer
genre
string | null
label
string | null
key
string | null
xataVersion
integer
bpm
number | null

Production returns a nullable floating-point number. Lexicon has no float primitive; retained as an open extension without changing response data.

updatedAt

Existing response fixtures contain an empty object while other presentations use a timestamp string. Lexicon cannot express an untagged object/string union; preserve the existing open extension.