ccMixter · Search uploads
ccmixter-org/audio-assets/search_uploadsGet news and media data with ccMixter · Search uploads from Alexandria through one Spiral API key. Find music beds, loops, stems or vocals that allow your use (pass commercial_use: true to drop every non-commercial licence), then read attribution and file links. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
url | text | — | A ccmixter.org/api/query URL; its tags, reqtags, type, lic, search, user, sort, ord, limit and offset are read. Explicit inputs override it. |
sort | one of newest, oldest, rank, score, num_scores, remixes, num_playlists, name | — | newest (default), oldest, rank (ccMixter's popularity rank), score (ratings), num_scores (number of ratings), remixes (most remixed), num_playlists or name (A to Z). |
tags | list | — | Tags every result must have, e.g. ["acappella"], ["stem", "instrumental"], ["sample"] or a tempo bucket such as ["bpm_110_115"] (5-BPM buckets, three digits below 100: bpm_090_095). |
user | text | — | Only uploads by this ccMixter login name, e.g. JeffSpeed68. |
limit | number 1 to 10 | — | Uploads per page, 1 to 10 (default 10). ccMixter fails on larger pages; an oversized page is retried at half size. |
query | text | — | Words to search for in titles, artists and descriptions (all words must match). |
license | list | — | Licences to include (any of them); every version counts (BY 2.5, 3.0 and 4.0). |
any_tags | list | — | Tags of which at least one must match, e.g. ["jazz", "funk"]. Cannot be combined with several licences or commercial_use. |
continuation | text | — | Cursor from a previous call's continuation. |
commercial_use | true or false | — | true keeps only licences that allow commercial use (by, by-sa, cc0), dropping BY-NC, NC-Sampling+ and Sampling+. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "ccmixter-org/audio-assets/search_uploads",
"input": {
"url": "<url>"
}
}'Frequently asked questions
How much does ccMixter · Search uploads cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use ccMixter · Search uploads through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "ccmixter-org/audio-assets/search_uploads"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use ccMixter · Search uploads?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use ccMixter · Search uploads?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.