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

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

# Halfords: Sitemap

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

GET `/v1/halfords/sitemap`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `page` | integer | Optional | Any |

## Example request

Halfords

GET /v1/halfords/sitemap 

```
{
  "success": true,
  "source": "sitemap",
  "data": {
    "page": 1,
    "child_count": 13,
    "ids": [
      {
        "source_url": "https://www.halfords.com/motoring/roof-bars-roof-boxes/roof-box-accessories/halfords-bungee-elastic-45cm-x2-100003.html",
        "product_id": "100003"
      },
      {
        "source_url": "https://www.halfords.com/motorcycling/cleaning/muc-off-all-weather-chain-lube---400ml-100010.html",
        "product_id": "100010"
      },
      {
        "source_url": "https://www.halfords.com/motoring/roof-bars-roof-boxes/roof-box-accessories/halfords-bungee-elastic-60cm-x2-100011.html",
        "product_id": "100011"
      }
    ]
  },
  "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=sitemap#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

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

| Field | Type |
| --- | --- |
| `source_url` | url |
| `product_id` | string |
