Key facts
- The Public Toilet API contains about 470,000 records worldwide.
- The United States accounts for 14.7% of records; Malawi accounts for 11.7%.
- Opening hours are present in 37% of records.
- Nearby population within one kilometre is available for 92% of records.
Quick start
- 1. Create an account and generate an API key on the developer platform.
- 2. Send it as a Bearer token in the
Authorizationheader. - 3. Query by place, radius or date (the example searches Paris).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/toilets/download?format=geojsonAdd ®ion_slug=… to limit to one place. Formats: csv, geojson, parquet.
Sample records
Real records from the data, trimmed to the main fields.
| Name | Country | Hours | Wheelchair | Address | Latitude | Longitude |
|---|---|---|---|---|---|---|
| Baño Público | Cuba | 24/7 | — | — | 22.14807 | -80.44816 |
| 公廁 | Taiwan | 24/7 | — | — | 23.8343 | 120.86569 |
| 자구네 해적 잠수함 | Korea South | 24/7 | no | — | 33.30752 | 126.16404 |
| 금등소공원 | Korea South | 24/7 | no | — | 33.36094 | 126.19164 |
| 구좌공설묘지 | Korea South | 24/7 | no | — | 33.45535 | 126.79834 |
| Hardplatz | Switzerland | 24/7 | no | — | 47.38274 | 8.51493 |
| Kuutin WC | Finland | 24/7 | yes | — | 61.17402 | 26.86671 |
| Tervajärvi P | Finland | 24/7 | yes | — | 61.15608 | 26.886 |
| Klopstockwiese | Switzerland | 24/7 | no | — | 47.36127 | 8.52507 |
| Minden Place Toilets | Jersey | 24/7 | designated | Minden Street | 49.18611 | -2.10317 |
Overview
This API covers mapped toilet and restroom facilities available for public use, subject to local access conditions. The data comes from OpenStreetMap contributors and is useful for developers building public amenity maps, travel tools and location services.
Records reflect mapped information, so access rules and facility details can vary by place. OpenStreetMap data is provided under the ODbL.
Global coverage
The dataset contains about 470,000 records worldwide. The United States accounts for 14.7% of records, Malawi 11.7%, and Tanzania 5.7%.
Coverage includes cities such as Paris, Melbourne, Sydney, Houston and New York City. Among listed regions, Minnesota has 9.4% of records and New South Wales has 2.4%.
Fields in each record
Every record includes latitude, longitude, the source dataset and properties containing OpenStreetMap tags. These tags can include a facility name, country, wheelchair access and other mapped details, as shown in sample records.
Opening hours are present in 37% of records and street address in 23%. The dataset also includes nearby population within one kilometre for 92% of records and elevation for 91%.
latLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetopening_hoursOpening hours (OpenStreetMap format)addressStreet addressghsl_pop_1km_2020How many people live here (people)elevation_mHeight above sea level (m)
Filter and retrieve toilet locations
Filter records by region or radius to find facilities near a place, and select fields relevant to your application. Date filters can be used for date-based queries where applicable; the records describe mapped facilities rather than a dated event stream.
Use streaming for live queries or bulk download when you need a whole dataset. Available formats are JSON, GeoJSON, CSV and Parquet.
What developers build with public toilet data
Build restroom-finder maps for residents and visitors, or add nearby toilet search to travel and navigation products. Use mapped opening hours and wheelchair tags to help users assess facilities before visiting.
Analyze public amenity coverage across cities and regions, combine locations with population and elevation for planning, or create datasets for civic research and accessibility projects.
Access and pricing
The data is available in JSON, GeoJSON, CSV and Parquet. An API key is used for access, with a free tier for getting started and paid plans for higher limits and bulk downloads.
No prices are stated here. The underlying mapped data is sourced from OpenStreetMap contributors under the ODbL.
Frequently asked questions
Is there an API for public toilets near me?
Yes. The Public Toilet API provides mapped restroom locations that can be searched by region or radius. Records include latitude and longitude, plus OpenStreetMap tags that may describe details such as opening hours and wheelchair access.
How many public toilet locations are in the API?
The API contains about 470,000 mapped public toilet records worldwide. Coverage varies by region; the United States accounts for 14.7% of records and Malawi accounts for 11.7%.
Which countries and cities does the Public Toilet API cover?
The data has global coverage, with records in countries including the United States, Malawi, Tanzania, Sweden and Australia. Listed cities include Paris, Melbourne, Sydney, New York City and Montréal.
What fields does the Public Toilet API return?
Records include latitude, longitude, source and OpenStreetMap properties. Depending on the record, they may also include opening hours, street address, nearby population and elevation. Properties can contain tags such as facility name or wheelchair access.
Does the toilet API include opening hours and wheelchair access?
Opening hours are available for 37% of records. Wheelchair access may appear among the OpenStreetMap tags in properties, but its availability is not specified for the dataset as a whole.
Can I filter public toilets by city or radius?
Yes. You can filter by region or radius to find facilities in a city or around a location. Select the fields your application needs, such as coordinates, opening hours or address when present.
How often is the public toilet data updated?
A specific update frequency is not provided. The records come from OpenStreetMap contributors, so mapped information and facility details can vary as that source changes.
Can I download the whole public toilet dataset?
Yes. Bulk downloads are available for whole-dataset use, alongside streaming for live queries. Supported formats are JSON, GeoJSON, CSV and Parquet.
Start building with the Public Toilet API
Free to try. Paid plans raise limits and unlock bulk downloads.