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 commitments. One click upgrade/downgrade or cancellation. No questions asked.
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.
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.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, look at the ‘X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.
To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.
The ‘X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.
Service Level:
100%
Response Time:
14,000ms
Service Level:
100%
Response Time:
9,558ms
Service Level:
100%
Response Time:
15,848ms
Service Level:
100%
Response Time:
2,620ms
Service Level:
100%
Response Time:
3,035ms
Service Level:
99%
Response Time:
5,236ms
Service Level:
100%
Response Time:
1,213ms
Service Level:
100%
Response Time:
189ms
Service Level:
100%
Response Time:
332ms
Service Level:
100%
Response Time:
2,471ms
Service Level:
100%
Response Time:
222ms
Service Level:
100%
Response Time:
280ms
Service Level:
100%
Response Time:
4,383ms
Service Level:
83%
Response Time:
1,925ms
Service Level:
100%
Response Time:
108ms
Service Level:
100%
Response Time:
489ms
Service Level:
99%
Response Time:
638ms