# Library of Congress Audio · Search audio

Get news and media data with Library of Congress Audio · Search audio from Alexandria through one Spiral API key. Find historical or ethnographic recordings: "1930s field recordings of work songs", "blues recorded in Texas", "early opera on the National Jukebox", "oral history interviews about the Dust Bowl". Use get_audio for one item's full rights text and files, list_audio_collections to pick a collection. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: News & Media
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `loc-gov/audio-assets/search_audio`
- Page: https://spiral.ai/tools/alexandria/loc-gov/audio-assets/search_audio

## Pricing

$0.00873 per call.

## Limits

- 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 | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `url` | text |  | — | A loc.gov/audio/?q=... or loc.gov/collections/<slug>/?q=... URL; its q, fa and dates fill any filter not given. |
| `limit` | number | 1 to 50 | — | Results per page; default 10. |
| `query` | text |  | — | Words to search titles, notes, subjects and contributors, e.g. work songs. |
| `date_to` | number | 1000 to 2100 | — | Latest year. |
| `part_of` | text |  | — | Part-of facet (collection or division name), e.g. american folklife center. |
| `subject` | text |  | — | Subject facet, e.g. work songs, blues, interviews. |
| `location` | text |  | — | Location facet, e.g. texas, mississippi, ireland. |
| `date_from` | number | 1000 to 2100 | — | Earliest year. |
| `collection` | text |  | — | Collection slug from list_audio_collections or a loc.gov/collections/<slug>/ URL, e.g. national-jukebox, john-and-ruby-lomax. |
| `contributor` | text |  | — | Contributor facet as loc.gov writes it, e.g. lomax, john a. (john avery). |
| `online_only` | true or false |  | — | Default true: only recordings playable online. false also returns campus-only items. |
| `continuation` | text |  | — | Cursor from a previous call. |

## Example

```bash
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": "loc-gov/audio-assets/search_audio",
    "input": {
      "url": "<url>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=loc-gov%2Faudio-assets%2Fsearch_audio

## Common questions

### Library of Congress Audio · Search audio

**How much does Library of Congress 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 Library of Congress Audio · Search audio through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "loc-gov/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 Library of Congress Audio · Search audio?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use Library of Congress Audio · Search audio?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

