Migrate from Audible Magic to AudD
Move an upload-checking integration from the Audible Magic Toolkit to the AudD API, or run both during a pilot: identify to the enterprise endpoint, identifyStream to streams, the JSON match fields to AudD's, ruleCode to your own policy, reference content to a custom catalog, and what you lose.
This page shows how to move upload checks from the Audible Magic Toolkit to
AudD, or how to run the two side by side. With Audible Magic, the Toolkit runs
on your servers. Its identify program analyzes each file and posts the
fingerprints to Audible Magic, and the response has a rule code for each
match. With AudD, you send the file or its URL to our API. Our server will
download the file and identify the music. The results contain the recognized
songs, their positions in your file, and the metadata. You can use the results
to control what happens to each upload.
Note. We quoted the Audible Magic commands and field names on this page from its public help desk at support.audiblemagic.com on November 24, 2026. Your configuration file decides what your responses contain: a RightsRx response, for example, has fewer metadata fields than a Compliance Identification response.
What changes and what stays
Some things change. You don’t install a binary or a configuration file: you
send requests with an api_token from the API Dashboard. The file, or its
URL, goes to AudD, and our servers make the fingerprints. You’ll get matches
for each 12-second chunk, and you join them into one span per track. There’s
no ruleCode, so your platform applies its own policy, and matches come from
our DB and your custom catalog, not from rights holders’ registrations.
Other things stay the same. You get the position of each match in the upload,
and the title, artist, label, and release date, with ISRC and UPC codes on
request. You keep your own asset IDs, as you did with unknownAssetID.
Audible Magic recommends running identify outside the critical path, with a
queue in front of it, and the same design works with AudD.
Concept map
| Audible Magic | AudD |
|---|---|
Toolkit identify | POST https://enterprise.audd.io/ (recognize_enterprise in Python) |
Toolkit analyze | No equivalent; AudD makes the fingerprints |
Toolkit identifyStream | Streams: setCallbackUrl, then addStream |
| Encrypted configuration file | api_token |
-e unknownAssetID | Your own job ID, kept on your side |
streamID (a string) | radio_id (an integer) |
Maximum identify instances, error 5429 | Default enterprise concurrency limit, raised on request |
| Duration-based i5, i10, i20 | Standard endpoint (up to the first 12 seconds) or enterprise (12-second chunks) |
| Reference content from rights holders | Our DB of 160 million songs, plus your custom catalog |
ruleCode | Your policy |
statusCode 2006, “Match found” | "status": "success" with a non-empty result |
Scan an upload
Before: the Toolkit
Audible Magic’s help desk documents this command line for identify:
.\identify -c configFile -i inputFile -e assetID
The -c argument is the configuration file supplied to you by Audible Magic,
-i is the media file, and -e is a caller-defined identifier that’s
returned in the response as unknownAssetID. Here’s the help desk’s example
of a Compliance Identification response with one music match:
{
"statusCode": 2006,
"statusDescription": "Status 2006 (2006) Match found",
"unknownAssetID": "297J93",
"unknownMediaFileDuration": 278.1,
"matches": [
{
"ruleCode": "block",
"matchType": "audio",
"amItemID": "b3f66873c09b49bfaec9d69d21a76949_RGUa00",
"matchTimeInUnknown": 0.500,
"matchDurationInUnknown": 33.000,
"matchTimeInReference": 0.600,
"metadata": {
"ContentCategory": "Music",
"Title": "SONG TITLE",
"Artist": "SONG ARTIST",
"ISRC": "XXXX00000000",
"Label": "SONG LABEL",
"Vendor": "SONG VENDOR",
"AlbumReleaseDate": "01-Jan-1900",
"AlbumUPC": "0000000000000",
"SongLengthInSeconds": "299"
}
}
]
}
After: the enterprise endpoint
Send the URL of the file in the url parameter, or post the file in the
file parameter. Set limit while you test: it’s the upper bound for the
number of chunks the server will recognize, so one long file can’t use more
requests than you meant.
curl https://enterprise.audd.io/ \
-F api_token=your-api-token \
-F url=https://audd.tech/example.mp3 \
-F accurate_offsets=true \
-F limit=10
To upload a local file instead of a URL, send it as the file multipart
field: -F [email protected]. With the Python SDK:
from audd import AudD
audd = AudD("your-api-token") # get your own token at dashboard.audd.io
matches = audd.recognize_enterprise("https://audd.tech/example.mp3", limit=10)
for m in matches:
print(m.start_seconds, m.end_seconds, m.artist, "-", m.title, m.isrc)
The response has one entry for each 12-second chunk that contains matches. This is one chunk from the example response in the enterprise docs:
{
"status": "success",
"result": [
{
"songs": [
{
"score": 100,
"artist": "Barely Alive",
"title": "Keyboard Killer",
"album": "Lost in the Internet EP",
"release_date": "2014-03-10",
"label": "Disciple Recordings",
"timecode": "00:41",
"isrc": "FR4GL1069639",
"upc": "3610154900148",
"song_link": "https://lis.tn/KeyboardKiller",
"start_offset": 1,
"end_offset": 9660
}
],
"offset": "00:48"
}
],
"execution_time": "38.335355495s"
}
score, isrc, and upc are enterprise features, available on a Startup
plan or higher. Let us know if you want access to these features: send an
email to [email protected]. Without them, the
matches come back without those fields.
The request doesn’t take an asset ID, and the response doesn’t include the duration of the file. Keep the ID of the upload with its job in your queue. To get the duration, read it at ingest, for example with ffprobe:
ffprobe -v error -show_entries format=duration -of csv=p=0 upload.mp4
If the server has successfully processed the request, but there are no
matches, the result field is empty, and the SDK returns an empty list. For
moderation, that means unknown, not cleared. The API returns the errors with
an explanation of what happened, and the SDKs raise typed exceptions.
The error codes reference groups the errors by category.
Map the response fields
| Audible Magic field | AudD |
|---|---|
statusCode, statusDescription | status, and an error code on errors |
unknownAssetID | Not sent; keep it on your side |
unknownMediaFileDuration | Not returned; read it with ffprobe |
matches | result: chunks, each with songs |
matchTimeInUnknown | Chunk offset plus start_offset (ms); start_seconds in the Python SDK |
matchDurationInUnknown | end_seconds minus start_seconds, joined across chunks |
matchTimeInReference | timecode, the position in the original song |
amItemID | No internal ID; use isrc, or audio_id for custom-catalog matches |
ruleCode | Your policy |
matchType | Always audio |
Title, Artist, Label | title, artist, label |
ISRC, AlbumUPC | isrc, upc (on a Startup plan or higher, on request) |
AlbumReleaseDate | release_date |
Vendor, ContentCategory, SongLengthInSeconds | No equivalent |
When you upload a file, our servers think of it as a bunch of 12-second
chunks, and you’ll get a match for each chunk in which a song was recognized.
The adapter below joins consecutive matches of the same song into one record
with Audible Magic’s field names. It fills ruleCode from a function that you
write.
from audd import AudD
GAP = 2.0 # seconds; joins the small gaps at chunk boundaries inside one play
def track_key(m):
if m.audio_id is not None:
return f"custom:{m.audio_id}"
if m.isrc:
return f"isrc:{m.isrc}"
return f"name:{(m.artist or '').casefold()}|{(m.title or '').casefold()}"
def seconds(timecode):
total = 0.0
for part in (timecode or "0").split(":"):
total = total * 60 + float(part)
return total
def to_match_records(matches, decide):
"""Join AudD enterprise matches into one record per continuous play."""
runs, open_runs = [], {}
located = [m for m in matches if m.start_seconds is not None]
for m in sorted(located, key=lambda m: m.start_seconds):
key = track_key(m)
run = open_runs.get(key)
if run and m.start_seconds <= run["end"] + GAP:
run["end"] = max(run["end"], m.end_seconds)
continue
run = {"key": key, "first": m, "start": m.start_seconds, "end": m.end_seconds}
open_runs[key] = run
runs.append(run)
return [
{
"ruleCode": decide(r["first"]),
"trackKey": r["key"],
"matchTimeInUnknown": round(r["start"], 3),
"matchDurationInUnknown": round(r["end"] - r["start"], 3),
"matchTimeInReference": seconds(r["first"].timecode),
"metadata": {
"Title": r["first"].title,
"Artist": r["first"].artist,
"ISRC": r["first"].isrc,
"Label": r["first"].label,
"AlbumUPC": r["first"].upc,
"AlbumReleaseDate": r["first"].release_date,
},
}
for r in runs
]
LICENSED_ISRCS = {"GBUM71403885"} # from your license records
def decide(m):
"""Your policy: AudD returns no rule."""
return "allow" if m.isrc in LICENSED_ISRCS else "review"
audd = AudD("your-api-token")
matches = audd.recognize_enterprise("https://audd.tech/example.mp3", limit=10)
for record in to_match_records(matches, decide):
print(record)
The spans are approximate. start_offset and end_offset are the
positions, in the 12-second fragment, of the start and end of the fragment we
matched to a song, so one play can show small gaps at the chunk boundaries.
If you thin the scan with skip and every, the skipped chunks leave larger
gaps, and one play can come back as several records.
Replace ruleCode with your own policy
At Audible Magic, the rules come from rights holders. The default rule for its Identification & Copyright Compliance services is “Block”, and a rights holder can set “Allow” for one platform and “Block” for another. UGC licensing adds “Monetize” after a song’s release date.
AudD doesn’t send rules, so you can use the results to control what happens to each upload. For example, you can allow the recordings you have licensed and send the rest to review. If you relied on the default “Block”, start by sending every match that isn’t on your allow list to review, and block when matched music covers most of the upload.
For a decision table with code, see From match to decision.
Move your reference content
At Audible Magic, the reference content comes from rights holders. With AudD, matching against our DB of 160 million songs needs no setup. If you want to recognize music among recordings you hold, such as a licensed library, masters that rights holders send you directly, or unreleased tracks, upload them to a custom catalog. Access to this endpoint isn’t available by default: contact the AudD representative that you work with, or email [email protected].
from audd import AudD
audd = AudD("your-api-token")
# A recording you have the rights to upload; 51885 is your own ID for it.
audd.custom_catalog.add(audio_id=51885, source="https://your-cdn.example/masters/51885.wav")
By uploading any audio files, you confirm that you have the rights to do so.
You will get the ID you set with the recognition results, and artist and
title may be missing, so we strongly recommend storing the metadata on your
side and sending us integer IDs linked to it. Don’t retry a failed upload
automatically; the Python SDK doesn’t either.
For when each database produces a match, see Public database vs your custom catalog.
Move live streams
Audible Magic’s help desk documents this command line for identifyStream:
.\identifyStream -c configFile -i streamURL -e streamID -O outputDirectory
identifyStream runs on your server and writes JSON files to the output
directory. With AudD, you don’t run anything. Set the URL for callbacks using
the setCallbackUrl API method, and add the streams using the addStream API
method, each with an integer radio_id. Callbacks are the requests with
recognition results our servers will send to your server.
from audd import AudD
audd = AudD("your-api-token")
audd.streams.set_callback_url("https://your-server.example/audd-callback")
audd.streams.add(url="https://npr-ice.streamguys1.com/live.mp3", radio_id=3249)
The streamID you passed to identifyStream was a string, and radio_id is
an integer, so keep a map between them. By default, we send a result after a
song ends, with the played duration in play_length. Add the stream with
callbacks="before" to receive it as soon as the song starts. If something
happens to an audio stream, we’ll let you know by sending a notification:
650 means that we can’t connect to the stream, and 651 means that we
don’t receive any music from it. Streams cost $45 per stream per month with
our music DB.
If you can’t receive callbacks, you can use longpoll instead. Longpoll might
never return any events if no callback URL is configured, so if you don’t
have one, set https://audd.tech/empty/ as the callback URL.
See Webhook callbacks vs longpoll for more info.
What you lose
- Rights holders’ business rules, and their settings for each platform.
- UGC licensing, with “Monetize” rules, royalty reporting, and payment administration.
- Version ID for covers, live versions, and mashups. AudD matches recordings, so a cover doesn’t match the original.
- Video ID and identification of TV and film. AudD fingerprints only the audio track of a video.
- Broad Spectrum for heavy speed and pitch changes. AudD doesn’t publish a tolerance for those.
- Fingerprinting on your own servers. With AudD, the file leaves your infrastructure, unless you deploy AudD on-premise.
- The fields with no equivalent:
amItemID,Vendor,ContentCategory,SongLengthInSeconds, andunknownMediaFileDuration.
If you depend on any of these, keep Audible Magic for that part.
Run both during a pilot
Run AudD in shadow mode first. Audible Magic keeps making the decisions, and
AudD scans the same uploads, or a sample of them, so you can compare the
results. The Toolkit can write its JSON output to a file, so keep that file
next to the AudD matches for the same upload. This script compares the two;
am-output.json is the Toolkit’s output for that upload:
import json
from audd import AudD
def norm(s):
return " ".join((s or "").casefold().split())
def am_tracks(path):
"""Tracks in an Audible Magic Toolkit JSON output file."""
with open(path) as f:
response = json.load(f)
tracks = []
for match in response.get("matches") or []:
md = match.get("metadata") or {}
tracks.append({"isrc": md.get("ISRC"), "name": (norm(md.get("Artist")), norm(md.get("Title")))})
return tracks
def audd_tracks(matches):
tracks = []
for m in matches:
t = {"isrc": m.isrc, "audio_id": m.audio_id, "name": (norm(m.artist), norm(m.title))}
if t not in tracks:
tracks.append(t)
return tracks
def same(a, b):
if a["isrc"] and a["isrc"] == b["isrc"]:
return True
return all(a["name"]) and a["name"] == b["name"]
def compare(am, ours):
return {
"both": [a for a in am if any(same(a, b) for b in ours)],
"audible_magic_only": [a for a in am if not any(same(a, b) for b in ours)],
"audd_only": [b for b in ours if not any(same(a, b) for a in am)],
}
audd = AudD("your-api-token")
matches = audd.recognize_enterprise("https://audd.tech/example.mp3", limit=10)
print(compare(am_tracks("am-output.json"), audd_tracks(matches)))
Note that a remaster or another release of the same recording can have its own ISRC, so the script also compares the artist and title. Listen to the uploads where the two services disagree before you decide anything.
Budget the pilot in requests. We count requests to the enterprise endpoint as
1 request per 12 seconds of audio, so a 3-minute upload is 15 requests, and
10,000 of them are 150,000 requests. To scan less of each file, use skip
and every. If you need a hard monthly cap on requests, email [email protected]
and we’ll set one on your account. A request you cancel might still consume
requests, so don’t count on cancelling to save them.
Migration steps
- Get a token at dashboard.audd.io. On the free trial, the enterprise endpoint accepts file uploads; to send it URLs, pick a paid plan. Ask [email protected] for the enterprise features (ISRC, UPC, and the score; they need a Startup plan or higher), custom-catalog access, and a higher concurrency limit if you run many workers.
- Install an SDK, for example
pip install audd,npm install @audd/sdk, orgo get github.com/AudDMusic/audd-go. All 11 are listed in the SDK docs. - In your queue worker, replace the
identifycall with an enterprise call. Setlimitwhile you test. - Map the fields, and join the chunk matches into spans.
- Write the policy that replaces
ruleCode. - Upload your own reference recordings to a custom catalog, if you have any.
- Move your streams from
identifyStreamtoaddStream. - Run both in shadow mode, look at the disagreements, and switch when you understand them.
Related
Reading this as an AI agent? The raw Markdown is at migrate/from-audible-magic.md, and the full index is /resources/llms.txt.
