API Endpoints

Dining and Shopping

Supermarkets

Tokens
× 1

API Credit Cost


Endpoint Overview

The Supermarkets endpoint provides a list of grocery stores within a postcode radius, including store names, locations, and major chains.


Coverage

EnglandEngland
ScotlandScotland
WalesWales
N. IrelandN. Ireland

Update Frequency

Bi-Annually

Request Format

HTTP Method:

GET

To use the API you should send an HTTP request to the following endpoint URL. This will return a JSON response.

https://api.postcodearea.co.uk/supermarkets/?key=&postcode={postcode}

Note that your key has automatically been added to the API endpoint for convenience.

Querystring Parameters:

{postcode}

A valid UK postcode (e.g., SW1A 1AA). Note that you can send the postcode with or without the space separating the outward and inward codes. For example, both "SW1A 1AA" and "SW1A1AA" are both valid.

{api_key}

A valid API key that authenticates your account.


Authorisation

For every endpoint request your API Key should be sent as part of the querystring:

https://api.postcodearea.co.uk/supermarkets/?key={api_key}&postcode=WS3+3PD

For example:

https://api.postcodearea.co.uk/supermarkets/?key=&postcode=WS3+3PD

Example Request and Response

If the above URL endpoint exists and the API key is valid, our system will return the following example response:

