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. 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.
Bulk download
GET https://api.outerview.ai/api/v1/beacon/bars/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 | Address | Country | Cuisine | Website | Hours | Brand | Wheelchair | Latitude |
|---|---|---|---|---|---|---|---|---|
| На Невском 12 | 185005 | Russia | friture;chicken;burger;coffee_shop;fish_and_chips;sushi;sandwich;pizza;italian_pizza | https://vk.com/nanevskom24 | 24/7 | — | — | 61.78369 |
| Sbar Marrakech | Rue Ibn Atya Marrakech 40000 | Morocco | — | — | — | — | — | 31.63213 |
| MAXIMUM BAR VIP | — | Togo | — | — | 24/7 | — | — | 6.15219 |
| Tennis Club Vacallo | — | Switzerland | — | https://www.tennisvacallo.ch/ | — | — | — | 45.84282 |
| Tennis Club Brusino Arsizio | Brusino Arsizio 6827 CH | Switzerland | — | https://www.tennisbrusino.ch/ | — | — | — | 45.92144 |
| Reggae Bar | — | Uganda | — | — | 24/7 | — | — | 0.29857 |
| Best Western Premier Hotel Slon | 34 Slovenska cesta Ljubljana 1000 | Slovenia | — | http://www.hotelslon.com | 24/7 | Best Western Premier | yes | 46.05256 |
| Вояж | — | Russia | — | — | 24/7 | — | — | 56.10478 |
| R1-Bar | — | Switzerland | — | — | 24/7 | — | — | 47.22623 |
| Заходи | — | Russia | — | — | 24/7 | — | limited | 56.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.
latLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetnameName of the placeopening_hoursOpening hours (OpenStreetMap format)addressStreet addressghsl_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.