---
title: "Halfords API: Suggest | Perceptlayer"
description: "Suggest from Halfords as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/halfords/suggest
---

[APIs](https://perceptlayer.com/apis) / [Halfords](https://perceptlayer.com/apis/halfords) / Suggest

# Halfords: Suggest

Suggest from Halfords as JSON. 1 credit per successful call.

GET `/v1/halfords/suggest`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Required | Up to 100 characters |

## Example request

Halfords

GET /v1/halfords/suggest?q=bike 

```
{
  "success": true,
  "source": "suggest",
  "data": {
    "suggestions": [
      {
        "term": "bike",
        "hint": "query",
        "product_id": "",
        "url": "",
        "image": ""
      },
      {
        "term": "bike lights",
        "hint": "query",
        "product_id": "",
        "url": "",
        "image": ""
      },
      {
        "term": "bike lock",
        "hint": "query",
        "product_id": "",
        "url": "",
        "image": ""
      }
    ]
  },
  "meta": {}
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/halfords?try=suggest#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.suggestions` has these 5 fields, read from a recorded call that returned 28 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `term` | string |
| `hint` | string |
| `product_id` | string |
| `url` | string |
| `image` | string |
