Canada Restrooms API

Provides detailed data on public restrooms, including location, accessibility, features, voting and distances, for accurate searches.

About the API:  

The Canada Restrooms API is an advanced solution that offers comprehensive and current data on public restrooms across various locations. Its primary aim is to enhance accessibility and convenience for users seeking suitable restroom facilities in different settings.

This API delivers detailed information, including the exact location, accessibility for individuals with disabilities, availability of unisex restrooms, and user ratings based on feedback. It also provides geographic coordinates, distances, and orientation data, enabling seamless integration into geolocation-based applications.

Built with flexibility and scalability in mind, the API can adapt to the needs of applications in navigation, tourism, sustainability, and inclusive services. Its emphasis on data accuracy and inclusivity makes it an essential tool for creating user-friendly and practical solutions.

API Documentation

Endpoints


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 (45.4215).

Indicates a longitude. For example (-75.6972).



                                                                            
GET https://zylalabs.com/api/5607/canada+restrooms+api/7285/restrooms+by+coordinates
                                                                            
                                                                        

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
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"id":3114,"name":"World Exchange Centre","street":"111 Albert Street","city":"Ottawa","state":"ON","accessible":true,"unisex":true,"directions":"first floor ","comment":null,"latitude":45.4207502,"longitude":-75.6954252,"created_at":"2014-02-02T20:53:32.889Z","updated_at":"2014-02-02T20:53:32.889Z","downvote":1,"upvote":1,"country":"CA","changing_table":false,"edit_id":3114,"approved":true,"distance":0.10045909050216603,"bearing":"112.902605927668"},{"id":22076,"name":"Ottawa Public Library Main Branch","street":"120 Metcalfe St.","city":"Ottawa","state":"Ontario","accessible":true,"unisex":true,"directions":"In the basement","comment":"","latitude":45.42037029999999,"longitude":-75.6954949,"created_at":"2016-05-14T19:31:57.804Z","updated_at":"2016-05-14T19:31:57.804Z","downvote":0,"upvote":0,"country":"CA","changing_table":false,"edit_id":22076,"approved":true,"distance":0.11371145579027934,"bearing":"123.526137080817"},{"id":34743,"name":"Starbucks ","street":"124 O'Connor","city":"Ottawa","state":"Ontario","accessible":true,"unisex":true,"directions":"","comment":"","latitude":45.4193979,"longitude":-75.69745420000001,"created_at":"2017-05-02T13:58:59.689Z","updated_at":"2017-05-02T13:58:59.689Z","downvote":0,"upvote":0,"country":"CA","changing_table":false,"edit_id":34743,"approved":true,"distance":0.1457633198526277,"bearing":"186.895109539063"},{"id":22936,"name":"Bridgehead Wellington","street":"1024 Wellington St","city":"Ottawa","state":"ON","accessible":true,"unisex":true,"directions":"","comment":"","latitude":45.4237451,"longitude":-75.6974208,"created_at":"2016-06-14T03:32:04.967Z","updated_at":"2016-06-14T03:32:04.967Z","downvote":0,"upvote":0,"country":"CA","changing_table":false,"edit_id":22936,"approved":true,"distance":0.15549054215477126,"bearing":"354.383165256045"},{"id":4104,"name":"Bridgehead ","street":"109 Bank Street","city":"Ottawa","state":"ON","accessible":false,"unisex":true,"directions":null,"comment":null,"latitude":45.4199243,"longitude":-75.70019669999999,"created_at":"2014-02-02T20:55:09.560Z","updated_at":"2014-02-02T20:55:09.560Z","downvote":1,"upvote":0,"country":"CA","changing_table":false,"edit_id":4104,"approved":true,"distance":0.181585330955017,"bearing":"242.264080027176"},{"id":46021,"name":"NAC","street":"1 elgin street ","city":"Ottawa","state":"On","accessible":true,"unisex":false,"directions":"Downstairs near southam hall","comment":"","latitude":45.4231893,"longitude":-75.6939477,"created_at":"2018-11-23T00:24:24.684Z","updated_at":"2018-11-23T00:24:24.860Z","downvote":0,"upvote":0,"country":"CA","changing_table":true,"edit_id":46021,"approved":true,"distance":0.19621160223385692,"bearing":"62.551867011929"},{"id":51658,"name":"240 Sparks","street":"235 Queen St","city":"Ottawa","state":"Ontario ","accessible":true,"unisex":true,"directions":"Far end of the building, in the food court, lower level (C1)","comment":"240 Sparks and 235 Queen are the same building","latitude":45.4204168,"longitude":-75.7018016,"created_at":"2019-08-07T17:42:33.590Z","updated_at":"2019-08-07T17:42:33.717Z","downvote":0,"upvote":1,"country":"CA","changing_table":true,"edit_id":51658,"approved":true,"distance":0.2353752704486376,"bearing":"256.753928191745"},{"id":26101,"name":"Ottawa City Hall","street":"110 Laurier West","city":"Ottawa","state":"Ontario","accessible":true,"unisex":true,"directions":"Downstairs outside of Service Ontario","comment":"","latitude":45.421458,"longitude":-75.691738,"created_at":"2016-11-08T18:51:23.089Z","updated_at":"2016-11-08T18:51:23.089Z","downvote":0,"upvote":1,"country":"CA","changing_table":false,"edit_id":26101,"approved":true,"distance":0.2648990942405799,"bearing":"90.440566678738"},{"id":585,"name":"Carleton University","street":"Carleton University Campus","city":"Ottawa","state":"ON","accessible":false,"unisex":true,"directions":"4th floor unicentre across from the GLBT centre.","comment":"3rd floor Loeb building in tower A ","latitude":45.42178,"longitude":-75.691184,"created_at":"2014-02-02T20:49:49.420Z","updated_at":"2014-02-02T20:49:49.420Z","downvote":1,"upvote":1,"country":"CA","changing_table":false,"edit_id":585,"approved":true,"distance":0.2923896786264606,"bearing":"87.335231153182"},{"id":24324,"name":"Venus Envy Ottawa","street":"226 Bank St.","city":"Ottawa","state":"Ontario","accessible":true,"unisex":true,"directions":"Wheelchair accessible store (push activated door). Straight to back of the shop, last door on the right. Menstrual products under the sink.","comment":"This is an education-based sex shop that serves many communities, including trans, Two-Spirit, and gender diverse people. It is open to all ages.","latitude":45.4168931,"longitude":-75.6978506,"created_at":"2016-07-28T15:47:39.508Z","updated_at":"2016-07-28T15:47:39.508Z","downvote":0,"upvote":1,"country":"CA","changing_table":false,"edit_id":24324,"approved":true,"distance":0.3198660573320395,"bearing":"188.038321665264"}]
                                                                                                                                                                                                                    
                                                                                                    

Restrooms by Coordinates - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5607/canada+restrooms+api/7285/restrooms+by+coordinates?page=Required&lat=Required&lng=Required' --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 Canada Restrooms 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
  • Specialized Customer Support
  • Real-Time API Monitoring

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

To use this API, users must indicate a page, number of results to receive, coordinates or locations.

The Canada 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.

Canada 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
9,558ms

Category:


Related APIs