Developers

    Music distribution API

    ONCE has a REST API and an MCP server for releasing music. ONCE charges a one-time price per song: 1 credit ($1) for human music and 2 credits ($2) for AI music. ONCE takes a 0% royalty cut, and the release stays up with no yearly fee.

    Upload audio, run AI detection, submit a release, and read delivery status. Billing follows the upload: 1 credit per human song, 2 credits per AI song. The docs are the source of truth for paths, auth, and request bodies.

    REST API

    HTTPS at once.app/v1. OAuth 2.1 bearer tokens, or a personal access token from Settings, then Developer. OpenAPI 3.1 spec at /v1/openapi.json.

    MCP server

    The same capabilities for Claude, ChatGPT, and other assistants. Overview at /mcp. Docs at docs.once.app/mcp.

    Fraud API

    A separate endpoint for fraud risk scoring. One email in, a score and flags out. Reference at dev.once.app/fraud-api.

    Start here

    REST API docs

    Human-readable reference for uploads, releases, delivery status, auth, and webhooks.

    OpenAPI spec

    Machine-readable OpenAPI 3.1 document for the API at once.app/v1.

    MCP server docs

    The same distribution pipeline as tools an AI assistant can call.

    MCP overview

    What the Model Context Protocol server does, and how to connect an assistant.

    Partner program

    Server-to-server account provisioning, webhooks, and per-release attribution.

    Fraud API

    POST one email address. Get a risk score and the flags that fired. No personal data in the response.

    Fraud API reference: dev.once.app/fraud-api. Apply for partner access at /partners or email tech@once.app.

    FAQ

    Does ONCE have a music distribution API?

    Yes. The REST API is at https://once.app/v1, with a machine-readable OpenAPI 3.1 spec at https://once.app/v1/openapi.json. Human docs are at https://docs.once.app/rest-api. The same pipeline is available as a Model Context Protocol server for AI assistants, documented at https://docs.once.app/mcp and introduced at https://once.app/mcp.

    What can the API do?

    The partner page describes uploads, AI detection, cover art, release submission, and delivery status on the REST API. Approved partners can provision accounts server-side, receive HMAC-signed release status webhooks, and tag each call with a provenance string. The Fraud API, at https://once.app/fraud-api, scores one email address and returns a risk score and flags only.

    How is API distribution billed?

    The same prices as the site: 1 credit per human song and 2 credits per AI song. A credit is $1 at the base rate, packs discount larger amounts, and credits never expire. ONCE takes a 0% royalty cut. There is no yearly fee to keep a paid release up.

    How do I get a key?

    Apply in the app under Settings, then Developer, or email tech@once.app. The partner program page is https://once.app/partners. Personal access tokens and the OAuth 2.1 PKCE flow are described there and in the REST docs.