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

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

# Halfords: Stores

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

GET `/v1/halfords/stores`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `lat` | number | Required | Any |
| `lng` | number | Required | Any |
| `pid` | string | Required | Any |
| `qty` | integer | Optional | Any |
| `size` | integer | Optional | Any |

## Example request

Halfords

GET /v1/halfords/stores?lat=51.5074&lng=-0.1278&pid=340910 

```
{
  "success": true,
  "source": "stores",
  "data": {
    "stores": [
      {
        "store_id": "0984",
        "name": "Mile End Road",
        "distance": 4.03,
        "postal_code": "E1 4UJ",
        "latitude": 51.52147,
        "longitude": -0.05121,
        "inventory": {
          "scope": "store_local",
          "is_national_count": false
        }
      },
      {
        "store_id": "0716",
        "name": "Brixton",
        "distance": 4.09,
        "postal_code": "SW2 1BZ",
        "latitude": 51.45845,
        "longitude": -0.11414,
        "inventory": {
          "scope": "store_local",
          "is_national_count": false
        }
      },
      {
        "store_id": "0535",
        "name": "Balham",
        "distance": 6.03,
        "postal_code": "SW17 7AA",
        "latitude": 51.43621,
        "longitude": -0.15934,
        "inventory": {
          "scope": "store_local",
          "is_national_count": false
        }
      }
    ],
    "product_id": "340910"
  },
  "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=stores#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

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

| Field | Type |
| --- | --- |
| `store_id` | string |
| `name` | string |
| `distance` | number |
| `postal_code` | string |
| `latitude` | number |
| `longitude` | number |
| `inventory` | object |
