Available Public Bathrooms API

Available Public Bathrooms API

The Available Public Bathrooms API provides access to a vast database of global public bathrooms, toilets, and restrooms. With over 50,000+ entries submitted daily, users can search for facilities based on latitude and longitude. Whether in New York City, Los Angeles, or anywhere worldwide, find public bathrooms with ease.

About the API:

The Available Public Bathrooms API is a comprehensive tool that provides access to a vast database of global public bathrooms, toilets, and restrooms. With this API, users can search for facilities based on latitude and longitude coordinates, making it convenient to find nearby public bathrooms wherever they are in the world.

The API offers a wide range of data on public bathrooms, including their locations, availability, amenities, and accessibility features. This ensures that users can find facilities that meet their specific needs and preferences. Whether you're in a bustling city like New York City or Los Angeles, or anywhere else around the globe, the API enables you to easily locate and access public bathrooms.

With over 50,000+ entries being submitted daily, the database is constantly updated and growing, ensuring that users have access to the most up-to-date information on available public bathrooms. This wealth of data makes the API a reliable and valuable resource for individuals, tourists, travelers, and businesses alike.

The Available Public Bathrooms API provides a user-friendly interface that allows developers to integrate the functionality seamlessly into their applications, websites, or location-based services. By incorporating the API, businesses in the hospitality, travel, and navigation sectors can enhance their offerings by providing users with real-time information on nearby public bathrooms, improving user experiences and satisfaction.

Additionally, the API can be utilized by city planners, urban developers, and government agencies to analyze bathroom distribution, plan public infrastructure, and improve urban accessibility. The comprehensive data offered by the API enables these entities to make informed decisions and implement strategies that promote better public facilities for everyone.

Furthermore, the API can be integrated into mobile applications, navigation systems, or public transportation apps to provide convenient access to public bathroom information on the go. This feature is particularly useful for individuals with specific restroom requirements or those exploring unfamiliar locations.

In summary, the Available Public Bathrooms API offers a reliable and extensive database of global public bathrooms, toilets, and restrooms. With its search capabilities based on latitude and longitude, up-to-date entries, and global coverage, the API is a valuable resource for individuals, businesses, city planners, and developers seeking to enhance the availability and accessibility of public bathroom facilities.


What your API receives and what your API provides (input/output)?


Pass the latitude and longitude from where you want to find public bathrooms available. Receive a list of where they are located. 


What are the most common uses cases of this API?

  1. Travel and Tourism Applications: Travel and tourism platforms can integrate the Available Public Bathrooms API to provide users with convenient access to nearby public bathrooms. This enhances the overall travel experience by ensuring that users can easily locate and navigate to restroom facilities while exploring new destinations.

  2. Navigation and Mapping Services: Navigation and mapping applications can utilize the API to display public bathroom locations as points of interest on their maps. This allows users to plan their routes with restroom stops in mind, providing a seamless navigation experience for pedestrians, cyclists, or drivers.

  3. Event Planning and Venue Management: Event organizers and venue managers can leverage the API to ensure that their locations have sufficient restroom facilities to accommodate attendees. By analyzing public bathroom data, they can assess the availability and proximity of nearby facilities, facilitating efficient event planning and venue management.

  4. Accessibility and Inclusivity Initiatives: The API can be used to support accessibility initiatives by identifying public bathrooms with specific accessibility features, such as wheelchair accessibility or baby changing facilities. This enables individuals with diverse needs to find suitable restrooms and promotes inclusivity in public spaces.

  5. Health and Sanitation Applications: The API's data on public bathrooms can be utilized in health and sanitation applications, such as hygiene and sanitation management systems. By providing real-time information on available public bathrooms, these applications can contribute to promoting proper hygiene practices and ensuring access to clean restroom facilities.

  6. Urban Planning and Infrastructure Development: City planners and urban developers can analyze the data from the API to identify areas with inadequate public bathroom facilities. This information can inform urban planning decisions, helping to improve public infrastructure and ensure sufficient restroom availability in densely populated areas.


Are there any limitations to your plans?

Besides the number of API calls, there are no other limitations.

API Documentation


Gets public bathrooms by Latitude and Longitude


GET https://zylalabs.com/api/2086/available+public+bathrooms+api/1869/get+public+bathrooms

