API Docs for the enterprise endpoint#

We have a separate endpoint that handles large files. You can send hours-long or even days-long audio to this endpoint

How the requests are counted

Basically, as 1 request per 12 seconds of audio.

When you upload a file, our servers think of it as a bunch of 12 seconds long audio chunks. If you don't want every one of these chunks to be recognized and counted as the requests, there are two parameters that you can use: skip and every.

  • skip - how many 12 seconds long audio chunks are skipped after the ones that are recognized.
  • every - how many chunks should be recognized in a row.

So if you want to recognize 12 seconds, then skip 48 seconds, then recognize 12 seconds again, skip 48 seconds again, etc., these parameters should be skip=4 and every=1. If you want to skip 108 seconds instead so it counts as 1 request per 120 seconds of audio, send skip=9 and every=1.

Where to get a token#

You can get a token from our API Dashboard.

The fists 300 requests are free, then there are different subscription options starting at $2 per 1000 requests. We use Stripe for secure payments.

How to send files#

There are two ways of sending files to the API:

  • Provide a URL of the file. Our server will download and recognize music from the file. Send the URL in the url parameter. (You can also send a URL of a web page that contains audio or video instead of the URL of the actual audio file)
  • Post the file using multipart/form-data in the usual way the files are uploaded via the browser. Send the file in the file parameter, by POST. Useful if the file is not available by a URL.

You can try to send a file from a browser here (or here for csv results instead of json).

post
Send a file#

https://enterprise.audd.io/
Form Data Parameters
api_token
REQUIRED
string
The token received from the Dashboard
url
POSSIBLY REQUIRED
string
The URL of the file for the recognition
file
POSSIBLY REQUIRED
binary
The file for the recognition
accurate_offsets
OPTIONAL
string
Set to "true" to get accurate start and end offsets of the recognized tracks
skip
OPTIONAL
integer
How many 12 seconds chunks are skipped after the ones that are recognized
every
OPTIONAL
integer
How many chunks should be recognized in a row
limit
OPTIONAL
integer
The upper bound for the number of chunks the server will recognize
skip_first
OPTIONAL
integer
How many chunks the server should skip before the first one to be recognized
use_timecode
OPTIONAL
string
Set to "true" if you want the server to add the time represented in "t", "time_continue", or "start" parameters of the URL, if one exists, devided by 12 to the skip_first

How to get additional metadata, e.g. ISRCs and UPCs#

You don't have to have an enterprise account in order to use the enterprise endpoint. But you need an enterprise account to get ISRCs and UPCs with the results. Let us know if you want access to these features: send an email to api@audd.io.