Get Audio Analysis for a Track
GET
/audio-analysis/{id}
category-tracks
Spotify ID.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.spotify.com/audio-analysis/' \
--header 'Authorization;'
响应示例响应示例
200 - 示例 1
{
"bars": [
{
"confidence": 0,
"duration": 0,
"start": 0
}
],
"beats": [
{
"confidence": 0,
"duration": 0,
"start": 0
}
],
"sections": [
{
"confidence": 0,
"duration": 0,
"key": 0,
"key_confidence": 0,
"loudness": 0,
"mode": 0,
"mode_confidence": 0,
"start": 0,
"tempo": 0,
"tempo_confidence": 0,
"time_signature": 0,
"time_signature_confidence": 0
}
],
"segments": [
{
"confidence": 0,
"duration": 0,
"loudness_end": 0,
"loudness_max": 0,
"loudness_max_time": 0,
"loudness_start": 0,
"pitches": [
0
],
"start": 0,
"timbre": [
0
]
}
],
"tatums": [
{
"confidence": 0,
"duration": 0,
"start": 0
}
]
}
请求参数
Path 参数
id
必需
Header 参数
Authorization
必需