ONCE Me API

The Me API from ONCE — 3 operation(s) for me.

GitHub OpenAPI

Operations 4

GET /me Authenticated user profile #
GET /me/credits Credit balance and recent transactions #
GET /me/autoreload Current auto-reload configuration #
POST /me/autoreload Enable, disable, or reconfigure auto-reload #

Specifications

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/once-app:once-app-me-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

once-app-me-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ONCE REST Me API
  version: 1.0.0
  description: Human-friendly HTTP API for ONCE music distribution. Same capabilities, authentication, billing, and validation as the ONCE MCP server.
servers:
- url: https://once.app/v1
security:
- bearerAuth: []
tags:
- name: Me
paths:
  /me:
    get:
      summary: Authenticated user profile
      responses:
        '200':
          description: Profile payload
      tags:
      - Me
      operationId: getMe
      x-operation-id-source: derived
  /me/credits:
    get:
      summary: Credit balance and recent transactions
      parameters:
      - name: transactions
        in: query
        schema:
          type: integer
          minimum: 0
          maximum: 100
      responses:
        '200':
          description: Credits payload
      tags:
      - Me
      operationId: getMeCredits
      x-operation-id-source: derived
  /me/autoreload:
    get:
      summary: Current auto-reload configuration
      responses:
        '200':
          description: Auto-reload settings
      tags:
      - Me
      operationId: getMeAutoreload
      x-operation-id-source: derived
    post:
      summary: Enable, disable, or reconfigure auto-reload
      description: 'Body: { enabled, package_id | quantity, payment_method_id?, threshold_credits? }. When enabling, a saved card is required; omit payment_method_id to reuse the most recent saved card. threshold_credits sets the balance level that triggers a reload (default 0 = only when fully empty; e.g. 10 tops up before running out).'
      responses:
        '200':
          description: Updated auto-reload settings
      tags:
      - Me
      operationId: postMeAutoreload
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or once_pat_*