Audio Delivery Network Variants API
The Variants API from Audio Delivery Network — 3 operation(s) for variants.
The Variants API from Audio Delivery Network — 3 operation(s) for variants.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/audiodelivery-net:audiodelivery-net-variants-api"
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.
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: 3.2.0
info:
title: AudioDN Variants API
version: 1.0.0
summary: 'Audio delivery infrastructure: upload, transcode, secure delivery, and playback.'
description: 'AudioDN provides a REST API and embeddable web components for managing and delivering audio at scale.
Authentication: bearer token via the `Authorization` header. Use a server-side API key for full access; mint scoped client-side keys (Player or Uploader) for browsers and mobile apps.
All endpoints are prefixed with `/v1/`.'
contact:
name: Audio Delivery Network
email: support@audiodeliverynetwork.com
url: https://audiodeliverynetwork.com
license:
name: Proprietary
servers:
- url: https://api.audiodelivery.net
description: Production
security:
- BearerAuth: []
tags:
- name: Variants
paths:
/v1/track/{track_id}/variant:
post:
tags:
- Variants
operationId: addTrackVariant
summary: Add a track-specific variant
description: 'Appends a new track file to an already-processed track and queues processing. Only ''transcode'' and ''preview'' are supported. Common body fields: variant_type_id, index. Transcode fields: codec, bitrate, is_stereo, is_strip_tags, is_strip_cover (lossy codecs only; codec defaults to aac at 128 kbps). Preview fields: preview_type, preview_seconds / preview_min_percent / preview_max_percent (when preview_type is seconds), preview_percent / preview_min_seconds / preview_max_seconds (when preview_type is percent), preview_start_percent — plus the same Transcode audio fields. The track is moved to ''processing'' and returns to ''ready'' when the file is generated.'
parameters:
- name: track_id
in: path
required: true
schema:
type: string
format: uuid
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- variant_type_id
- index
properties:
variant_type_id:
type: string
enum:
- transcode
- preview
index:
type: string
minLength: 2
maxLength: 64
description: Delivery name; unique across organization and track variants
codec:
type: string
enum:
- aac
- mp3
- ogg
- opus
default: aac
bitrate:
type: integer
minimum: 12
maximum: 320
default: 128
is_stereo:
type: boolean
default: true
is_strip_tags:
type: boolean
default: true
is_strip_cover:
type: boolean
default: true
preview_type:
type: string
enum:
- seconds
- percent
default: seconds
description: preview only
preview_seconds:
type: number
default: 60
description: preview + preview_type 'seconds'
preview_min_percent:
type: number
default: 0
description: preview + preview_type 'seconds'
preview_max_percent:
type: number
default: 50
description: preview + preview_type 'seconds'
preview_percent:
type: number
default: 25
description: preview + preview_type 'percent'
preview_min_seconds:
type: number
default: 0
description: preview + preview_type 'percent'
preview_max_seconds:
type: number
default: 90
description: preview + preview_type 'percent'
preview_start_percent:
type: number
minimum: 0
maximum: 100
default: 25
description: 'preview only: clip start as a percent of duration'
responses:
'200':
description: Variant created and processing queued.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/OkEnvelope'
- type: object
properties:
track_id:
type: string
format: uuid
variant_id:
type: string
format: uuid
job_id:
type: string
format: uuid
variant:
$ref: '#/components/schemas/Variant'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'409':
description: A variant with the given index already exists for this track.
'422':
description: The track has no source file to process yet.
/v1/variant:
get:
tags:
- Variants
operationId: listVariants
summary: List variants
parameters:
- $ref: '#/components/parameters/Limit'
- $ref: '#/components/parameters/Offset'
responses:
'200':
description: Variants list.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/OkEnvelope'
- type: object
properties:
count:
type: integer
variants:
type: array
items:
$ref: '#/components/schemas/Variant'
'401':
$ref: '#/components/responses/Unauthorized'
/v1/variant/{variant_id}:
get:
tags:
- Variants
operationId: getVariant
summary: Get variant
parameters:
- name: variant_id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Variant details.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/OkEnvelope'
- type: object
properties:
variant_id:
type: string
format: uuid
variant:
$ref: '#/components/schemas/Variant'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
components:
parameters:
Limit:
name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 200
default: 50
Offset:
name: offset
in: query
schema:
type: integer
minimum: 0
default: 0
responses:
NotFound:
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: Invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
required:
- ok
- message
properties:
ok:
type: boolean
const: false
message:
type: string
api_request_id:
type: string
format: uuid
Variant:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
type:
type: string
description: Variant kind (e.g. transcode, preview, waveform, analysis, transcribe).
format:
type: string
bitrate:
type: integer
OkEnvelope:
type: object
required:
- ok
- api_request_id
properties:
ok:
type: boolean
const: true
api_request_id:
type: string
format: uuid
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: Server-side API key. Use scoped client-side keys for browser and mobile contexts.