API Endpoints

Transport and Mobility

Car Parks

Tokens
× 1

API Credit Cost


Endpoint Overview

The Car Parks endpoint provides a list of parking facilities within a postcode radius, including their capacities, locations, facilities and types (e.g., public or private).


Coverage

EnglandEngland
ScotlandScotland
WalesWales
N. IrelandN. Ireland

Update Frequency

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/car-parks/?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/car-parks/?key={api_key}&postcode=WS3+3PD

For example:

https://api.postcodearea.co.uk/car-parks/?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/car-parks/?key=&postcode=WS3+3PD
{"data":[{"Car Park Name":"Station Road","Address":"Station Road, Gnosall","Town":"Gnosall","Postcode":"ST20 0BF","Notes":"","Phone":"","Website":"","Park and Ride":"false","Spaces":"0","Start Time":"","End Time":"","Stay Type":"Unknown","Operator":"Operator - Unknown","Operator Website":"","Operator Email":"","Car Park Email":"","CCTV":"Unk","Staffed":"Unk","Lifts Available":"Unk","Open Days":"-------","Public Holidays":"Includes","Concessions":"","Latitude":"52.78173","Longitude":"-2.259883","Distance":0.636713670344482},{"Car Park Name":"Loynton Moss","Address":"A519, Stafford","Town":"Stafford","Postcode":"ST20 0NP","Notes":"","Phone":"01889880100","Website":"http://www.staffs-wildlife.org.uk/page/loynton-moss","Park and Ride":"false","Spaces":"0","Start Time":"","End Time":"","Stay Type":"Unknown","Operator":"Staffordshire Wildlife Trust","Operator Website":"http://www.staffs-wildlife.org.uk/page/feedback","Operator Email":"info@staffs-wildlife.org.uk","Car Park Email":"info@staffs-wildlife.org.uk","CCTV":"Unk","Staffed":"Unk","Lifts Available":"Unk","Open Days":"-------","Public Holidays":"Includes","Concessions":"","Latitude":"52.82375","Longitude":"-2.301434","Distance":3.37845420467006},{"Car Park Name":"Sundown Drive Play Area","Address":"Thorneyfields Lane, Western Downs","Town":"Western Downs","Postcode":"ST17 9HZ","Notes":"","Phone":"01785619000","Website":"http://www.staffordbc.gov.uk/stafford-play-areas-sundown-drive","Park and Ride":"false","Spaces":"0","Start Time":"","End Time":"","Stay Type":"Unknown","Operator":"Stafford Borough Council","Operator Website":"http://www.staffordbc.gov.uk/static/page142.htm","Operator Email":"pgammon@staffordbc.gov.uk","Car Park Email":"play@staffordbc.gov.uk","CCTV":"Unk","Staffed":"Unk","Lifts Available":"Unk","Open Days":"-------","Public Holidays":"Includes","Concessions":"","Latitude":"52.791","Longitude":"-2.142226","Distance":4.41356641640861},{"Car Park Name":"Stafford Castle Visitor Centre","Address":"Castle Wood, Stafford","Town":"Stafford","Postcode":"ST16 1DJ","Notes":"","Phone":"01785257698","Website":"http://www.staffordbc.gov.uk/live/cme50.htm","Park and Ride":"false","Spaces":"0","Start Time":"","End Time":"","Stay Type":"Unknown","Operator":"Stafford Borough Council","Operator Website":"http://www.staffordbc.gov.uk/static/page142.htm","Operator Email":"pgammon@staffordbc.gov.uk","Car Park Email":"heritage@staffordbc.gov.uk","CCTV":"Unk","Staffed":"Unk","Lifts Available":"Unk","Open Days":"-------","Public Holidays":"Includes","Concessions":"","Latitude":"52.79649","Longitude":"-2.141681","Distance":4.47412056949684},{"Car Park Name":"Doxey Marshes","Address":"Wootton Drive, Creswell","Town":"Creswell","Postcode":"ST16 1JR","Notes":"","Phone":"01889880100","Website":"http://www.staffs-wildlife.org.uk/page/doxey-marshes","Park and Ride":"false","Spaces":"0","Start Time":"","End Time":"","Stay Type":"Unknown","Operator":"Staffordshire Wildlife Trust","Operator Website":"http://www.staffs-wildlife.org.uk/page/feedback","Operator Email":"info@staffs-wildlife.org.uk","Car Park Email":"info@staffs-wildlife.org.uk","CCTV":"Unk","Staffed":"Unk","Lifts Available":"Unk","Open Days":"-------","Public Holidays":"Includes","Concessions":"","Latitude":"52.82257","Longitude":"-2.144288","Distance":4.95988665849899},{"Car Park Name":"Stone Road","Address":"Stone Road, Eccleshall","Town":"Eccleshall","Postcode":"ST21 6DJ","Notes":"","Phone":"","Website":"","Park and Ride":"false","Spaces":"0","Start Time":"","End Time":"","Stay Type":"Unknown","Operator":"Operator - Unknown","Operator Website":"","Operator Email":"","Car Park Email":"","CCTV":"Unk","Staffed":"Unk","Lifts Available":"Unk","Open Days":"-------","Public Holidays":"Includes","Concessions":"","Latitude":"52.86001","Longitude":"-2.249954","Distance":5.03058356178628},{"Car Park Name":"Jacksons Coppice","Address":"Main Road, Bishops Offley","Town":"Bishops Offley","Postcode":"ST21 6EW","Notes":"","Phone":"01889880100","Website":"http://www.staffs-wildlife.org.uk/page/jackson-s-coppice-marsh","Park and Ride":"false","Spaces":"0","Start Time":"","End Time":"","Stay Type":"Unknown","Operator":"Staffordshire Wildlife Trust","Operator Website":"http://www.staffs-wildlife.org.uk/page/feedback","Operator Email":"info@staffs-wildlife.org.uk","Car Park Email":"info@staffs-wildlife.org.uk","CCTV":"Unk","Staffed":"Unk","Lifts Available":"Unk","Open Days":"-------","Public Holidays":"Includes","Concessions":"","Latitude":"52.86125","Longitude":"-2.289158","Distance":5.40075529717775}],"response_time":0.0625,"Source":"PostcodeArea API","Output Area":"Radius","Radius":10,"Distance Unit":"Mile","Records":7,"Unique Fields":26.4285714285714,"Referrer":"api.postcodearea.co.uk","Host":"https://api.postcodearea.co.uk/car-parks/?key=pa_XWQAV24RXCUU19NGUFM11TKTLN&postcode=st200ly","Endpoint":"/car-parks/?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