Reference

Glossary

Concise definitions of AudD-specific terms an integrator or agent will encounter: endpoints, billing, result fields, identifiers, streams, request parameters, the CLI, and the MCP server.

view .md auddglossaryisrcupc

Here you can find the definitions of the terms used in the AudD API, in its responses, and in the SDKs. Some of the parameters and fields have other names in the SDKs; in that case, the heading gives both.

API token

api_token — the auth token. It’s required for all your requests. The token is alphanumeric and has no prefix. Get one from the API Dashboard.

Send the token as the api_token form field or as a query parameter. In the SDKs and the AudD CLI, the token can also be set through the AUDD_API_TOKEN environment variable.

The test token

The public test token (api_token=test) only allows 10 requests per day. It works only on the standard endpoint, and not on enterprise or streams. Use it for hello-world snippets. To get your own token, go to dashboard.audd.io.

request

AudD bills based on requests: one call to the standard endpoint is one request. On the enterprise endpoint, the requests are counted as 1 request per 12 seconds of audio, so a one-hour file is up to 300 requests unless you use skip, every, or limit. Each plan includes a monthly number of requests, and new accounts get a free trial of 300 requests in total, usable for 14 days, where available.

The standard endpoint has no rate limits. You can send up to millions of parallel requests in a single hour. Let us know in advance if you need that many: [email protected].

The enterprise endpoint has a default concurrency limit. Let us know if you want a higher limit: send an email to [email protected].

Standard endpoint

The standard endpoint, POST https://api.audd.io/, is the default API method, for short audio clips. It returns the single best match; if no match is found, result is null. The maximum file size is 10 MB. The response time is under two seconds.

Enterprise endpoint

