API Endpoints

Community and Leisure

Public Beaches

Tokens
× 1

API Credit Cost


Endpoint Overview

The Public Beaches endpoint identifies accessible beaches within a postcode radius, providing details such as names, locations, and facilities available.


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

For example:

https://api.postcodearea.co.uk/beaches/?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/beaches/?key=&postcode=WS3+3PD
{"data":[{"Beach":"WEST KIRBY","Description":"Just 300 metres in length, but this beach lies between 1km of beautiful sand dunes and 2km of sand flats that are exposed at low tide.  West Kirby beach has one of the best marine lakes in the area, which has been recently opened after a complete refurbishment.  Windsurfing and kiting are popular activities on this beach, although are not allowed within 100m of the tide line, to allow swimmers to enjoy the water safely.  Free parking is available on the promenade running alonside the marine lake, and there is also a pay-and-display car park close to the beach at Dee Lane.  There are plenty of local shops within driving distance at West Kirby.","Sea Region":"Atlantic Ocean","County":"MERSEYSIDE","Region":"NORTH WEST (UK)","Town":"WIRRAL","Water Type":"estuary","Latitude":"53.3721","Longitude":"-3.1889","Distance":56.0305360954636},{"Beach":"NEW BRIGHTON","Description":"A popular seaside resort that's home to the Floral Pavilion Theatre and Conference Centre.  Having undergone a recent redevelopment, New Brighton is now home to a casino, new restaurants, hotels, cinema and activity centres.  The beach is 3/4 mile of flat sand, with excellent views across Liverpool Bay.  A host of facilities is available, including first aid and toilets.  Activities include swimming, jetskiing, powerboating, fishing and canoeing.  Parking is available at Bay View Drive or along King's Drive.  Dogs are allowed on the beach.","Sea Region":"Atlantic Ocean","County":"MERSEYSIDE","Region":"NORTH WEST (UK)","Town":"WIRRAL","Water Type":"C","Latitude":"53.4352","Longitude":"-3.0747","Distance":56.2507142119222},{"Beach":"MORETON","Description":"Lovely sandy beach with plenty of facilities for day-trippers to the beach, including shops, cafe, public toilets and a leisure centre.  Horse riding and sand-buggying are popular activities on this beach.  Water quality is considered excellent, and Wirral Council seasonal lifeguards patrol this beach at peak times.  The beach is Marine Conservation Society recommended.  Car parking is available near to the beach.","Sea Region":"Atlantic Ocean","County":"MERSEYSIDE","Region":"NORTH WEST (UK)","Town":"WIRRAL","Water Type":"C","Latitude":"53.4177","Longitude":"-3.1194","Distance":56.4543200652387},{"Beach":"MEOLS","Description":"Meols beach is a small strip of shingle and vast expanse of sand that is exposed during low tides.  Sand buggying is a popular pastime on the large areas of sand exposed by the receding tides.  There are plenty of popular coastal walks as well as bird-watching opportunities.  Adjacent to the beach is the 4-mile long North Wirral Coastal Park.  Toilets are available at the beach, and parking is available nearby.","Sea Region":"Atlantic Ocean","County":"MERSEYSIDE","Region":"NORTH WEST (UK)","Town":"WIRRAL","Water Type":"C","Latitude":"53.4066","Longitude":"-3.1598","Distance":56.9546165345459},{"Beach":"PRESTATYN","Description":"Prestatyn beaches are split into three different areas. At the west end of Prestatyn, Ffrith Beach stretches from the Golf Course to Ffrith Beach Fun Park.  The beach is dog-friendly and dog walkers are welcome from May-September.  At Central Beach there is a Blue Flag proudly displayed, meaning the water quality is checked regularly for bathers to swim.  Car parking is available nearby, and lifeguards are stationed during the season.  Facilities at Central Beach include toilets, cafe, play area and outdoor shower. Finally, Barkby Beach is home to plenty of boats - it's home to Prestatyn Sailing Club and slipway. Swimming at Barkby Beach isn't recommended, but the beach itself is excellent for sunbathers.","Sea Region":"Atlantic Ocean","County":"DENBIGHSHIRE","Region":"WALES","Town":"PRESTATYN","Water Type":"C","Latitude":"53.3463","Longitude":"-3.4157","Distance":61.7616996997186},{"Beach":"FORMBY","Description":"Surrounded by sweeping coastal pinewoods, Formby Beach enjoys breathtaking sea views that head out into the Irish Sea towards Ireland.  Ideal for families, there are picnic areas and plenty of walks across the landscape.  Open all year, this beach won the Quality Coast Award 2012.  A large car park and picnic area is available.  No lifeguard cover is available at Formby Beach.","Sea Region":"Atlantic Ocean","County":"MERSEYSIDE","Region":"NORTH WEST (UK)","Town":"SEFTON","Water Type":"C","Latitude":"53.5482","Longitude":"-3.1063","Distance":63.3086646892399},{"Beach":"RHYL","Description":"","Sea Region":"Atlantic Ocean","County":"DENBIGHSHIRE","Region":"WALES","Town":"RHYL","Water Type":"C","Latitude":"53.3309","Longitude":"-3.5001","Distance":63.8986901589153},{"Beach":"KINMEL BAY (SANDY COVE)","Description":"A wonderful north-facing sandy beach that's located next to Kinmel Dunes nature reserve.  A narrow promenade and sea wall runs along the beach, next to the car park.  Toilets and cafe is situated on the seaward side of the car park, which is free.  Canoeing, windsurfing and swimming are popular activities.  Water quality is excellent, but there is no lifeguard on duty at this beach.  The beach has been awarded with a Green Coast Award, and is Marine Conservation Society recommended.","Sea Region":"Atlantic Ocean","County":"Conwy County","Region":"WALES","Town":"KINMEL BAY (SANDY COVE)","Water Type":"C","Latitude":"53.3124","Longitude":"-3.5355","Distance":64.3758613107448},{"Beach":"AINSDALE","Description":"Ainsdale Beach is one of the most popular on the coast and has been awarded a Quality Coast Award by Keep Britain Tidy. It is the only beach in the North West to have ever been awarded the international Blue Flag (in 2004 and 2006). Ainsdale Beach is now recognised as one of the premier beaches in the UK for extreme kite activities, with zones set aside for kite buggy and landboard use and kitesurfing taking place on the sea. Nearby Ainsdale Village offers good shopping and restaurants. Please take note of beach safety flags and signage. Codes of conduct available. No Lifeguard cover.","Sea Region":"Atlantic Ocean","County":"MERSEYSIDE","Region":"NORTH WEST (UK)","Town":"SEFTON","Water Type":"C","Latitude":"53.6079","Longitude":"-3.064","Distance":65.8500729083592},{"Beach":"SOUTHPORT","Description":"","Sea Region":"Atlantic Ocean","County":"MERSEYSIDE","Region":"NORTH WEST (UK)","Town":"SEFTON","Water Type":"C","Latitude":"53.6532","Longitude":"-3.0273","Distance":67.8261830850741},{"Beach":"COLWYN BAY","Description":"Three miles of golden sand is available at Colwyn Bay beach, perfect for sunbathing, playing games or a leisurely walk. The beach stretches three miles, from Penmeanhead to Rhos Point, leading to the wonderful Rhos Harbour with its mix of pleasure boats and fishing boats.  The promenade alongside the beach has a good selection of kiosks, cafe bars, and restaurants.  A multi-million pound waterfront development has replenished the beach.","Sea Region":"Atlantic Ocean","County":"Conwy County","Region":"WALES","Town":"COLWYN BAY","Water Type":"C","Latitude":"53.2971","Longitude":"-3.7144","Distance":70.0808017406281},{"Beach":"ST ANNES","Description":"","Sea Region":"Atlantic Ocean","County":"LANCASHIRE","Region":"NORTH WEST (UK)","Town":"FYLDE","Water Type":"C","Latitude":"53.7466","Longitude":"-3.0357","Distance":73.7017302064964},{"Beach":"LLANDUDNO NORTH SHORE","Description":"","Sea Region":"Atlantic Ocean","County":"Conwy County","Region":"WALES","Town":"LLANDUDNO NORTH SHORE","Water Type":"C","Latitude":"53.3253","Longitude":"-3.8284","Distance":75.0962237054517},{"Beach":"ST ANNES NORTH","Description":"","Sea Region":"Atlantic Ocean","County":"LANCASHIRE","Region":"NORTH WEST (UK)","Town":"FYLDE","Water Type":"C","Latitude":"53.7662","Longitude":"-3.0574","Distance":75.3009436244426},{"Beach":"LLANDUDNO WEST SHORE","Description":"","Sea Region":"Atlantic Ocean","County":"Conwy County","Region":"WALES","Town":"LLANDUDNO WEST SHORE","Water Type":"C","Latitude":"53.3173","Longitude":"-3.8547","Distance":75.7834161068167},{"Beach":"BARMOUTH","Description":"Barmouth is southern Snowdonia's most popular seaside resort.  In summer, its big sandy beach is a magnet for visitors, yet there's so much space along miles of unbroken sands that it never gets overcrowded. Barmouth is well located for watersports - there's easy access to the sea via a slipway on the beach, though a craft exclusion zone is in place to protect swimmers. As a fully fledged seaside resort Barmouth comes complete with all the expected amenities and attractions - shops, cafes and restaurants, good parking, amusements and entertainments. There's good disabled access to the beach too, and the resort is well served by public transport.","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"BARMOUTH","Water Type":"C","Latitude":"52.7228","Longitude":"-4.062","Distance":76.0710073776297},{"Beach":"FAIRBOURNE","Description":"The Blue Flag beach at Fairbourne is a two mile stretch of beach, backed by steep pebble banks, which exposes a vast amount of golden sandy beaches from mid-tide level. At the northern end the beach joins the Mawddach Estuary, while at the southern end of the beach is squeezed between sheer cliffs and the sea. The beach is an attractive venture for people exercising their dogs, however, during the summer months there is a dog ban enforced on the central area.","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"FAIRBOURNE","Water Type":"C","Latitude":"52.6974","Longitude":"-4.0597","Distance":76.1419441677515},{"Beach":"PENMAENMAWR","Description":"","Sea Region":"Atlantic Ocean","County":"Conwy County","Region":"WALES","Town":"PENMAENMAWR","Water Type":"C","Latitude":"53.2738","Longitude":"-3.924","Distance":77.0033770191275},{"Beach":"ABERDYFI","Description":"The popular beach of perfect sand and the occasional sand dune extends for miles, from Aberdyfi all the way to Tywyn. Even though the sea looks inviting, swimmers must take care while venturing out, due to the strong currents around the estuary mouth. Aberdyfi's southern shore along the Dyfi Estuary is part of the Dyfi National Nature Reserve.  Facilities include parking, toilets, disabled access, shop, first aid (seasonal) and camp site.  Dog restrictions in force.","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"ABERDYFI","Water Type":"estuary","Latitude":"52.5422","Longitude":"-4.0553","Distance":77.8368448513673},{"Beach":"TAL-Y-BONT","Description":"","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"TAL-Y-BONT","Water Type":"C","Latitude":"52.7687","Longitude":"-4.1099","Distance":77.8740294791163},{"Beach":"DYFFRYN (LLANENDWYN)","Description":"","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"DYFFRYN (LLANENDWYN)","Water Type":"C","Latitude":"52.7817","Longitude":"-4.126","Distance":78.5141559490705},{"Beach":"LLANDANWG","Description":"","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"LLANDANWG","Water Type":"C","Latitude":"52.832","Longitude":"-4.1288","Distance":78.6003048046814},{"Beach":"HARLECH","Description":"","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"HARLECH","Water Type":"C","Latitude":"52.8617","Longitude":"-4.1292","Distance":78.6708846329164},{"Beach":"BORTH","Description":"","Sea Region":"Atlantic Ocean","County":"CEREDIGION","Region":"WALES","Town":"BORTH","Water Type":"C","Latitude":"52.4909","Longitude":"-4.0546","Distance":78.7412433705912},{"Beach":"LLANFAIRFECHAN","Description":"","Sea Region":"Atlantic Ocean","County":"Conwy County","Region":"WALES","Town":"CONWY","Water Type":"C","Latitude":"53.2628","Longitude":"-3.9802","Distance":78.7958604893236},{"Beach":"TYWYN","Description":"","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"TYWYN","Water Type":"C","Latitude":"52.582","Longitude":"-4.1022","Distance":79.1541920058744},{"Beach":"CRAIG DU BEACH CENTRAL","Description":"","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"CRAIG DU BEACH CENTRAL","Water Type":"C","Latitude":"52.9051","Longitude":"-4.178","Distance":80.8691363888848},{"Beach":"CLARACH SOUTH","Description":"","Sea Region":"Atlantic Ocean","County":"CEREDIGION","Region":"WALES","Town":"CLARACH SOUTH","Water Type":"C","Latitude":"52.4329","Longitude":"-4.0814","Distance":81.0482909772675},{"Beach":"ABERYSTWYTH NORTH","Description":"","Sea Region":"Atlantic Ocean","County":"CEREDIGION","Region":"WALES","Town":"ABERYSTWYTH NORTH","Water Type":"C","Latitude":"52.4194","Longitude":"-4.0851","Distance":81.5055943002743},{"Beach":"ABERYSTWYTH SOUTH","Description":"","Sea Region":"Atlantic Ocean","County":"CEREDIGION","Region":"WALES","Town":"ABERYSTWYTH SOUTH","Water Type":"C","Latitude":"52.4121","Longitude":"-4.0907","Distance":81.9002850008798},{"Beach":"CRICCIETH","Description":"","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"CRICCIETH","Water Type":"C","Latitude":"52.9192","Longitude":"-4.2276","Distance":83.0009107960889},{"Beach":"LLANDDONA","Description":"","Sea Region":"Atlantic Ocean","County":"GWYNEDD","Region":"WALES","Town":"LLANDDONA","Water Type":"C","Latitude":"53.3084","Longitude":"-4.1537","Distance":86.5519443313347},{"Beach":"ST DAVIDS - BENLLECH","Description":"","Sea Region":"Atlantic Ocean","County":"Anglesey","Region":"WALES","Town":"ST DAVIDS - BENLLECH","Water Type":"C","Latitude":"53.3148","Longitude":"-4.2071","Distance":88.7314565621005},{"Beach":"BENLLECH","Description":"","Sea Region":"Atlantic Ocean","County":"Anglesey","Region":"WALES","Town":"BENLLECH","Water Type":"C","Latitude":"53.3194","Longitude":"-4.2131","Distance":89.0801410362997}],"response_time":0.0156,"Source":"PostcodeArea API","Output Area":"Radius","Radius":10,"Distance Unit":"Mile","Records":34,"Unique Fields":10,"Referrer":"api.postcodearea.co.uk","Host":"https://api.postcodearea.co.uk/beaches/?key=pa_XWQAV24RXCUU19NGUFM11TKTLN&postcode=st200ly","Endpoint":"/beaches/?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