MolTrust Music API

The Music API from MolTrust — 5 operation(s) for music.

Operations 5

POST /music/credential/issue Issue Music Credential #
GET /music/credential/{credential_id} Get Music Credential #
GET /music/credential/agent/{did} Get Agent Music Credentials #
POST /music/credential/{credential_id}/revoke Revoke Music Credential #
GET /music/verify/{credential_id} Verify Music Credential #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/moltrust-ch:moltrust-ch-music-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

moltrust-ch-music-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MolTrust Music API
  version: '2.5'
tags:
- name: Music
paths:
  /music/credential/issue:
    post:
      summary: Issue Music Credential
      description: Issue a VerifiedMusicCredential. Returns the credential with provenance.
      operationId: issue_music_credential_music_credential_issue_post
      parameters:
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MusicCredentialRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Music
  /music/credential/{credential_id}:
    get:
      summary: Get Music Credential
      description: Retrieve a VerifiedMusicCredential by ID. Public endpoint.
      operationId: get_music_credential_music_credential__credential_id__get
      parameters:
      - name: credential_id
        in: path
        required: true
        schema:
          type: string
          maxLength: 64
          title: Credential Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Music
  /music/credential/agent/{did}:
    get:
      summary: Get Agent Music Credentials
      description: List all music credentials for a given agent DID. Public endpoint.
      operationId: get_agent_music_credentials_music_credential_agent__did__get
      parameters:
      - name: did
        in: path
        required: true
        schema:
          type: string
          title: Did
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Music
  /music/credential/{credential_id}/revoke:
    post:
      summary: Revoke Music Credential
      description: Revoke a music credential. Requires X-Admin-Key.
      operationId: revoke_music_credential_music_credential__credential_id__revoke_post
      parameters:
      - name: credential_id
        in: path
        required: true
        schema:
          type: string
          maxLength: 64
          title: Credential Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MusicRevokeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Music
  /music/verify/{credential_id}:
    get:
      summary: Verify Music Credential
      description: 'Public verification: returns validity + full credential + anchor status.'
      operationId: verify_music_credential_music_verify__credential_id__get
      parameters:
      - name: credential_id
        in: path
        required: true
        schema:
          type: string
          maxLength: 64
          title: Credential Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Music
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MusicCredentialRequest:
      properties:
        agent_did:
          type: string
          maxLength: 128
          title: Agent Did
        tool:
          type: string
          maxLength: 128
          title: Tool
        human_oversight:
          type: string
          maxLength: 16
          title: Human Oversight
        genre:
          type: string
          maxLength: 64
          title: Genre
        rights:
          type: string
          maxLength: 64
          title: Rights
        track_title:
          type: string
          maxLength: 256
          title: Track Title
        track_description:
          type: string
          maxLength: 1024
          title: Track Description
        human_name:
          type: string
          maxLength: 128
          title: Human Name
        session:
          type: string
          maxLength: 128
          title: Session
        isrc:
          type: string
          maxLength: 15
          title: Isrc
      type: object
      required:
      - agent_did
      - tool
      - human_oversight
      - rights
      - track_title
      title: MusicCredentialRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MusicRevokeRequest:
      properties:
        reason:
          type: string
          maxLength: 512
          title: Reason
      type: object
      required:
      - reason
      title: MusicRevokeRequest