NDP — Music Rights & Track Identification

v1.1.0
io.github.AENDYSTUDIO/ndp Checked 1 day ago Published 1 month ago

Music rights for AI: track identification by fingerprint, rights manifests, artist verification.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

verify_artist

Verify an artist: search by name in the Stage 0 registry (tracks, rights) or by wallet address on instances with a blockchain layer

ParameterTypeDescription
artist_namestringArtist's stage name (primary method — Stage 0 registry, case-insensitive)
wallet_addressstringEthereum wallet address (0x...) — only for instances with a blockchain layer

get_artist_passport

Fetch the full artist passport record

ParameterTypeDescription
token_idnumberSBT token ID
wallet_addressstringArtist's wallet address

check_track_ownership

Check track ownership by ISRC

ParameterTypeDescription
isrc *stringTrack ISRC (e.g. US-NDP-26-00001)

get_royalty_balance

Check the royalty balance for a track

ParameterTypeDescription
isrc *stringTrack ISRC

get_label_info

Fetch label information

ParameterTypeDescription
label_wallet *stringLabel wallet address

get_system_stats

Fetch overall NDP system statistics

check_artist_tracks

Fetch the number of tracks by an artist

ParameterTypeDescription
wallet_address *stringArtist's wallet address

start_ucp_checkout

Start a track purchase via NDP Checkout (UCP-compatible)

ParameterTypeDescription
isrc *stringTrack ISRC to purchase
currencystringPayment currency (MATIC, USDC)

trigger_n8n_workflow

Trigger an n8n workflow (e.g. passport minting or verification)

ParameterTypeDescription
action *stringAction (e.g. 'mint_pass', 'verify_track', 'test')
payloadobjectAdditional workflow data

identify_track

Identify a track by its ADNA fingerprint (anti-plagiarism; verdict same/derivative/different) or fetch track data by ISRC from the Stage 0 registry. v2 (adna_v2) adds localization: offset_sec, coverage, attribution map for multi-sample tracks

ParameterTypeDescription
adnastringADNA v1 fingerprint (base64, 256 bytes ≈ 344 chars) — run through the oracle
adna_v2stringADNA v2 fingerprint (base64, starts with QTI; windowed signatures, ~KB scale) — aligned identification: finds fragments, cut-offs, pitch ±8%
isrcstringTrack ISRC — registry data lookup

register_track

Register a track in the Stage 0 registry (registry-api + oracle, dual write): ISRC, ADNA, splits, optional derivative link (parent_isrc)

ParameterTypeDescription
adna *stringADNA v1 fingerprint (base64, 256 bytes)
isrc *stringISRC (e.g. RU-NDP-26-00001)
splits *arrayRoyalty shares, Σ=100; cascade: {role:'parent', wallet:'isrc:<ISRC>', share:N}
title *stringTrack title
adna_v2stringADNA v2 fingerprint (base64, starts with QTI) — optional, mirrored to the oracle for aligned identification
artist_namestringArtist name (for the oracle record)
ndtobjectFull NDT manifest (optional)
parent_isrcstringISRC of the source track if this is a derivative (remix/sample)
sha256stringSHA-256 of the reference audio file (optional)

get_track_manifest

Fetch a track's NDT manifest (rights, splits, sonic-dna) from the Stage 0 registry

ParameterTypeDescription
isrc *stringTrack ISRC

audience_superfans

SPEC §7.7 fan agent: an artist's superfans derived from protocol receipts (who listens / rewinds / pays). Requires an agent token issued by the artist via POST /subjects/{ndp_id}/scopes/issue (mandate with the read_audience scope)

ParameterTypeDescription
agent_token *stringAgent JWT from scopes/issue (with the read_audience scope)
limitnumberHow many listeners to return (1–100, default 20)

audience_summary

SPEC §7.7 fan agent: artist audience summary from receipts — listeners, events, rewinds, total paid, active in the last 30 days. Requires an agent token with the read_audience scope

ParameterTypeDescription
agent_token *stringAgent JWT from scopes/issue

subject_mint

SPEC §1: mint an NDP passport (Proof of Humanity). Three verification paths: label / indie_kyc / community. Returns ndp_id, status, quarantine flag

ParameterTypeDescription
authorization *stringArtist Bearer token
identity_commitment *stringSHA-256 hash of a unique ID (64 hex chars)
initial_device_key *stringDevice public key (hex, 33/65 bytes)
verification_path *stringVerification path

subject_status

SPEC §1: public check of an NDP passport by ndp_id — status, verification path, validity

ParameterTypeDescription
ndp_id *stringNDP passport UUID

subject_keys

SPEC §1: manage a subject's device keys — list keys

ParameterTypeDescription
authorization *stringArtist Bearer token
ndp_id *stringNDP passport UUID

receipt_batch

SPEC §7.1: batch submission of signed play receipts. Body — an array of objects {receipt_id, seq, ndp_id, device_key, isrc, action, occurred_at, signature}

ParameterTypeDescription
receipts *arrayArray of receipts

stats_journal

Daily event journal (play/rewind/purchase, totals, chart) from the unified receipt journal

ParameterTypeDescription
daysnumberPeriod in days (1–365, default 30)

opt_in

SPEC §7.7: toggle a listener's opt-in for audience segmentation (privacy-first: hidden by default)

ParameterTypeDescription
authorization *stringListener Bearer token (passport owner)
enabled *booleantrue — visible, false — hidden

snapshot_epoch

SPEC §1: current epoch snapshot of subject statuses (signed with SNAPSHOT_SIGNING_KEY)