Spotify · JSON Structure
Spotify Track Structure
Hierarchical field map for the Spotify Track object
Type: object
Properties: 0
MusicAudioStreamingPodcastsPlaylists
Spotify Track Structure is a JSON Structure definition published by Spotify.
Meta-schema:
JSON Structure
{
"title": "Spotify Track Structure",
"description": "Hierarchical field map for the Spotify Track object",
"type": "object",
"fields": [
{"name": "id", "type": "string", "description": "22-character Spotify ID"},
{"name": "uri", "type": "string", "description": "spotify:track:{id}"},
{"name": "href", "type": "string", "format": "uri", "description": "API endpoint URL"},
{"name": "name", "type": "string", "description": "Track title"},
{"name": "type", "type": "string", "enum": ["track"]},
{"name": "duration_ms", "type": "integer", "description": "Duration in milliseconds"},
{"name": "explicit", "type": "boolean"},
{"name": "is_playable", "type": "boolean"},
{"name": "is_local", "type": "boolean"},
{"name": "popularity", "type": "integer", "range": [0, 100]},
{"name": "preview_url", "type": "string", "description": "30-second MP3 preview URL"},
{"name": "track_number", "type": "integer"},
{"name": "disc_number", "type": "integer"},
{
"name": "external_ids",
"type": "object",
"fields": [
{"name": "isrc", "type": "string", "description": "International Standard Recording Code"},
{"name": "ean", "type": "string"},
{"name": "upc", "type": "string"}
]
},
{
"name": "external_urls",
"type": "object",
"fields": [
{"name": "spotify", "type": "string", "format": "uri"}
]
},
{
"name": "artists",
"type": "array",
"items": {
"type": "object",
"fields": [
{"name": "id", "type": "string"},
{"name": "uri", "type": "string"},
{"name": "name", "type": "string"},
{"name": "type", "type": "string"},
{"name": "external_urls", "type": "object"}
]
}
},
{
"name": "album",
"type": "object",
"fields": [
{"name": "id", "type": "string"},
{"name": "uri", "type": "string"},
{"name": "name", "type": "string"},
{"name": "album_type", "type": "string", "enum": ["album", "single", "compilation"]},
{"name": "release_date", "type": "string"},
{"name": "total_tracks", "type": "integer"},
{"name": "images", "type": "array"},
{"name": "artists", "type": "array"}
]
},
{"name": "available_markets", "type": "array", "items": "string", "description": "ISO 3166-1 alpha-2 market codes"}
]
}
Work with this as data
Every JSON Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/spotify-track-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.