Restrooms API is an advanced solution designed to provide complete and up-to-date information about public restrooms in various locations. Its main objective is to improve the accessibility and convenience of users when searching for suitable restroom facilities in any environment.
The API provides access to detailed data including location information, accessibility for people with disabilities, availability of unisex restrooms, and ratings based on positive and negative feedback. It also provides accurate data on geographic coordinates, relative distances and orientation, making it easy to integrate into applications that require geolocation-based functionality.
The API is designed to be flexible and scalable, adapting to the needs of users of navigation, tourism, sustainability and inclusive services applications. Its focus on data accuracy and inclusiveness makes it a valuable tool for creating practical, user-centric solutions.
To use this endpoint you must specify.
page = indicates a page value. For example: 1.
ada = indicates if the values returned are toilets that comply with ADA accessibility standards for people with disabilities. For example (0 or 1) this parameter is optional.
unisex = indicates if the toilets to be received are unisex. For example (true or false) this parameter is optional.
Indicates a latitude. For example (36.7783).
Indicates a longitude. For example (-119.4179).
Note: ADA (Americans with Disabilities Act) is legislation that requires public restrooms to be accessible to people with disabilities. This includes features such as wide doorways, grab bars and sufficient space for wheelchairs, ensuring inclusiveness.
Restrooms by Coordinates - Endpoint Features
| Object | Description |
|---|---|
page |
[Required] Indicates a page value |
ada |
Optional Indicates if you wish to receive ADA compliant restrooms. |
unisex |
Optional Indicate if you wish to receive unisex bathrooms |
lat |
[Required] Indicates a latitude |
lng |
[Required] Indicates a longitude |
[{"id":38724,"name":"Dachau ","street":"Lilienstraße ","city":"Dachau bahnhof ","state":"München ","accessible":true,"unisex":true,"directions":"Yeah ","comment":"Yeah yes ","latitude":48.1287616,"longitude":11.5859344,"created_at":"2017-11-19T20:30:32.402Z","updated_at":"2020-04-14T21:19:10.711Z","downvote":0,"upvote":0,"country":"DE","changing_table":true,"edit_id":38724,"approved":true,"distance":0.6601594365524971,"bearing":"350.755769780571"},{"id":38727,"name":"Dachau ","street":"Lilienstraße ","city":"München ","state":"Single ","accessible":true,"unisex":true,"directions":"Fuck","comment":"Fuck ","latitude":48.1287616,"longitude":11.5859344,"created_at":"2017-11-19T20:39:06.902Z","updated_at":"2020-04-14T21:19:11.226Z","downvote":0,"upvote":0,"country":"DE","changing_table":true,"edit_id":38727,"approved":true,"distance":0.6601594365524971,"bearing":"350.755769780571"},{"id":68917,"name":"Bellevue die Monaco ","street":"Müllerstraße ","city":"München","state":"Bayern","accessible":true,"unisex":true,"directions":"","comment":"","latitude":48.1314681,"longitude":11.5717391,"created_at":"2024-04-04T13:45:08.848Z","updated_at":"2024-04-04T13:45:08.941Z","downvote":0,"upvote":0,"country":"DE","changing_table":true,"edit_id":68917,"approved":true,"distance":1.1127492662063276,"bearing":"307.788684538092"},{"id":64762,"name":"Taco Company","street":"Amalienstraße 69","city":"Munich ","state":"Bavaria","accessible":true,"unisex":true,"directions":"","comment":"","latitude":48.1503982,"longitude":11.5783367,"created_at":"2023-02-27T16:27:40.757Z","updated_at":"2023-02-27T16:27:40.863Z","downvote":0,"upvote":0,"country":"DE","changing_table":false,"edit_id":64762,"approved":true,"distance":2.1921709766405986,"bearing":"343.633772875379"},{"id":38725,"name":"Dachau ","street":"Lilienstraße ","city":"Dachau bahnhof ","state":"München ","accessible":true,"unisex":true,"directions":"Directions ok","comment":"Comments on ","latitude":48.211179,"longitude":11.459568,"created_at":"2017-11-19T20:32:46.301Z","updated_at":"2017-11-19T20:32:46.301Z","downvote":0,"upvote":0,"country":"DE","changing_table":true,"edit_id":38725,"approved":true,"distance":8.66489724025364,"bearing":"305.700514205285"}]
curl --location --request GET 'https://zylalabs.com/api/5604/restrooms+api/7279/restrooms+by+coordinates?page=1&ada=1&unisex=false&lat=53.2194&lng=6.5665' --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 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.
A Restrooms API helps integrate location-based restroom data into apps, improving accessibility, convenience, and user experience for finding nearby facilities.
Each endpoint returns detailed information about public restrooms, including location, accessibility features, user ratings, and geographic coordinates. For example, the response includes fields like name, address, accessibility status, and user comments.
Key fields in the response data include "id," "name," "accessible," "unisex," "latitude," "longitude," "directions," and user feedback metrics like "upvote" and "downvote." These fields provide essential information for locating and evaluating restrooms.
Users can customize their requests using parameters like "page" for pagination, "ada" to filter for ADA-compliant restrooms, "unisex" to specify restroom type, and geographic coordinates (latitude and longitude) for location-based searches.
The response data is structured as a JSON array of restroom objects. Each object contains various fields detailing the restroom's attributes, such as location, accessibility, and user ratings, making it easy to parse and utilize in applications.
The data is sourced from user contributions and verified databases to ensure accuracy. Regular updates and community feedback help maintain the quality and reliability of the restroom information provided by the API.
Typical use cases include integrating restroom location services into navigation apps, enhancing tourism applications with restroom accessibility features, and developing inclusive services for individuals with disabilities seeking nearby facilities.
Users can leverage the returned data to display restroom locations on maps, filter results based on accessibility needs, and provide users with directions and additional information, enhancing the overall user experience in finding suitable facilities.
If the API returns partial or empty results, users should implement error handling to notify users of unavailable restrooms. They can also suggest nearby alternatives or prompt users to refine their search parameters for better results.
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,295ms
Service Level:
100%
Response Time:
3,521ms
Service Level:
100%
Response Time:
9,558ms
Service Level:
100%
Response Time:
4,589ms
Service Level:
100%
Response Time:
1,376ms
Service Level:
100%
Response Time:
3,035ms
Service Level:
100%
Response Time:
1,497ms
Service Level:
100%
Response Time:
4,256ms
Service Level:
100%
Response Time:
1,660ms
Service Level:
100%
Response Time:
1,986ms
Service Level:
100%
Response Time:
1,710ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
431ms
Service Level:
100%
Response Time:
421ms
Service Level:
100%
Response Time:
1,318ms
Service Level:
100%
Response Time:
1,094ms
Service Level:
100%
Response Time:
528ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
115ms
Service Level:
100%
Response Time:
380ms