Places API

Public Bath API

The Public Bath API returns about 7,116 mapped facilities for communal bathing that are open to the public. Built from OpenStreetMap data, records include coordinates, place tags, and, where available, names, opening hours, nearby population estimates, and elevation. Use the data to map facilities, study access, or build location-based services.

Japan, Sweden · JSON, GeoJSON, CSV, Parquet

POSThttps://api.outerview.ai/v1/stream
curl https://api.outerview.ai/v1/stream \
  -X POST \
  -H "Authorization: Bearer $OUTERVIEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "public bath",
    "region_id": "18246",
    "limit": 50
  }'

Key facts

  • The Public Bath API contains about 7,116 records.
  • Japan accounts for 41.4% of the public bath records.
  • Sweden accounts for 8.5% of the records.
  • Coordinates are present for 100% of records.

Quick start

  1. 1. Create an account and generate an API key on the developer platform.
  2. 2. Send it as a Bearer token in the Authorization header.
  3. 3. Query by place, radius or date (the example searches Guaratuba).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/public-bath/download?format=geojson

Add &region_slug=… to limit to one place. Formats: csv, geojson, parquet.

Sample records

Real records from the data, trimmed to the main fields.

10 records
NameCountryAddressWebsiteHoursWheelchairLatitudeLongitude
НефтяникRussia————61.2584773.36865
帥王溫泉大飯店Taiwan1 公園路 宜蘭縣 262 TWhttp://www.baronhotel.com.tw/——24.82969121.77623
ЛотосRussia——24/7—56.1275147.34506
KeenSwitzerland27 Viaduktstrasse Zürich 8005https://www.keenwellbeing.com/Mo-Fr 11:00-19:00; Sa 10:00-18:00limited47.387258.52496
SandviksbadetSweden——24/7—59.4057517.76315
Gold SpaTurkey————36.5771330.58183
Maya Vita SpaBulgaria111 бул. Княз Борис I Варна 9000https://dimyat.rosslyn-hotels.com/Mo-Su 07:00-22:00—43.2097527.92871
Public Bath Rose PlaceSaint Vincent And The Grenadines——24/7—13.15666-61.22994
Царевна-лягушкаKyrgyzstan——24/7no42.3787878.59842
Ласточкино гнездоKyrgyzstan——24/7no42.3789578.59774

Overview

This API covers public facilities for communal bathing, including places represented in OpenStreetMap. It is useful for developers, mapping teams, travel services, and researchers working with bathing locations.

The source is OpenStreetMap contributors, under the ODbL. Records contain mapped location data and available descriptive tags.

Coverage

The dataset contains about 7,116 public bath records worldwide. Japan accounts for 41.4% of records, followed by Sweden at 8.5%, China at 4.9%, Russia at 4.3%, and South Korea at 4.2%.

Japanese coverage includes Kumamoto Prefecture, with 2.9% of records, and Hokkaidō and Aichi prefectures, each with 2.8%. Coverage reflects what is mapped in OpenStreetMap.

Fields

Every record includes latitude and longitude, OpenStreetMap properties (the tags recorded for the place), and a source dataset value. Names are present for 75% of records.

Opening hours in OpenStreetMap format are available for 23% of records. Additional fields include estimated population within 1 km for 98% of records and elevation in metres for 96%.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • nameName of the place
  • opening_hoursOpening hours (OpenStreetMap format)
  • ghsl_pop_1km_2020How many people live here (people)
  • elevation_mHeight above sea level (m)

Queries

Filter by region, radius, date, or selected fields where supported. These options help narrow results to a location or the attributes your application needs; date filtering depends on the available query options and data.

Use streaming for live queries and bulk downloads for whole datasets. Available export formats are JSON, GeoJSON, CSV, and Parquet.

Use cases

Build maps and directories of public bathing facilities, including locations in Japan, which contains 41.4% of the records.

Help travelers find nearby baths using coordinates and available names or opening hours.

Compare mapped facility locations with the estimated population within 1 km to study local access.

Add public bath locations to geographic information systems using GeoJSON or CSV exports.

Analyze facility distribution alongside elevation data, available for 96% of records.

Pricing

Access the data in JSON, GeoJSON, CSV, or Parquet with an API key. A free tier is available for evaluation and smaller workloads.

Paid plans provide higher limits and bulk downloads for whole datasets. Prices are not stated here.

Frequently asked questions

Is there an API for public bath locations in Japan?

Yes. The Public Bath API includes mapped facilities in Japan, which accounts for 41.4% of its approximately 7,116 records. Records provide coordinates and OpenStreetMap tags, with names and other details available when mapped.

How many public bath locations does the API contain?

The API contains about 7,116 public bath records. The dataset is based on OpenStreetMap, so coverage and facility details depend on what contributors have mapped.

What fields does the Public Bath API return?

Each record includes latitude, longitude, OpenStreetMap properties, and a source dataset value. Names are available for 75% of records, opening hours for 23%, estimated population within 1 km for 98%, and elevation for 96%.

Can I filter public baths by location or radius?

You can use geographic filters such as region and radius where supported by the query options. Coordinates are present for all records, allowing mapped facilities to be located and used in geographic applications.

How often is the public bath data updated?

The data comes from OpenStreetMap, but an update frequency is not specified here. Check the dataset information before relying on a particular refresh schedule for an application or analysis.

Does the API include opening hours for public baths?

Opening hours are available for 23% of records and use the OpenStreetMap format. Coverage is incomplete, so applications should treat missing opening-hours values as unknown rather than assuming a facility is closed.

What formats are available for public bath data?

The data is available in JSON, GeoJSON, CSV, and Parquet. GeoJSON is suitable for geographic workflows, while CSV and Parquet can be used for tabular analysis and bulk data processing.

Where is the Public Bath API data sourced from?

The records are sourced from OpenStreetMap contributors and are provided under the ODbL. The API represents mapped public bathing facilities; the completeness of place details varies across records.

Start building with the Public Bath API

Free to try. Paid plans raise limits and unlock bulk downloads.