Search Flows
There are many ways to use SonicSearch. All of them use /api/sonicsearch/search, but each follows a different sequence to get there.
Upload A Track
- Upload a track
- Process the track
- Retrieve matches (using the
search_idparameter for/api/sonicsearch/search)
Search Using An Existing Track or Existing Search
- Find an existing track’s SourceAudio ID or use an existing
search_id - Retrieve matches (using the
track_searchorsearch_idparameters for/api/sonicsearch/search)
Search Using A URL
You can initiate searches using media from Youtube or SoundCloud. Your request will return immediately once the URL is verified. You’ll be able to track the progress using an API call explained in the next section. The request will return an id that you will use to track its progress, as well as the media title, for user feedback.
- Choose a YouTube or Soundcloud URL
- Process the URL
- Check URL Progress to obtain
search_id - Retrieve matches (using
/api/sonicsearch/search)
Search / Retrieving Matches
/api/sonicsearch/search
| Param | Required | Description |
|---|---|---|
| search_id | yes | The search_id from processFile or other previous search |
| track_search | yes | The SourceAudio track ID you want to find matches against |
Example Response
{ |