Get the list of markets where Spotify is available.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.spotify.com/markets' \
--header'Authorization;'
响应示例响应示例
200 - 示例 1
{"markets":["string"]}
请求参数
Header 参数
Authorization
必需
A valid user access token or your client credentials.
返回响应
🟢200On success, the HTTP status code in the response header is 200 OK and the response body contains a list of the countries in which Spotify is available, identified by their [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)