Last.fm · Schema

Last.fm Album

An album record as returned by Last.fm's album.getInfo / album.search methods.

MusicAudioScrobblingRecommendationsChartsPublic APIsAudioScrobbler

Properties

Name Type Description
name string Album title.
artist string Primary album artist (or name string).
mbid string MusicBrainz album identifier.
url string Canonical Last.fm album URL.
image array
listeners string Unique listener count (stringified integer).
playcount string Total play count (stringified integer).
userplaycount string Authenticated user's play count for the album.
tracks object
tags object
wiki object
View JSON Schema on GitHub

JSON Schema

lastfm-album-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lastfm/main/json-schema/lastfm-album-schema.json",
  "title": "Last.fm Album",
  "description": "An album record as returned by Last.fm's album.getInfo / album.search methods.",
  "type": "object",
  "required": ["name", "artist"],
  "properties": {
    "name": { "type": "string", "description": "Album title." },
    "artist": { "type": "string", "description": "Primary album artist (or name string)." },
    "mbid": { "type": "string", "description": "MusicBrainz album identifier." },
    "url": { "type": "string", "format": "uri", "description": "Canonical Last.fm album URL." },
    "image": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "size": { "type": "string", "enum": ["small", "medium", "large", "extralarge", "mega"] },
          "#text": { "type": "string", "format": "uri" }
        }
      }
    },
    "listeners": { "type": "string", "description": "Unique listener count (stringified integer)." },
    "playcount": { "type": "string", "description": "Total play count (stringified integer)." },
    "userplaycount": { "type": "string", "description": "Authenticated user's play count for the album." },
    "tracks": {
      "type": "object",
      "properties": {
        "track": {
          "type": "array",
          "items": { "$ref": "lastfm-track-schema.json" }
        }
      }
    },
    "tags": {
      "type": "object",
      "properties": {
        "tag": {
          "type": "array",
          "items": { "$ref": "lastfm-tag-schema.json" }
        }
      }
    },
    "wiki": {
      "type": "object",
      "properties": {
        "published": { "type": "string" },
        "summary": { "type": "string" },
        "content": { "type": "string" }
      }
    }
  }
}

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.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lastfm-album"
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 email required.

A second provider on the same verified email joins the account you already have.