# Halfords UK Search API Documentation

<p>Search the public Halfords UK catalogue. Results carry numeric GBP prices, discount, full-size image URLs and paging. Cost: 1 credit per successful request.</p>

- **Documentation:** [https://scrappa.co/docs/halfords-api/halfords_search](https://scrappa.co/docs/halfords-api/halfords_search)
- **API group:** Halfords UK API
- **Endpoint:** `GET https://scrappa.co/api/halfords/search`

## 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 | Search text. Required. |
| `brand` | string | No | A brand value from the response facets. |
| `sort` | string | No | relevance, best_seller, newest, top_rated, price_asc or price_desc. |
| `page` | integer | No | Page number, default 1. Page size is 18. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Error | An unverified price, rating or category filter was sent. |

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