# Audible Ids API Documentation

List deduplicated public Audible ASINs from a product sitemap. The default index resolves to one nested sitemap; pass a nested sitemap file for a single lookup. Every id works unchanged in the title route. This is a public id source, not a private feed.

- **Documentation:** [https://scrappa.co/docs/audible-api/audible_ids](https://scrappa.co/docs/audible-api/audible_ids)
- **API group:** Audible API
- **Endpoint:** `GET https://scrappa.co/api/audible/ids`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `index` | string | No | productDetail_sitemap_index.xml or productDetail_sitemapN.xml.gz. Defaults to the index. |
| `site` | string | No | com, co.uk or de. Defaults to com. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/audible/ids?site=com"
```

## Example response

```json
{
    "success": true,
    "data": {
        "ids": [
            "B002V1OF70"
        ],
        "count": 1,
        "index": "productDetail_sitemap_index.xml",
        "site": "com"
    },
    "meta": {
        "endpoint_family": "ids",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Error | Failure code and message. Failed requests are not billed. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
