Places API

Cafe API

The Cafe API returns OpenStreetMap cafe locations and place details, covering about 539,000 records worldwide. Records include coordinates, names, addresses, opening hours where available, and surrounding-area attributes such as population, flood risk, and land use. Developers can use the data to build location tools, analyze cafe coverage, and enrich place-based applications.

United Kingdom, Canada · 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": "cafe",
    "region_id": "128596",
    "limit": 50
  }'

Key facts

  • The Cafe API covers about 539,000 records worldwide.
  • The United Kingdom accounts for 35.8% of cafe records.
  • Canada accounts for 21.9% of cafe records.
  • Greater London accounts for 3.1% of records.
  • Coordinates are filled 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 Greater London).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/cafe/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
NameCountryCityAddressCuisineHoursBrandWebsiteLatitude
Ananás Café & BakeryUnited States——————18.40496
Boba & MeUnited StatesThousand Oaks709 North Wendy Drive, Newbury Park, CA, Thousand Oaks, 91320, USbubble_tea———34.18843
La EkekaArgentina—Belgrano—Mo-Su 08:00-23:00——-23.57693
Café SagradoUnited States——————18.44166
Casa do Pão de QueijoBrazilRio de JaneiroAvenida Vinte de Janeiro Rio de Janeirocoffee_shop—Casa do Pão de Queijo—-22.81178
DolcissimoBrazilSão PauloAvenida Washington Luís São Paulo————-23.62573
SOBAO By Los CindresUnited States——coffee_shop———18.44202
Espresso Cafe Loung BarEcuador——————-2.45258
StarbucksUnited States—Avenida Luis Vigoreaux Rivera Guaynabo PR 00966coffee_shop—Starbuckshttps://www.starbucks.co.uk/store-locator/29406-253678/garden-hills18.40002
La Triple BPeruCarhuazLa Merced Carhuaz 02127regional———-9.28104

Cafe location data for maps and research

This dataset represents casual places serving coffee, drinks, and light food, typically with tables, chairs, and a counter. It is sourced from OpenStreetMap contributors under the ODbL.

Developers, analysts, and data buyers can use cafe locations and their associated place attributes for mapping, location analysis, and business research.

Global coverage with major markets in the UK and North America

The dataset contains about 539,000 records across countries. The United Kingdom accounts for 35.8%, Canada 21.9%, and the United States 21.4%.

City coverage includes Greater London, Vancouver, Calgary, Leeds, and Montréal. The dataset also includes places such as Manchester, Edinburgh, and Victoria.

Coordinates, place details, and local context

Each record includes latitude, longitude, OpenStreetMap properties, source, settlement class, and nearby context such as population within 1 km and flood zone. Coordinates and properties are filled for all records; names are available for 95% and addresses for 83%.

Optional details include opening hours, website, brand, land-use categories, climate group, median household income, median home value, and tree canopy percentage. Availability varies: opening hours are filled for 29% of records, while climate group is filled for 98%.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • nameName of the place
  • addressStreet address
  • opening_hoursOpening hours (OpenStreetMap format)
  • websiteWebsite
  • brandBrand or chain
  • settlement_classCity, town or countryside
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • climate_groupClimate group
  • land_use_categoriesLand use
  • acs_median_household_income_usdTypical household income (USD (2024 dollars))
  • acs_median_home_value_usdTypical home value (USD)
  • nlcd_tree_canopy_pctTree cover (%)

Filter by location, date, and fields

Filter cafe records by region or radius, set a date range where applicable, and select the fields you need. Stream queries for live use or download the whole dataset in bulk.

Available formats are JSON, GeoJSON, CSV, and Parquet. Access requires an API key.

What developers build with cafe data

Use cafe locations to power map search and nearby-place discovery, compare cafe coverage between cities, or identify underserved areas.

Combine addresses, opening hours, and websites for local business directories. Use population, land use, income, home value, and tree canopy attributes for site analysis and neighborhood research.

Formats and access options

Access the Cafe API with an API key and choose JSON, GeoJSON, CSV, or Parquet for your workflow.

A free tier is available. Paid plans support higher limits and bulk downloads; pricing is not stated here.

Frequently asked questions

Is there an API for cafe locations?

Yes. The Cafe API provides OpenStreetMap cafe locations and place details, with about 539,000 records worldwide. Records can include coordinates, names, addresses, opening hours, and local context such as population and flood risk.

Does the Cafe API include cafes in the United States?

Yes. The dataset includes the United States, which accounts for 21.4% of records. Coverage includes cities and regions across the country, with cafe coordinates and other available OpenStreetMap place details.

What fields does the Cafe API return?

Records include latitude, longitude, OpenStreetMap properties, source, and settlement class. Depending on the record, fields can also include name, address, opening hours, website, brand, land use, population, flood zone, climate group, and neighborhood attributes.

How complete are cafe names and addresses?

Names are filled for 95% of records, and addresses for 83%. Coordinates and OpenStreetMap properties are present for all records. Other details, including opening hours and websites, have varying coverage.

Can I filter cafes by location or radius?

Yes. The query options include filtering by region or radius, along with selecting fields and setting a date range where applicable. This supports tasks such as finding nearby cafes or retrieving records for a particular area.

Does the Cafe API include opening hours and websites?

Yes, when those details are present in the source data. Opening hours are filled for 29% of records, and websites for 26%. Opening hours use the OpenStreetMap format, so availability and detail can vary by place.

What formats are available for cafe data?

The Cafe API offers JSON, GeoJSON, CSV, and Parquet. These formats support application queries, geospatial workflows, tabular analysis, and data processing. Bulk downloads are available through paid plans.

How often is the cafe data updated?

An update frequency is not specified here. The dataset is sourced from OpenStreetMap contributors, and individual records reflect the information available in that source. Check the API documentation for current update details before relying on a particular refresh schedule.

Start building with the Cafe API

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