List the toilets in a map area
Use this to fill a map: all toilets in a box, the ones nearest to its centre first. Use /api/v1/toilets/nearest to find the toilet nearest to a person. A map asks for a new box after each move, so this endpoint has its own limit of 300 requests per minute per IP.
Request
- Base URL: https://wcway.com
- URL: https://wcway.com/api/v1/toilets
- Auth: none required
Query parameters
West, south, east and north in decimal degrees (WGS84). West is less than east. Each side is at most 0.2 degrees. A larger box can get status 400.
Drop toilets that are closed now. Toilets with unknown hours stay in the list and show open_now unknown.
Only wheelchair-accessible toilets.
Only toilets with a changing table.
Only toilets known to be free of charge.
Only toilets that need no purchase: public, permissive or scheme access.
Response
The toilets in the box. A cache may keep the answer for 5 minutes.
Example response
{
"results": [
{
"id": "lt_01J9ZQ"
}
],
"attribution": {
"text": "© OpenStreetMap contributors",
"license": "ODbL-1.0"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.