Get Public Bathrooms - Endpoint Features
Object Description
lat [Required] Latitude
lng [Required] Longitude
page [Optional]
per_page [Optional]
offset [Optional]
Test Endpoint


                                                                                                                                                                                                                            [{"id":20112,"name":"Petsmart","street":"501 N Frank Sottile Blvd","city":"Kingston","state":"New York","accessible":true,"unisex":false,"directions":"In the back, to the right of the cats up for adoption.","comment":"","latitude":41.9704655,"longitude":-73.9862419,"created_at":"2016-02-01T05:43:55.127Z","updated_at":"2016-02-01T05:43:55.127Z","downvote":0,"upvote":1,"country":"US","changing_table":false,"edit_id":20112,"approved":true,"distance":2.278418482092791,"bearing":"146.252980138602"},{"id":5205,"name":"Chipotle Grill","street":"1217 Ulster Ave","city":"Kingston","state":"NY","accessible":true,"unisex":false,"directions":"Gendered single stall restroom inside the chipotle.","comment":"","latitude":41.9647963,"longitude":-73.9896775,"created_at":"2014-03-15T19:27:33.755Z","updated_at":"2014-03-15T19:27:44.221Z","downvote":1,"upvote":1,"country":"United States","changing_table":false,"edit_id":5205,"approved":true,"distance":2.5723229219222,"bearing":"155.15963372394"},{"id":832,"name":"Mother Earth's Storehouse","street":"440 Kings Mall Court","city":"Kingston","state":"NY","accessible":false,"unisex":true,"directions":"Enter mall, look for Mother Earth's Storehouse. There is a sign on the outside of the building - it's on the side with Modell's, to the right of Fashion Bug. \r\r\r\r\r\r\r\rThere are two gender neutral bathrooms in the back of the store, to the right of the deli. ","comment":null,"latitude":41.964896,"longitude":-73.988809,"created_at":"2014-02-02T20:50:09.220Z","updated_at":"2014-02-02T20:50:09.220Z","downvote":1,"upvote":0,"country":"US","changing_table":false,"edit_id":832,"approved":true,"distance":2.58070563646339,"bearing":"153.9424942923"},{"id":64671,"name":"1091 Ulster Ave, Kingston, NY 12401, USA","street":"1091 Ulster Ave","city":"Kingston","state":"New York","accessible":true,"unisex":true,"directions":"","comment":"","latitude":41.9612507,"longitude":-73.9908986,"created_at":"2023-02-19T17:47:58.138Z","updated_at":"2023-02-19T17:47:58.231Z","downvote":0,"upvote":1,"country":"US","changing_table":false,"edit_id":64671,"approved":true,"distance":2.7870370320879454,"bearing":"158.741496031632"},{"id":20109,"name":"Stewarts","street":"Morton Blvd","city":"Kingston","state":"NY","accessible":true,"unisex":true,"directions":"To the left of the refrigerated case.","comment":"","latitude":41.959665,"longitude":-73.99307499999999,"created_at":"2016-02-01T05:21:28.606Z","updated_at":"2016-02-01T05:21:28.606Z","downvote":0,"upvote":1,"country":"US","changing_table":false,"edit_id":20109,"approved":true,"distance":2.8645483039786135,"bearing":"162.265895073555"},{"id":43056,"name":"Blue Mountain Bistro To Go","street":"948 NY-28","city":"Kingston","state":"New York","accessible":true,"unisex":true,"directions":"Behind the counter, right when you walk in. ","comment":"One single occupancy, gender neutral bathroom with locks. ","latitude":41.9832673,"longitude":-74.0857836,"created_at":"2018-08-18T18:43:40.766Z","updated_at":"2018-08-18T18:43:40.766Z","downvote":0,"upvote":0,"country":"US","changing_table":false,"edit_id":43056,"approved":true,"distance":4.258410977504923,"bearing":"258.159004223662"},{"id":29902,"name":"Woodstock Day School","street":"1430 Glasco Turnpike","city":"Saugerties ","state":"NY","accessible":true,"unisex":true,"directions":"Top and bottom floors of the cafe ( big metal building in centre of campus)","comment":"You must be a student or a visitor to enter campus ","latitude":42.0495599,"longitude":-74.0586427,"created_at":"2017-02-25T21:41:45.930Z","updated_at":"2017-02-25T21:41:45.930Z","downvote":0,"upvote":0,"country":"US","changing_table":false,"edit_id":29902,"approved":true,"distance":4.362720476061628,"bearing":"313.258156320272"},{"id":20115,"name":"Stockade Tavern","street":"313 Fair St","city":"Kingston","state":"New York","accessible":false,"unisex":true,"directions":"There are two gender neutral bathrooms. They are all the way in the back of the establishment; walk past the bar and take a left.","comment":"Restrooms are for bar patrons.","latitude":41.9347619,"longitude":-74.0194921,"created_at":"2016-02-01T06:05:53.022Z","updated_at":"2016-02-01T06:05:53.022Z","downvote":0,"upvote":2,"country":"US","changing_table":false,"edit_id":20115,"approved":true,"distance":4.560700245861494,"bearing":"191.706685604392"},{"id":43373,"name":"Hudson Valley LGBTQ Community Center","street":"300 Wall Street","city":"Kingston ","state":"NY","accessible":true,"unisex":true,"directions":"First floor on your right when you enter, and also upstairs on the second floor, down the hall on the right. There are stairs or a lift to get to the second floor.","comment":"Open during business hours and also during evening and weekend events.","latitude":41.9339609,"longitude":-74.0194775,"created_at":"2018-09-04T03:52:23.035Z","updated_at":"2018-09-04T03:52:23.035Z","downvote":0,"upvote":1,"country":"US","changing_table":true,"edit_id":43373,"approved":true,"distance":4.615294178849937,"bearing":"191.55638524588"},{"id":47625,"name":"Hudson Valley LGBTQ Community Center","street":"300 Wall Street","city":"Kingston","state":"NY","accessible":false,"unisex":true,"directions":"One bathroom on first floor, to the right of the entrance. More bathrooms on the second floor at the end of hall (accessible via stairs or wheelchair lift) ","comment":"Mailing Address: Hudson Valley LGBTQ Community Center Inc.PO Box 3994Kingston, New York 12402Phone: 845.331.5300 Hours are 9:30AM-5:00Pm Mon-Fri. Also open late/weekends during special events.","latitude":41.9339609,"longitude":-74.0194775,"created_at":"2019-02-19T20:50:39.467Z","updated_at":"2019-03-17T01:25:10.612Z","downvote":0,"upvote":1,"country":"US","changing_table":false,"edit_id":1271,"approved":true,"distance":4.615294178849937,"bearing":"191.55638524588"}]

Get Public Bathrooms - CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/2086/available+public+bathrooms+api/1869/get+public+bathrooms?lat=42&lng=-74.005974&page=1&per_page=10&offset=Optional' --header 'Authorization: Bearer YOUR_API_KEY' 


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Available Public Bathrooms API REST API, simply include your bearer token in the Authorization header.


Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at
$ 10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

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
 Response Time


Related APIs