The enterprise endpoint (POST https://enterprise.audd.io/) is for longer audio, up to hours or days, and for files with multiple songs: full-length songs, short-form videos, podcasts, broadcasts, DJ sets. The server splits the file into chunks and recognizes all the tracks in them. There is no practical limit on the file size. The requests are counted as 1 request per 12 seconds of audio, so set limit during development.

Chunk

A chunk is a 12-second piece of audio that the enterprise endpoint recognizes and counts as one request. If you don’t want every one of these chunks to be recognized and counted as requests, there are two parameters that you can use: skip and every.

skip / every

skip and every are enterprise parameters for recognizing only some of the chunks.

  • skip - how many 12-second 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.

limit

limit is a parameter on an enterprise request that sets the upper bound for the number of chunks the server will recognize. So if you want the file to count as no more than 10 requests, send limit=10. Be sure to set it during development and on any file of unknown length.

skip_first_seconds / use_timecode

skip_first_seconds and use_timecode are the enterprise parameters that set where recognition starts in the file. These two parameters should not be used together.

  • skip_first_seconds - how many seconds of the file the server should skip at the beginning before starting the music recognition, i.e., the start time of the first chunk.
  • use_timecode - set to “true” if you want the server to use the time in the t, time_continue, or start parameter of the URL as the start time, like ?t=90 in a YouTube link.

offset

offset is the position, in the audio file you submitted to the enterprise endpoint, of the start of the chunk that contains the match.

start_offset / end_offset

In an enterprise response, start_offset and end_offset are the positions (in milliseconds), in the chunk, of the start and the end of the audio we matched to a song. To get the position of the match in the whole file, you can combine them with the chunk’s offset. They are in the response only when the request sets accurate_offsets=true.

timecode

timecode is the time in the recognized song when the fragment you sent is played (for example, 02:32 into Imagine Dragons’ “Warriors”). It’s a position in the song, not in the file you sent.

score

score is a number from 0 to 100 that shows how strongly an enterprise chunk matched a track. The higher the score, the stronger the match. It’s an enterprise feature, available on a Startup plan or higher, on request; any paid plan can use the enterprise endpoint itself.

ISRC

ISRC stands for International Standard Recording Code, the unique identifier of a sound recording. It’s returned as the isrc field of enterprise matches. It’s an enterprise feature, available on a Startup plan or higher, on request.

UPC

UPC stands for Universal Product Code, the identifier of a release: the product that the recording was published on. Like ISRC, it’s returned as the upc field of enterprise matches, and it’s an enterprise feature, available on a Startup plan or higher, on request.

audio_id

audio_id is the ID of a song in your custom catalog, an integer that you set when you upload it. You will get the ID you set with the recognition results. Since AudD may have no metadata for the song, artist and title can be null on these matches. Keep the metadata on your side, keyed by audio_id.

song_link is a universal link to the recognized song’s page, usually on lis.tn, for example https://lis.tn/Warriors. The page links out to the song on the streaming platforms.

lis.tn

lis.tn is the domain that AudD uses for its short links to song pages, and most song_link values point there.

fingerprint / audio fingerprinting

Audio fingerprinting is how AudD recognizes music: we make a compact digital “fingerprint” from the file you send and compare it with the fingerprints of the songs in our database. We use our own fingerprinting technology based on neural networks.

public database

The public database is a catalog of commercially released music that contains about 160 million songs. The standard and enterprise endpoints recognize songs from this database by default. If you have your own content that you want to recognize instead of using our music database, see the custom catalog below.

custom catalog

A custom catalog is a private database that stores the fingerprints of your own songs for recognition. You upload songs to it with POST https://api.audd.io/upload/. The songs uploaded via this endpoint will be available for recognition only to you, and matches from it carry an audio_id. Access to this endpoint isn’t available by default. Let us know if you want access: send an email to [email protected].

return / returnMetadata

The return parameter is for comma-separated identifiers of the additional metadata you want to be returned. The identifiers you can send: musicbrainz – MusicBrainz metadata; apple_music, spotify, deezer – Apple Music, Spotify, Deezer data and links respectively. The result has the data requested in the return parameter in fields corresponding to the identifiers. In the SDKs, the option is returnMetadata, return_metadata, or ReturnMetadata, depending on the language.

The enterprise endpoint doesn’t automatically include provider metadata. If you want additional metadata (e.g. Apple Music, Deezer, MusicBrainz metadata) to be returned with the enterprise results, contact us: [email protected].

market

market is a request parameter that sets the country code for Apple Music, iTunes, and Spotify results. By default, it is set to us.

extras / model_extra

The responses can have fields for beta features and fields that aren’t typed in the SDKs yet. You can read them in the extras map of each result and metadata block, using the field names as keys. In Node and Kotlin, the Apple Music, Spotify, and Deezer blocks are plain maps that contain all the fields from the provider.

SDKAccessor
Pythonmodel_extra
Go, .NETExtras
Javaextras()
Cthe *_extra(obj, "key") functions
Node, PHP, Rust, Swift, Kotlin, C++extras

stream / radio_id

A stream is a continuous audio source, such as a radio station, livestream, or broadcast, registered for ongoing recognition via the streams endpoints. We wanted to make the API as simple as possible: you send us the URLs of radio streams, we send you the recognition results in real time.

radio_id is any integer that will identify this stream for you. We support most of the stream formats, including DASH, Icecast, HLS, m3u/m3u8. We also natively support Twitch broadcasts and YouTube live streams, and you can send twitch:<channel>, youtube:<video_id>, and youtube-ch:<channel_id> as the URL.

callback URL

Callbacks are the requests with stream recognition results our servers will send to your server. The callbacks will be sent to the specified URL as a JSON structure in the POST payload. Set the URL for callbacks using the setCallbackUrl API method. Set it to an actual URL that can receive POST requests, even if you only want to use long polling.

longpoll

Longpoll is the other way to get stream results: in addition to callbacks, you can use HTTP long polling at GET https://api.audd.io/longpoll/ to get new results from any number of clients without having to spin up a web server or have a static IP.

Before you use long polling, set a working callback URL with setCallbackUrl; ensure that it responds with the 200 OK HTTP status when it receives the callbacks. Without a callback URL, longpoll might never return any events, even when songs are recognized.

longpoll category

A longpoll category is a key that a longpoll client subscribes to, sent as the category parameter. As the category, use the longpoll_category field from the getStreams response, or calculate the first nine hex characters of MD5(MD5(api_token) + radio_id). You can share the categories with your clients or users, but please don’t include your API tokens in the client-side software.

AudD MCP server

The AudD MCP server at https://mcp.audd.io lets AI agents work with an AudD account using the Model Context Protocol. For more information, see the MCP server docs.

There are tools for usage, the API token (read or rotate), the docs, plans and payments, and one-off API calls. Payment links are for you to open and approve. Agents sign in to your account using OAuth, and they only get the permissions you grant.

AudD CLI

audd is the official command-line tool for AudD. You can use it to recognize songs in files, URLs, folders, long recordings, and microphone input, to monitor streams, and to manage your account. Running audd with no arguments on a terminal will open the interactive mode. The output of audd is JSON when it is piped. For more information, see the CLI reference and the CLI guide for AI agents.


Related

Reading this as an AI agent? The raw Markdown is at reference/glossary.md, and the full index is /resources/llms.txt.