cURL
curl --request GET \ --url https://api.unifically.com/suno/downbeats/{taskId} \ --header 'Authorization: Bearer <token>'
{ "task_id": "<string>", "a": { "state": "<string>", "downbeats": [ {} ], "raw_downbeats": [ {} ] }, "b": {} }
Get timing information for song downbeats
curl "https://api.unifically.com/suno/downbeats/3544bab1-ac87-4e27-b632-7aac52150099" \ -H "Authorization: Bearer YOUR_API_KEY"
3544bab1-ac87-4e27-b632-7aac52150099
{ "code": 200, "data": { "task_id": "68c911ac-c8f4-4a4f-b7c4-eb6fa4f8ae92", "a": { "state": "complete", "downbeats": [ [0.00085, 1], [0.61712, 2], [1.23598, 3], [1.85477, 4], [2.47262, 1], [3.09252, 2], [3.71067, 3], [4.32852, 4], [4.94744, 1], [5.56583, 2] ], "raw_downbeats": [ [0, 1], [0.62, 2], [1.24, 3], [1.86, 4], [2.48, 1], [3.08, 2], [3.7, 3], [4.32, 4], [4.94, 1], [5.56, 2] ] }, "b": { "state": "complete", "downbeats": [ [0.02, 1], [0.71738, 2], [1.41473, 3], [2.11287, 4], [2.81083, 1], [3.5081, 2], [4.20598, 3], [4.9035, 4], [5.60088, 1], [6.29958, 2] ], "raw_downbeats": [ [0, 1], [0.7, 2], [1.4, 3], [2.1, 4], [2.8, 1], [3.5, 2], [4.2, 3], [4.9, 4], [5.6, 1], [6.3, 2] ] }, "error": {} } }
a
b
complete
pending
failed
[time_in_seconds, beat_number]
downbeats