/api/v1/search_tracks/search:readSearch the track catalog
Full-text search across your partner catalog by title and/or artist. Returns matching tracks with their stable track IDs — use a returned id with the similarity endpoint to find similar tracks.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
queryreq | query | string | Search term (1–200 chars). |
mode | query | 'artist' | 'title' | 'auto' | Field to match. Defaults to 'auto' (both title and artist). |
Request
curl "https://api.resomix.com/api/v1/search_tracks/?query=midnight&mode=auto" \
-H "X-Api-Key: rmx_your_partner_key"Response 200
{
"success": true,
"data": {
"tracks": [
{
"id": "710ce777-...",
"title": "Midnight Drive",
"artist": "Nova Lux",
"duration": 214
}
]
}
}