GET
TracksGet Analysis
Return structural timing analysis for a track.
/v1/tracks/:tune_id/analysisMethod
GET
Path
/v1/tracks/:tune_id/analysis
Group
Tracks
Overview
How to use this endpoint
Use this endpoint when you need structured API data in a predictable JSON shape. Reference the request example, required parameters, and response fields below to wire it into your product or internal tool.
Response format
JSON response
All successful responses return data in a stable JSON envelope and use Tune UUIDs for resource identifiers.
Code example
Example request
request
Copy-ready
GET /v1/tracks/3f2504e0-4f89-11d3-9a0c-0305e82c3301/analysisRequest parameters
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
tune_id | uuid | Yes | Stable Tune identifier for the requested resource. |
Response schema
Response fields
| Field | Type | Description |
|---|---|---|
tune_id | uuid | Track Tune identifier. |
duration_ms | integer | Track duration in milliseconds. |
num_bars | integer | Detected bar count. |
num_beats | integer | Detected beat count. |
num_sections | integer | Detected section count. |
num_segments | integer | Detected segment count. |
num_tatums | integer | Detected tatum count. |
analysis | object | Low-level arrays for bars, beats, sections, and segments. |
Code example
Example response
application/json
Copy-ready
{
"data": {
"tune_id": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
"duration_ms": 243187,
"num_bars": 64,
"num_beats": 256,
"num_sections": 8,
"num_segments": 412,
"num_tatums": 512,
"analysis": {
"bars": [{ "start": 0, "duration": 1.876, "confidence": 0.92 }],
"beats": [{ "start": 0, "duration": 0.469, "confidence": 0.88 }],
"sections": [{ "start": 0, "duration": 16.8, "tempo": 128, "key": 5, "mode": 0 }],
"segments": [{ "start": 0, "duration": 0.22, "loudness_max": -6.4 }]
}
}
}Next steps