Last.fm · Schema
Scrobble
A scrobble submission representing a single track play sent to Last.fm.
MusicAudioScrobblingRecommendationsChartsPublic APIsAudioScrobbler
Properties
| Name | Type | Description |
|---|---|---|
| artist | string | The artist name. |
| track | string | The track name. |
| timestamp | integer | The time the track started playing, in UNIX timestamp format. |
| album | string | The album name (optional). |
| albumArtist | string | The album artist when different from the track artist. |
| trackNumber | integer | The track number on the album. |
| mbid | string | The MusicBrainz Track ID. |
| duration | integer | The track length in seconds. |
| chosenByUser | integer | 1 if the user chose this track, 0 if chosen by algorithm or radio. |
| streamId | string | The stream id for this track received from a radio service. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/last-fm/main/json-schema/scrobble.json",
"title": "Scrobble",
"description": "A scrobble submission representing a single track play sent to Last.fm.",
"type": "object",
"properties": {
"artist": {
"type": "string",
"description": "The artist name."
},
"track": {
"type": "string",
"description": "The track name."
},
"timestamp": {
"type": "integer",
"description": "The time the track started playing, in UNIX timestamp format."
},
"album": {
"type": "string",
"description": "The album name (optional)."
},
"albumArtist": {
"type": "string",
"description": "The album artist when different from the track artist."
},
"trackNumber": {
"type": "integer",
"description": "The track number on the album."
},
"mbid": {
"type": "string",
"description": "The MusicBrainz Track ID."
},
"duration": {
"type": "integer",
"description": "The track length in seconds."
},
"chosenByUser": {
"type": "integer",
"enum": [0, 1],
"description": "1 if the user chose this track, 0 if chosen by algorithm or radio."
},
"streamId": {
"type": "string",
"description": "The stream id for this track received from a radio service."
}
},
"required": ["artist", "track", "timestamp"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/scrobble"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.