Spotify Scraper
Get Spotify Track
Retrieves detailed information about a Spotify track by its id or URL, including track metadata, artists, album info, duration, playability, and sharing details.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| idstring · optional | string | optional | Spotify track id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| urlstring · optional | string | optional | Spotify song URL. If you'd prefer to use the id instead, you can use the id parameter instead. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"uri": {
"type": "string"
},
"name": {
"type": "string"
},
"saved": {
"type": "boolean"
},
"duration": {
"type": "object",
"additionalProperties": {}
},
"mediaType": {
"type": "string"
},
"playcount": {
"type": "number"
},
"__typename": {
"type": "string"
},
"popularity": {
"type": "number"
},
"firstArtist": {
"type": "array"
},
"playability": {
"type": "object",
"additionalProperties": {}
},
"sharingInfo": {
"type": "object",
"additionalProperties": {}
},
"trackNumber": {
"type": "number"
},
"albumOfTrack": {
"type": "object",
"additionalProperties": {}
},
"otherArtists": {
"type": "array"
},
"contentRating": {
"type": "object",
"additionalProperties": {}
},
"associationsV3": {
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": true
}