Places API

Bars API

The Bars API returns about 286,000 OpenStreetMap records for mapped bars and related features worldwide. Records include coordinates and OpenStreetMap tags, with names available for most entries and opening hours and addresses for many. Use the data to explore mapped features by place or location and retrieve it in JSON, GeoJSON, CSV or Parquet.

Russia, Czech Republic · 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": "bars",
    "limit": 50
  }'

Key facts

  • The Bars API contains about 286,000 records.
  • Russia accounts for 5.9% of records, the largest listed country share.
  • Japan accounts for 5.2% of records.
  • Names are present in 92% of records.
  • Addresses are present in 55% 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.

Bulk download

GET https://api.outerview.ai/api/v1/beacon/bars/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
NameAddressCountryCuisineWebsiteHoursBrandWheelchairLatitude
На Невском 12185005Russiafriture;chicken;burger;coffee_shop;fish_and_chips;sushi;sandwich;pizza;italian_pizzahttps://vk.com/nanevskom2424/7——61.78369
Sbar MarrakechRue Ibn Atya Marrakech 40000Morocco—————31.63213
MAXIMUM BAR VIP—Togo——24/7——6.15219
Tennis Club Vacallo—Switzerland—https://www.tennisvacallo.ch/———45.84282
Tennis Club Brusino ArsizioBrusino Arsizio 6827 CHSwitzerland—https://www.tennisbrusino.ch/———45.92144
Reggae Bar—Uganda——24/7——0.29857
Best Western Premier Hotel Slon34 Slovenska cesta Ljubljana 1000Slovenia—http://www.hotelslon.com24/7Best Western Premieryes46.05256
Вояж—Russia——24/7——56.10478
R1-Bar—Switzerland——24/7——47.22623
Заходи—Russia——24/7—limited56.10136

Overview

The Bars API provides OpenStreetMap records categorized as bars, with location data and tags contributed by OpenStreetMap contributors. The records can support mapping, geographic research and data enrichment.

The dataset contains about 286,000 records. Its tags and optional descriptive fields vary by record, so applications can work with the attributes that are present rather than assuming every entry has the same details.

Coverage

The dataset spans countries worldwide. Russia accounts for 5.9% of records, Czech Republic 5.3%, Japan 5.2%, Switzerland 5.1% and Portugal 4.9%.

Other represented countries include Greece, Bulgaria and Argentina. The coverage facts also identify regions such as Bangkok, Phnom Penh, Tel Aviv District and the Autonomous City of Buenos Aires.

Fields

Each record can include latitude and longitude, OpenStreetMap properties, source dataset and a name. Coordinates, properties and source are present in all records; names are present in 92%.

Additional fields include opening hours in OpenStreetMap format (78% filled), street address (55%), nearby population within 1 km (98%) and elevation in metres (96%). Other OpenStreetMap tags may appear in properties, as illustrated by sample records with website, brand, cuisine or wheelchair information.

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

Queries

Filter records by region, radius, date or selected fields to focus results on a place, area or subset of attributes. Stream results for live queries, or use a bulk download when you need a whole dataset.

Available output formats are JSON, GeoJSON, CSV and Parquet. An API key is used for access; a free tier is available, with paid plans for higher limits and bulk downloads.

Use cases

Build maps of OpenStreetMap bar records and compare their geographic distribution across countries or regions.

Enrich location datasets with names, coordinates, addresses and opening-hour details where those fields are available.

Study the relationship between mapped bars, nearby population and elevation for geographic analysis.

Create regional extracts for mapping applications, location research or data quality review.

Use OpenStreetMap tags to explore additional attributes attached to individual records.

Access and pricing

The API provides JSON, GeoJSON, CSV and Parquet formats and requires an API key. A free tier is available for getting started.

Paid plans support higher limits and bulk downloads for users working with larger data needs. Prices are not stated here.

Frequently asked questions

Is there an API for bar data from OpenStreetMap?

Yes. The Bars API provides about 286,000 OpenStreetMap records categorized as bars, including coordinates and map tags. Records may also include names, opening hours and addresses. Coverage includes countries such as Russia, Japan and Switzerland.

How many records are in the Bars API?

The Bars API contains about 286,000 records. This is an approximate dataset size, and individual records have different levels of detail: names are present in 92% of records, while addresses are present in 55%.

Which countries does the Bars API cover?

The dataset includes records across countries worldwide. Russia has the largest listed share at 5.9%, followed by the Czech Republic at 5.3%, Japan at 5.2%, Switzerland at 5.1% and Portugal at 4.9%.

What fields does the Bars API return?

Records include latitude, longitude, OpenStreetMap properties and source dataset. Many also include a name, opening hours, address, nearby population and elevation. Other tags may appear in the properties, including details such as website or wheelchair access.

Can I filter Bars API data by region or radius?

Yes. You can filter records by region or radius to focus on a geographic area, and select fields to limit the attributes returned. The dataset includes locations in countries such as Russia, Japan and Argentina.

Does the Bars API include opening hours and addresses?

Yes, when those details are present in OpenStreetMap. Opening hours are available for 78% of records, and addresses for 55%. Opening hours use OpenStreetMap format, so availability and detail vary by record.

What formats are available for Bars API data?

The available formats are JSON, GeoJSON, CSV and Parquet. These options support application queries as well as geographic and tabular data workflows.

How do I access the Bars API and get a bulk download?

Access requires an API key. A free tier is available, and paid plans support higher limits and bulk downloads for whole datasets. The API offers JSON, GeoJSON, CSV and Parquet formats.

Start building with the Bars API

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