AudD for trust and safety teams
Where music recognition sits in a moderation system for user uploads and live streams: the questions AudD answers, scanning at upload and on live channels, the policy decisions that stay with your team, evidence and appeals, and what AudD doesn't provide.
You can use the AudD music recognition API to identify the music that’s being played in your users’ uploads and live streams. This page is for trust and safety and content policy leads. We tell you which recordings play in an upload, and where. What happens to the upload after that depends on how your platform works and which music it has licensed, and is a decision that only you have the knowledge to make.
{
"score": 100,
"timecode": "00:41",
"artist": "Barely Alive",
"title": "Keyboard Killer",
"album": "Lost in the Internet EP",
"release_date": "2014-03-10",
"label": "Disciple Recordings",
"isrc": "FR4GL1069639",
"upc": "3610154900148",
"song_link": "https://lis.tn/KeyboardKiller",
"start_offset": 1,
"end_offset": 9660,
"start_seconds": 48.001,
"end_seconds": 57.66
}
Here’s one match from a scan, as it’s saved in the evidence record below. If there’s commercial music in an upload, we return a list of matches like this one. If we don’t recognize anything, the list is empty. Each match contains the artist, title, album, release_date, label and song_link of the recording. start_seconds and end_seconds tell you where it plays in the upload, and timecode is the time in the song when the matched fragment is played.
Enterprise features such as ISRC and UPC codes and the match score are available on a Startup plan or higher, on request: email [email protected]. Note that we only know which recording it is, we don’t know who has the rights to it. The label is the label of a release the recording is on, and it isn’t always the rights owner.
At upload and on live streams
Uploads
Send each upload to our enterprise endpoint when it arrives. It accepts audio and video files of any length. We count requests as 1 request per 12 seconds of audio, so a 3-minute video is 15 requests. Set limit on every call: it’s the upper bound for the number of 12-second chunks the server will recognize. The standard endpoint is for short clips: it analyzes only the first 12 seconds.
If you don’t want every chunk of a long upload to be recognized and counted as a request, you can use skip and every. That’s fine for a yes-or-no screen. If the decision depends on how much of the upload is music, recognize every chunk. See controlling enterprise endpoint cost for the trade-off, and build a copyright scanner for the code.
Live streams
For live channels, use our streams. You send us the URL of the stream, and we send you every match in callbacks: requests with recognition results our servers will send to your server. We support most of the stream formats, including HLS, and Twitch and YouTube live streams, such as twitch:monstercat. Every match carries the radio_id you chose for the channel. A stream costs $45 per month, and you pay for the maximum number of streams you will run at the same time.
After a broadcast, you can check the replay with the enterprise endpoint before you publish it. For more information, see AudD for live-streaming platforms.
Decisions that stay with you
We give you the facts. Your policy turns them into actions: allow, record, mute a segment, send to review, or block. These are the decisions you’ll have to make, and we can’t make them for you:
- which music is licensed on your platform (keep an allow list by ISRC, or by
audio_id); - what a rights holder asked you to do with their recordings;
- how much music is enough to act on: a few seconds in the background and a full song are different cases;
- what to do when there’s no match, which means unknown, not cleared;
- how high a
scorehas to be before you act, if you use the score; - which country’s rules apply, since we return the same result wherever the request comes from;
- what happens to repeat uploaders: we have no notion of your users.
If a rights holder gives you reference files, you can add them to your custom catalog. The songs uploaded there will be available for recognition only to you, and their matches come back with the audio_id you chose, usually with no artist or title: keep the rights holder’s metadata on your side. Uploads aren’t counted as requests. The SDKs send each one once and never retry it automatically. Access isn’t available by default: contact us at [email protected].
For a decision table with code, see From match to decision. To calibrate the score on your own uploads, see Interpreting the recognition score.
Evidence and appeals
For every scan, keep the raw response, the hash of the file, the time of the scan and the version of the policy. If an uploader or a rights holder asks about a decision, you’ll have the answer. If you change the policy, you can re-run it on the stored matches: you don’t have to scan the files again, and we bill every scan.
When an uploader appeals, identify the recording that was found and the place where it appears: the time in the upload, the time in the song, and the song’s page. Some appeals will be right: they licensed the track, they’re the artist, or the match is another version of a recording they own. Those cases need a person.
Here’s a script that scans an upload, saves the evidence record and prints the lines a reviewer and the uploader would see. You’ll need pip install audd.
import hashlib
import json
from datetime import datetime, timezone
from audd import AudD
audd = AudD("your-api-token") # get your own token at dashboard.audd.io
POLICY_VERSION = "2026-11-24.1"
UPLOAD = "upload-81723.mp4"
LIMIT = 50 # 50 chunks of 12 seconds: the first 10 minutes
def clock(seconds):
s = int(seconds)
return f"{s // 60}:{s % 60:02d}"
with open(UPLOAD, "rb") as f:
sha256 = hashlib.sha256(f.read()).hexdigest()
matches = audd.recognize_enterprise(UPLOAD, limit=LIMIT)
record = {
"upload": UPLOAD,
"sha256": sha256,
"scanned_at": datetime.now(timezone.utc).isoformat(timespec="seconds"),
"scan": {"endpoint": "enterprise", "limit": LIMIT},
"policy_version": POLICY_VERSION,
"matches": [m.model_dump(exclude_none=True) for m in matches], # every field, typed or not
}
with open(UPLOAD + ".evidence.json", "w", encoding="utf-8") as f:
json.dump(record, f, indent=2)
for m in matches: # what the reviewer and the uploader see
where = "?" if m.start_seconds is None else clock(m.start_seconds)
name = f"audio_id {m.audio_id}" if m.audio_id is not None else f"{m.artist} - {m.title}"
print(f"{where} in your upload: {name}, from {m.timecode} in the song ({m.song_link or 'no link'})")
For the example response in our enterprise docs, it prints:
0:00 in your upload: Ali Angel - Tou patou II, from 00:11 in the song (https://lis.tn/TouPatouII)
0:00 in your upload: Future Shock - Dance Floor, from 00:11 in the song (https://lis.tn/uxRpGN)
0:00 in your upload: Anthony Acosta - The Way She Moves, from 00:33 in the song (https://lis.tn/HgiZkK)
0:48 in your upload: Barely Alive - Keyboard Killer, from 00:41 in the song (https://lis.tn/KeyboardKiller)
1:36 in your upload: Barely Alive - Keyboard Killer, from 01:31 in the song (https://lis.tn/KeyboardKiller)
If we don’t recognize anything, the script prints nothing, and the matches list in the record is empty. model_dump() also keeps the fields outside the typed surface, so the record has everything we returned.
What AudD doesn’t provide
- We don’t know whether a use is licensed, and we don’t decide who owns a recording.
- We can’t tell whether a use is a quotation, a parody or otherwise lawful.
- We match recordings, not compositions: covers, re-recordings, interpolations and humming aren’t what we detect. See what music recognition matches.
- We don’t tell you whether music is AI-generated. See music recognition vs AI music detection.
- We don’t mute, block or take down anything: that happens on your platform.
Please note that using AudD doesn’t make a platform compliant with any law. For the EU rules, see EU Article 17 and the DSA: where music recognition fits. This page isn’t legal advice.
Is it a fit for your platform?
Sony, Warner Music Group and Universal Music Group use AudD to find their recordings in user uploads. To see how it works on your uploads, test it on a labelled sample of them first: see run a one-week pilot. Your engineers can test their code without spending requests: see testing your integration. If you’re moving from Audible Magic, see migrating from Audible Magic and AudD vs Audible Magic.
Related
- From match to decision: designing allow, block, and review policies
- Build a copyright scanner for user-uploaded content
- EU Article 17 and the DSA: where music recognition fits for upload platforms
- What music recognition matches, and what it doesn’t
- AudD for video platforms and UGC moderation
- Enterprise endpoint docs
Reading this as an AI agent? The raw Markdown is at for/trust-and-safety-teams.md, and the full index is /resources/llms.txt.
