Blog / Content Safety

Check uploads for copyrighted music from an AI agent

Two tools, one key: find released commercial music in an audio or video file, or match it against your own catalog. From Claude Code, Cursor or your own code.

Content SafetywithConflux Team · Nov 21, 2026 · 3 min read

A video with a hit song in the background can be muted, taken down or claimed after it goes live. If your product accepts user audio or video, it helps to know what is in the file before you publish it. With withConflux, your agent or your code can ask with one call.

Key takeaways

  • music_check screens a file for released commercial music and returns the track, artist, label and ISRC.
  • riffhold_match checks a file against your own Riffhold catalog, for platforms that hold their own rights.
  • Both run on the same key as the rest of withConflux, priced before each call and charged only on success.

Two different questions

"Does this file contain music someone else released?" and "Does this file contain one of our tracks?" sound alike but need different tools.

ToolAnswersNeeds
music.checkIs there released commercial music in this file? Which track, artist and label?A withConflux key with the music scope
riffhold.matchDoes this file match a track in our own catalog?Riffhold on the account, with your tracks in it

The music check is served by ACRCloud. If you have your own ACRCloud key, connect it and those calls go through it with no withConflux markup.

From an agent

With withConflux connected over MCP (the setup guide shows Claude Code, Cursor and Windsurf), you can ask in plain words:

For each video URL in this week's uploads, check it for copyrighted music. List the ones with a match, with the track, the artist and where in the file it plays.

The agent calls music_check once per file. A match looks like this, followed by the cost line:

{"url":"https://example.com/clip.mp4","verdict":"match",
 "match":{"title":"...","artist":"...","album":"...","label":"...","isrc":"...","score":96,"fromSec":12,"toSec":41}}
Cost: €0.0100 (1 per check) · provider ACRCloud · 2310 ms

fromSec and toSec say where in your file the match sits, when the recognition result gives it. A clean file comes back as "verdict":"no-match" with "match":null.

From your own code

The same check is one REST call, so it fits in an upload worker:

curl https://withconflux.com/api/v1/tools/music.check \
  -H "Authorization: Bearer $WITHCONFLUX_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/clip.mp3"}'

The file has to be a public link to an audio or video file under 15 MB. If it can't be downloaded or has no readable audio, the answer says so and you are not charged.

For your own catalog, send the file and, if you know it, who the uploader says owns it:

curl https://withconflux.com/api/v1/tools/riffhold.match \
  -H "Authorization: Bearer $WITHCONFLUX_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/upload.mp4","declaredOwner":"Uploader name"}'

What it costs

At the time of writing, the music check is €0.01 per check and the Riffhold match is €0.006 per check. The live prices are on each tool page and in the tool list your agent reads before it calls anything.

  • A call is refused before it runs when your credits can't cover it or it would pass your monthly spend cap. Nothing is charged.
  • You pay only when the check succeeds.
  • Test keys are never billed. The music check is cheap enough that a test key gets the real result, so you can try it on your own files first.

Where it fits in your flow

Most teams run the check after upload and before the file is public. A match is not a takedown on its own: it is a signal for your own rules. Some platforms hold the file for review, some mute the audio, some ask the uploader to confirm they have a licence. The check gives you the facts to apply your rule; the rule stays yours.

i

Give the key only the music scope if music is all it should do. The agent then sees only the music tools.

Seeing what ran

Tools › Tools & usage in your dashboard shows this week's live calls by tool and provider, with the cost and the share that succeeded. A filter splits agent (MCP) calls from API calls, so a busy agent session is easy to spot.


Accounts are approved by our team, and trial credits come after approval. Request access, or start with the MCP setup guide.

Ready to try it?
One key, one bill, every content-AI vendor.
Read the docsSee the music check
Launch offerWant the demo for your own catalog?

Leave your email: we send the video, the price and help you add your first tracks.

We only use your email for this request. Privacy policy.
Keep reading
We use a single analytics cookie to understand traffic to this site. Nothing loads until you choose. See our Privacy Policy.