Internet Archive audio · Search audio
archive-org/audio-assets/search_audioGet news and media data with Internet Archive audio · Search audio from Alexandria through one Spiral API key. Find recordings on archive.org: "CC-BY field recordings of rain from radio aporee", "public-domain 78rpm jazz", "live recordings of a band". Then call get_audio for file URLs and durations. Use search_collections to find a collection id. 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 | — | An archive.org/search?query=... or advancedsearch.php?q=... URL, used when query is absent. |
sort | one of relevance, downloads, newest, oldest, recently_added, title | — | relevance, downloads (most downloaded), newest or oldest (by recording date), recently_added or title; default relevance with a query, downloads without. |
limit | number 1 to 100 | — | Results per page; default 20. |
query | text | — | Words to search, or an Advanced Search expression such as subject:rain AND date:[2010 TO 2015]. |
license | list | — | Keep only items declaring one of these licences. |
collection | text | — | Collection identifier to search within, e.g. radio-aporee-maps, 78rpm, etree, opensource_audio. Without query, lists the collection. Pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*$. |
continuation | text | — | Cursor from a previous call. |
commercial_use | true or false | — | true keeps only items with a declared licence that is not NC. Items with no licence are dropped because their rights are unknown. false applies no filter. |
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": "archive-org/audio-assets/search_audio",
"input": {
"url": "<url>"
}
}'Frequently asked questions
How much does Internet Archive audio · Search audio 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 Internet Archive audio · Search audio through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "archive-org/audio-assets/search_audio"` 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 Internet Archive audio · Search audio?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Internet Archive audio · Search audio?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.