Baños API

Proporciona datos detallados sobre baños públicos, incluyendo ubicación, accesibilidad, características, votación y distancias, para búsquedas precisas.

Acerca de la API:  

La API de baños públicos es una solución avanzada diseñada para proporcionar información completa y actualizada sobre baños públicos en diversas ubicaciones. Su principal objetivo es mejorar la accesibilidad y conveniencia de los usuarios al buscar instalaciones adecuadas de baño en cualquier entorno.

La API proporciona acceso a datos detallados que incluyen información sobre la ubicación, accesibilidad para personas con discapacidad, disponibilidad de baños unisex y calificaciones basadas en comentarios positivos y negativos. También ofrece datos precisos sobre coordenadas geográficas, distancias relativas y orientaciones, lo que facilita la integración en aplicaciones que requieren funcionalidad basada en geolocalización.

La API está diseñada para ser flexible y escalable, adaptándose a las necesidades de los usuarios de aplicaciones de navegación, turismo, sostenibilidad y servicios inclusivos. Su enfoque en la precisión de los datos y la inclusividad la convierte en una herramienta valiosa para crear soluciones prácticas centradas en el usuario.

Documentación de la API

Endpoints


Para usar este endpoint debes especificar.

page = indica un valor de página. Por ejemplo: 1.

ada = indica si los valores devueltos son baños que cumplen con las normas de accesibilidad ADA para personas con discapacidades. Por ejemplo (0 o 1) este parámetro es opcional.

unisex = indica si los baños a recibir son unisex. Por ejemplo (verdadero o falso) este parámetro es opcional.

Indica una latitud. Por ejemplo (36.7783).

Indica una longitud. Por ejemplo (-119.4179).

 

Nota: ADA (Ley de estadounidenses con discapacidades) es una legislación que requiere que los baños públicos sean accesibles para personas con discapacidades. Esto incluye características como puertas anchas, barras de apoyo y suficiente espacio para sillas de ruedas, garantizando la inclusión.



                                                                            
GET https://zylalabs.com/api/5604/restrooms+api/7279/restrooms+by+coordinates
                                                                            
                                                                        

Baños por Coordenadas - Características del Endpoint

Objeto Descripción
page [Requerido] Indicates a page value
ada Opcional Indicates if you wish to receive ADA compliant restrooms.
unisex Opcional Indicate if you wish to receive unisex bathrooms
lat [Requerido] Indicates a latitude
lng [Requerido] Indicates a longitude
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            [{"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"}]
                                                                                                                                                                                                                    
                                                                                                    

Restrooms by Coordinates - CÓDIGOS DE EJEMPLO


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' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Baños API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10,000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Baños API FAQs

Para usar esta API, los usuarios deben indicar una página, el número de resultados a recibir, coordenadas o ubicaciones.

La API de Baños Públicos proporciona información detallada sobre los baños públicos, incluyendo ubicación, accesibilidad, características y comentarios de los usuarios, para mejorar la conveniencia del usuario.

Hay diferentes planes para todos los gustos, incluyendo una prueba gratuita para un pequeño número de solicitudes, pero tu tarifa está limitada para evitar el abuso del servicio.

La API utiliza claves de API para la autenticación. Para acceder a la API, incluye tu clave de API en el encabezado de la solicitud. La clave de API se proporciona al registrarse y debe mantenerse segura.

Una API de baños ayuda a integrar datos sobre baños basados en la ubicación en aplicaciones, mejorando la accesibilidad, la conveniencia y la experiencia del usuario para encontrar instalaciones cercanas.

Cada punto final devuelve información detallada sobre los baños públicos, incluyendo la ubicación, las características de accesibilidad, las calificaciones de los usuarios y las coordenadas geográficas. Por ejemplo, la respuesta incluye campos como nombre, dirección, estado de accesibilidad y comentarios de los usuarios.

Los campos clave en los datos de respuesta incluyen "id," "nombre," "accesible," "unisex," "latitud," "longitud," "direcciones" y métricas de retroalimentación del usuario como "voto positivo" y "voto negativo." Estos campos proporcionan información esencial para localizar y evaluar los baños.

Los usuarios pueden personalizar sus solicitudes utilizando parámetros como "page" para la paginación, "ada" para filtrar los baños accesibles para personas con discapacidad, "unisex" para especificar el tipo de baño y coordenadas geográficas (latitud y longitud) para búsquedas basadas en la ubicación.

Los datos de respuesta están estructurados como un array JSON de objetos de baño. Cada objeto contiene varios campos que detallan los atributos del baño, como la ubicación, la accesibilidad y las valoraciones de los usuarios, lo que facilita su análisis y uso en aplicaciones.

Los datos se obtienen de las contribuciones de los usuarios y de bases de datos verificadas para garantizar la precisión. Las actualizaciones regulares y la retroalimentación de la comunidad ayudan a mantener la calidad y la confiabilidad de la información sobre los baños proporcionada por la API.

Los casos de uso típicos incluyen la integración de servicios de ubicación de baños en aplicaciones de navegación, la mejora de aplicaciones turísticas con características de accesibilidad a baños, y el desarrollo de servicios inclusivos para personas con discapacidades que buscan instalaciones cercanas.

Los usuarios pueden aprovechar los datos devueltos para mostrar las ubicaciones de los baños en los mapas, filtrar resultados según las necesidades de accesibilidad y proporcionar a los usuarios direcciones e información adicional, mejorando la experiencia general del usuario al encontrar instalaciones adecuadas.

Si la API devuelve resultados parciales o vacíos, los usuarios deben implementar un manejo de errores para notificar a los usuarios sobre los baños no disponibles. También pueden sugerir alternativas cercanas o invitar a los usuarios a refinar sus parámetros de búsqueda para obtener mejores resultados.

General FAQs

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, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.

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 3,600, it means 3,600 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 give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

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 free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


APIs Relacionadas


También te puede interesar