# Audible Autocomplete API Documentation

Get ranked public Audible suggestions for a few keystrokes. Items include title and author suggestions and carry ids usable in the title route.

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

## 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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Key strokes, 1 to 100 characters. |
| `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/autocomplete?query=dune"
```

## Example response

```json
{
    "success": true,
    "data": {
        "items": [
            {
                "asin": "B002V1OF70",
                "title": "Dune"
            }
        ]
    },
    "meta": {
        "endpoint_family": "autocomplete",
        "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)