https://api.postcodearea.co.uk/supermarkets/?key=&postcode=WS3+3PD
{"data":[{"Name":"Co-operative","Type":"Retailers - supermarkets/hypermarkets","Address 1":"","Address 2":"22a High Street","Address 3":"Gnosall","Address 4":"Stafford","Postcode":"ST20 0EX","Overall Rating":"5","Scheme":"FHRS","Hygiene":"5","Structural":"5","Confidence in Management":"0","Local Authority":"Stafford","Local Authority Business ID":"80","FHRS ID":"1195925","Latitude":"52.784339","Longitude":"-2.2543805","Distance":0.34},{"Name":"Co-Operative","Type":"Retailers - supermarkets/hypermarkets","Address 1":"","Address 2":"Stafford Street","Address 3":"Eccleshall","Address 4":"Staffordshire","Postcode":"ST21 6BL","Overall Rating":"5","Scheme":"FHRS","Hygiene":"0","Structural":"0","Confidence in Management":"0","Local Authority":"Stafford","Local Authority Business ID":"6952","FHRS ID":"1195839","Latitude":"52.85937119","Longitude":"-2.251255989","Distance":4.99},{"Name":"Aldi Stores Ltd","Type":"Retailers - supermarkets/hypermarkets","Address 1":"Audley Avenue","Address 2":"Newport","Address 3":"Shropshire","Address 4":"","Postcode":"TF10 7DW","Overall Rating":"5","Scheme":"FHRS","Hygiene":"0","Structural":"0","Confidence in Management":"0","Local Authority":"Telford and Wrekin Council","Local Authority Business ID":"15/00128/COMM","FHRS ID":"851374","Latitude":"52.763806","Longitude":"-2.365572","Distance":5.19},{"Name":"Waitrose","Type":"Retailers - supermarkets/hypermarkets","Address 1":"Audley Road","Address 2":"Newport","Address 3":"Shropshire","Address 4":"","Postcode":"TF10 7DS","Overall Rating":"5","Scheme":"FHRS","Hygiene":"0","Structural":"5","Confidence in Management":"5","Local Authority":"Telford and Wrekin Council","Local Authority Business ID":"04/00035/COMM","FHRS ID":"249286","Latitude":"52.765436","Longitude":"-2.367469","Distance":5.23},{"Name":"Co-operative","Type":"Retailers - supermarkets/hypermarkets","Address 1":"","Address 2":"52-56 Holmcroft Road","Address 3":"Tillington","Address 4":"Stafford, Staffordshire","Postcode":"ST16 1JB","Overall Rating":"4","Scheme":"FHRS","Hygiene":"0","Structural":"10","Confidence in Management":"0","Local Authority":"Stafford","Local Authority Business ID":"890","FHRS ID":"1196047","Latitude":"52.8212514","Longitude":"-2.1325132","Distance":5.35},{"Name":"Co-operative","Type":"Retailers - supermarkets/hypermarkets","Address 1":"Midlands Co Operative Store","Address 2":"Burton Square","Address 3":"Rising Brook","Address 4":"Stafford","Postcode":"ST17 9LT","Overall Rating":"5","Scheme":"FHRS","Hygiene":"0","Structural":"5","Confidence in Management":"0","Local Authority":"Stafford","Local Authority Business ID":"318","FHRS ID":"1195560","Latitude":"52.78753662","Longitude":"-2.118961096","Distance":5.38},{"Name":"Farmfoods","Type":"Retailers - supermarkets/hypermarkets","Address 1":"Unit 2","Address 2":"Greyfriars Way","Address 3":"Stafford","Address 4":"Staffordshire","Postcode":"ST16 2SD","Overall Rating":"5","Scheme":"FHRS","Hygiene":"0","Structural":"5","Confidence in Management":"0","Local Authority":"Stafford","Local Authority Business ID":"112467","FHRS ID":"1195183","Latitude":"52.81285477","Longitude":"-2.12314105","Distance":5.49},{"Name":"Tesco","Type":"Retailers - supermarkets/hypermarkets","Address 1":"Tesco Extra","Address 2":"Newport Road","Address 3":"Stafford","Address 4":"Staffordshire","Postcode":"ST16 2EX","Overall Rating":"4","Scheme":"FHRS","Hygiene":"0","Structural":"0","Confidence in Management":"10","Local Authority":"Stafford","Local Authority Business ID":"88046","FHRS ID":"1196016","Latitude":"52.80056381","Longitude":"-2.118017912","Distance":5.49},{"Name":"Lidl Foodstores","Type":"Retailers - supermarkets/hypermarkets","Address 1":"Unit 4 Madford Retail Park","Address 2":"Foregate Street","Address 3":"Stafford","Address 4":"Staffordshire","Postcode":"ST16 2DL","Overall Rating":"5","Scheme":"FHRS","Hygiene":"0","Structural":"5","Confidence in Management":"0","Local Authority":"Stafford","Local Authority Business ID":"1000","FHRS ID":"1194984","Latitude":"52.81177902","Longitude":"-2.121623993","Distance":5.53},{"Name":"Iceland","Type":"Retailers - supermarkets/hypermarkets","Address 1":"","Address 2":"22 Hunters Row","Address 3":"Stafford","Address 4":"Staffordshire","Postcode":"ST16 2AD","Overall Rating":"5","Scheme":"FHRS","Hygiene":"0","Structural":"0","Confidence in Management":"0","Local Authority":"Stafford","Local Authority Business ID":"357","FHRS ID":"1195589","Latitude":"52.80868149","Longitude":"-2.119435072","Distance":5.56},{"Name":"Co-operative","Type":"Retailers - supermarkets/hypermarkets","Address 1":"Central England Co-operative","Address 2":"Stone Road","Address 3":"Stafford","Address 4":"Staffordshire","Postcode":"ST16 1LA","Overall Rating":"4","Scheme":"FHRS","Hygiene":"0","Structural":"10","Confidence in Management":"0","Local Authority":"Stafford","Local Authority Business ID":"298","FHRS ID":"1195546","Latitude":"52.82229996","Longitude":"-2.127351999","Distance":5.58},{"Name":"Tesco","Type":"Retailers - supermarkets/hypermarkets","Address 1":"Tesco Express","Address 2":"70 Stone Road","Address 3":"Stafford","Address 4":"Staffordshire","Postcode":"ST16 2RS","Overall Rating":"5","Scheme":"FHRS","Hygiene":"5","Structural":"5","Confidence in Management":"5","Local Authority":"Stafford","Local Authority Business ID":"102907","FHRS ID":"1195025","Latitude":"52.81727982","Longitude":"-2.123467922","Distance":5.59}],"response_time":0.0781,"Source":"PostcodeArea API","Output Area":"Radius","Radius":10,"Distance Unit":"Mile","Records":12,"Unique Fields":18,"Referrer":"api.postcodearea.co.uk","Host":"https://api.postcodearea.co.uk/supermarkets/?key=pa_XWQAV24RXCUU19NGUFM11TKTLN&postcode=st200ly","Endpoint":"/supermarkets/?key=pa_XWQAV24RXCUU19NGUFM11TKTLN&postcode=st200ly"}

Error Handling

HTTP Status Code Error Message Reason
400 Invalid postcode format The postcode provided is not valid.
401 Unauthorised request API key missing or invalid.
404 Postcode not found No data available for the given postcode.
404 No Results Found No data available for the given radius.
429 Too many requests Exceeded rate limit.
500 Internal server error An unexpected issue occurred.

Caching Policy

You may temporarily cache data retrieved from the API for performance optimisation purposes, provided that the cached data is:

  1. Stored in-memory only (e.g., application-level cache).
  2. Retained for no longer than one hour.

Caching API data to any persistent storage, including but not limited to databases, files, or external systems, constitutes a breach of our API Terms and Conditions. Such actions are strictly prohibited to ensure data accuracy and compliance with our licensing agreements.

If you have specific requirements for extended caching, you must seek prior written consent from us.


Get started today

Ready to use this data for your own business or organisation? Sign up today and get immediate access to all the PostcodeArea API endpoints.

Share this page