# JB Hi-Fi Suggestions API Documentation

<p><strong>JB Hi-Fi Suggestions API</strong> returns product suggestions for a partial query. Each suggestion carries the product handle accepted unchanged by the JB Hi-Fi Product API. Prices are numbers with AUD.</p><p><strong>Credits:</strong> 1 credit per successful request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/jbhifi-api/jbhifi_suggestions](https://scrappa.co/docs/jbhifi-api/jbhifi_suggestions)
- **API group:** JB Hi-Fi API
- **Endpoint:** `GET https://scrappa.co/api/jbhifi/suggestions`

## 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 |
| --- | --- | --- | --- |
| `q` | string | Yes | Partial search text |
| `limit` | integer | No | Number of suggestions, 1 to 10 |

## Example response

```json
{
    "data": {
        "query": "headphones",
        "suggestions": [
            {
                "price": 199,
                "handle": "sony-wh-ch730n-wireless-noise-cancelling-over-ear-headphones-black"
            }
        ]
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | The request cannot be served as sent. |  |
|  | JB Hi-Fi could not be reached. Please retry shortly. |  |

## 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)
