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.

API description

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

Endpoints


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

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"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.

Headers

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, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. 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 with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

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.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
2,123ms

Category:


Tags: