The UK Restrooms API is an innovative solution designed to deliver comprehensive, up-to-date information about public restrooms in various locations. Its primary goal is to enhance accessibility and convenience for users seeking suitable restroom facilities in any setting.
This API offers detailed insights, including precise location data, accessibility features for individuals with disabilities, availability of unisex restrooms, and ratings based on user feedback. It also provides accurate geographic coordinates, relative distances, and orientation details, making it an ideal integration for applications that rely on geolocation-based services.
Built for flexibility and scalability, the API caters to the needs of navigation, tourism, sustainability, and inclusive service applications. Its emphasis on data accuracy and inclusivity makes it a powerful tool for developing practical, user-focused solutions.
To use this endpoint you must specify.
page = indicates a page value. For example: 1.
unisex = indicates if the toilets to be received are unisex. For example (true or false) this parameter is optional.
Indicates a latitude. For example (51.5074).
Indicates a longitude. For example (-0.1278).
Restrooms by Coordinates - Endpoint Features
| Object | Description |
|---|---|
page |
[Required] Indicates a page value |
unisex |
Optional Indicate if you wish to receive unisex bathrooms |
lat |
[Required] Indicates a latitude |
lng |
[Required] Indicates a longitude |
[{"id":51111,"name":"Maggie Thatcher’s Grave ","street":"SWR 4SR","city":"London","state":"Greater London","accessible":false,"unisex":true,"directions":"Go piss on Maggie Thatcher’s grave","comment":"https://open.spotify.com/track/0dM6Wr1Hhvfcic5ilTL6gH?si=C8hsphQTSgKb1fABRjSulg","latitude":51.5073509,"longitude":-0.1277583,"created_at":"2019-07-17T18:42:19.873Z","updated_at":"2019-07-17T18:42:19.993Z","downvote":6,"upvote":44,"country":"GB","changing_table":false,"edit_id":51111,"approved":true,"distance":0.0038372956354578245,"bearing":"139.659182740721"},{"id":22120,"name":"Bromley South Station","street":"Station Approach, High Street, Bromley BR1 1LX","city":"London","state":"London","accessible":false,"unisex":true,"directions":"Divide between platforms 1 + 2","comment":"Need to be catching a train to/from this station ","latitude":51.5073509,"longitude":-0.1277583,"created_at":"2016-05-16T19:50:51.605Z","updated_at":"2016-05-16T19:50:51.605Z","downvote":30,"upvote":0,"country":"GB","changing_table":false,"edit_id":22120,"approved":true,"distance":0.0038372956354578245,"bearing":"139.659182740721"},{"id":22119,"name":"Bromley South Station","street":"Station Approach, High Street, Bromley BR1 1LX","city":"London","state":"London","accessible":false,"unisex":true,"directions":"Divide between platforms 1 + 2","comment":"You have to be catching a train to/from this station","latitude":51.5073509,"longitude":-0.1277583,"created_at":"2016-05-16T19:47:00.693Z","updated_at":"2016-05-16T19:47:00.693Z","downvote":6,"upvote":0,"country":"GB","changing_table":false,"edit_id":22119,"approved":true,"distance":0.0038372956354578245,"bearing":"139.659182740721"},{"id":69075,"name":"Wimpy","street":"22-24 Thomas St,","city":"London","state":"London","accessible":false,"unisex":false,"directions":"in back of restaurant","comment":"may need to be paying customer","latitude":51.5072178,"longitude":-0.1275862,"created_at":"2024-04-23T17:44:27.876Z","updated_at":"2024-04-23T17:44:27.977Z","downvote":0,"upvote":0,"country":"US","changing_table":false,"edit_id":69075,"approved":true,"distance":0.01558894118627999,"bearing":"130.437580191142"},{"id":67357,"name":"Heathrow Airport Terminal 5","street":"Wellington Road ","city":"London","state":"TW6 2GA","accessible":true,"unisex":true,"directions":"Arrivals, Level 0, Landside South Accessible Toilet. ","comment":"Marked as “accessible” and “not all disabilities are visible”. Doesn’t require a Radar key to access. ","latitude":51.5072178,"longitude":-0.1275862,"created_at":"2023-09-15T15:33:06.632Z","updated_at":"2023-09-15T15:33:06.726Z","downvote":0,"upvote":1,"country":"GB","changing_table":false,"edit_id":67357,"approved":true,"distance":0.01558894118627999,"bearing":"130.437580191142"},{"id":44551,"name":"Caffè Nero","street":"60-61 Trafalgar Square, St. James's, London, WC2N 5DS, UK","city":"London","state":"Greater London","accessible":false,"unisex":true,"directions":"","comment":"In the back, to your left.","latitude":51.5072302,"longitude":-0.1284769,"created_at":"2018-09-22T06:06:50.463Z","updated_at":"2020-04-14T21:17:22.358Z","downvote":0,"upvote":0,"country":"GB","changing_table":false,"edit_id":44551,"approved":true,"distance":0.031385126605712015,"bearing":"255.917958174099"},{"id":61700,"name":"Five Guys","street":"Northumberland Ave","city":"London","state":"London","accessible":true,"unisex":true,"directions":"","comment":"","latitude":51.5069825,"longitude":-0.1249472,"created_at":"2022-04-09T14:09:04.875Z","updated_at":"2022-04-09T14:09:04.956Z","downvote":0,"upvote":0,"country":"GB","changing_table":false,"edit_id":61700,"approved":true,"distance":0.12602983027783007,"bearing":"98.32598601658"},{"id":21107,"name":"Starbucks","street":"Villiers Street","city":"London","state":"London","accessible":true,"unisex":true,"directions":"Right at the end, past the barista bar. ","comment":"Door Code! Try C2468Z (Dec 2015)","latitude":51.5081532,"longitude":-0.1240551,"created_at":"2016-04-05T02:38:52.521Z","updated_at":"2016-04-05T02:38:52.521Z","downvote":109,"upvote":2,"country":"GB","changing_table":false,"edit_id":21107,"approved":true,"distance":0.16924629083356307,"bearing":"78.627999580274"},{"id":25941,"name":"National Portrait Gallery ","street":"Charing Cross Road","city":"London","state":"UK","accessible":true,"unisex":true,"directions":"In the basement, stairs and lift accessible. Not far from the entrance","comment":"Good and clean","latitude":51.5099239,"longitude":-0.1284311,"created_at":"2016-10-26T15:54:28.021Z","updated_at":"2016-10-26T15:54:28.021Z","downvote":0,"upvote":0,"country":"GB","changing_table":false,"edit_id":25941,"approved":true,"distance":0.17648386180028539,"bearing":"345.961085826698"},{"id":32033,"name":"Starbucks","street":"99 St Martins Lane","city":"Covent Garden","state":"London","accessible":true,"unisex":true,"directions":"Past the counter to the seating area in the back.","comment":"You can say you just need to pop to the loo and then you'll be back to order something. When you come back out you can just tell them you've changed your mind.","latitude":51.5104859,"longitude":-0.1271282,"created_at":"2017-02-28T10:45:48.219Z","updated_at":"2017-02-28T10:45:48.219Z","downvote":0,"upvote":0,"country":"GB","changing_table":false,"edit_id":32033,"approved":true,"distance":0.21516337712681585,"bearing":"12.281653829998"}]
curl --location --request GET 'https://zylalabs.com/api/5608/uk+restrooms+api/7286/restrooms+by+coordinates?page=Required&lat=Required&lng=Required' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
To use this API, users must indicate a page, number of results to receive, coordinates or locations.
The UK Restrooms API provides detailed information on public restrooms, including location, accessibility, features, and user feedback, for enhanced user convenience.
There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid abuse of the service.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
UK Restrooms API helps integrate location-based restroom data into apps, improving accessibility, convenience, and user experience for finding nearby facilities.
This endpoint returns detailed information about public restrooms, including their names, addresses, accessibility features, user ratings, geographic coordinates, and directions.
Key fields include "id," "name," "street," "city," "accessible," "unisex," "latitude," "longitude," "upvote," "downvote," and "distance." These fields provide essential details for locating and evaluating restrooms.
Users can customize requests by specifying parameters such as "page" for pagination and "unisex" to filter results for unisex restrooms. Latitude and longitude are required for location-based searches.
The response data is structured as a JSON array of restroom objects, each containing multiple fields that describe the restroom's attributes, making it easy to parse and utilize in applications.
The endpoint provides information on restroom locations, accessibility features, amenities, user ratings, and distances from specified coordinates, enhancing user experience in finding suitable facilities.
Data accuracy is maintained through user feedback and regular updates. User ratings and comments help ensure that the information reflects current conditions and accessibility features.
Typical use cases include integrating restroom information into navigation apps, tourism guides, and accessibility-focused services, helping users find nearby facilities based on their needs.
Users can utilize the returned data by displaying restroom locations on maps, filtering based on accessibility features, and providing directions to enhance user convenience and experience.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
11,893ms
Service Level:
100%
Response Time:
11,295ms
Service Level:
100%
Response Time:
9,558ms
Service Level:
100%
Response Time:
1,376ms
Service Level:
100%
Response Time:
4,589ms
Service Level:
100%
Response Time:
3,035ms
Service Level:
100%
Response Time:
666ms
Service Level:
100%
Response Time:
1,497ms
Service Level:
100%
Response Time:
332ms
Service Level:
100%
Response Time:
357ms
Service Level:
100%
Response Time:
635ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
2,379ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
628ms
Service Level:
100%
Response Time:
1,837ms
Service Level:
100%
Response Time:
449ms
Service Level:
100%
Response Time:
1,254ms
Service Level:
60%
Response Time:
2,150ms
Service Level:
100%
Response Time:
833ms