Recognize Song (v5)
Endpoint
- GET
/v5/recognize
Behavior & Priority
The endpoint accepts one of the following inputs (priority order):file(multipart upload)audio_url(query string)- raw audio bytes in the request body
400 error.
Request Parameters
| Parameter | Type | Location | Description | Required | Default |
|---|---|---|---|---|---|
audio_url | string | query | Remote audio file URL | No | N/A |
file | file | multipart/form-data | Audio file upload | No | N/A |
| (raw body) | bytes | body | Raw audio bytes (e.g., audio/mpeg) | No | N/A |
🛈 For audio_url, the server downloads up to 25 MB and may wait up to 120 seconds for slow sources.
Response
Shape| Field | Type | Description |
|---|---|---|
recognized | bool | true if a match was found |
data | Response | null | Recognized track data (null if no match) |
Response
| Field | Type | Description |
|---|---|---|
artist | string | null | Artist name |
title | string | null | Track title |
album_art | string | null | Album art URL |
album_name | string | null | Album name |
label | string | null | Label name |
released | string | null | Release year |
albumadamid | string | null | album ID |
isrc | string | null | ISRC code |

