Skip to content
Scrappa Get API key
Halfords UK API 1 credit / request

Halfords UK Stores API Documentation

GET https://scrappa.co/api/halfords/stores

Read store-local inventory near a location. Every store has an id, distance and coordinates. Stock is store-local and never a national unit count. Cost: 1 credit per successful request.

Halfords UK Stores API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/halfords/stores
Auth header
x-api-key
Cost
1 credit / request
lat = 10 lng = 10 pid = example
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

3 required parameters needed before sending a request.

1 optional filter available.

lat number Required

Latitude. Required.

Example value 10
lng number Required

Longitude. Required.

Example value 10
pid string Required

Product id from search. Required.

Example value example
size integer Optional

Number of stores, default 5.

Example value 10

Errors

Handle these documented responses before retrying or showing customer-facing failures.

INVALID_LOCATION

HTTP INVALID_LOCATION

The location or product id was malformed.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.