Places API

Pastry API

The Pastry API returns location data for about 30,000 places associated with pastries, from cake shops to pastry businesses, worldwide. Records include coordinates and OpenStreetMap tags, with coverage concentrated in Italy, France, and Spain. Use the data for mapping, market research, and location analysis, and retrieve it in common structured formats.

Italy, France · 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": "pastry",
    "region_id": "59933",
    "limit": 50
  }'

Key facts

  • The Pastry API contains about 30,000 records worldwide.
  • Italy accounts for 56.1% of pastry records.
  • France accounts for 14.4% of records, and Spain accounts for 10.3%.
  • Rome accounts for 4.6% of records.
  • Names are available for 81% 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 Rome).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/pastry/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
NameCountryAddressBrandLatitudeLongitude
Carmella Cake ShopIndia——18.523173.61375
Kekiz The Cake ShopIndiaSinhagad Road Pune 411051—18.4804673.82636
Midnight KakeryIndia——18.501873.80912
Cherry's cake by RupaliIndiaUttamnagar road Bavdhan Budruk 411021—18.5220373.76477
Ribbons & BalloonsIndia——18.5055173.82505
MonginisIndia——18.5402573.794
Moolchand Mithai shopIndiaSenapati Bapat Road—18.540773.83062
Cake ChoiceIndia——18.5740973.68822
KekizIndia——18.5792473.73608
TheobromaIndia—Theobroma18.5875273.70108

Overview

The Pastry API provides OpenStreetMap-sourced records for places associated with pastries, including businesses such as cake shops. It is designed for developers, data buyers, and analysts working with food retail locations.

Each record includes coordinates and available place tags, with additional context such as settlement class, population, flood risk, climate, and land use. Names and addresses are present where available.

Coverage

The dataset contains about 30,000 records worldwide. Italy accounts for 56.1% of records, followed by France at 14.4% and Spain at 10.3%; Tunisia accounts for 4.1%.

Coverage includes cities such as Rome, Barcelona, Napoli, Toulouse, and Firenze. Among listed regions, Cataluña/Catalunya has 9% of records, while Occitanie, Lazio, and Toscana each have 7.5%.

Fields

Records include lat and lng coordinates, properties containing OpenStreetMap tags, source, name, address, and settlement_class, which classifies a place as a city, town, or countryside. Coordinates, properties, source, and settlement_class are filled for all records; name is filled for 81% and address for 20%.

Environmental and geographic context includes ghsl_pop_1km_2020, the population living nearby; flood_zone; climate_group; and land_use_categories. These fields are filled for all records except climate_group at 99% and land_use_categories at 60%.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • nameName of the place
  • addressStreet address
  • settlement_classCity, town or countryside
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • climate_groupClimate group
  • land_use_categoriesLand use

Queries

Filter records by region, radius, or selected fields to focus on locations relevant to your analysis. The listed fields do not include a date, so the data schema does not provide a date field for date-based filtering.

Use streaming for live query workflows or bulk downloads for whole datasets. Available formats are JSON, GeoJSON, CSV, and Parquet. The source data is from OpenStreetMap contributors and is licensed under ODbL.

Use cases

Map pastry businesses and cake shops across cities such as Rome, Barcelona, and Pune. Compare location density between countries or regions, including Italy and Cataluña/Catalunya.

Assess nearby populations using the 1 km population field when evaluating potential service areas. Combine place coordinates with settlement class and land-use categories for location analysis.

Enrich food retail research with place names, addresses where available, and OpenStreetMap tags. Add flood-zone and climate-group context to geographic planning or risk analysis.

Pricing

The API offers JSON, GeoJSON, CSV, and Parquet formats and requires an API key. A free tier is available for evaluation and smaller workloads.

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

Frequently asked questions

Is there an API for pastry shops around the world?

Yes. The Pastry API provides about 30,000 worldwide records for places associated with pastries, including cake shops. Records include coordinates and OpenStreetMap tags, with coverage concentrated in Italy, France, and Spain. Available formats include JSON, GeoJSON, CSV, and Parquet.

How many pastry places are in the API?

The dataset contains about 30,000 records. Coverage is concentrated in Italy, which accounts for 56.1% of records, followed by France at 14.4% and Spain at 10.3%. The records are sourced from OpenStreetMap contributors.

Which countries have the most pastry records?

Italy has the largest share at 56.1%, followed by France at 14.4% and Spain at 10.3%. Tunisia accounts for 4.1%. The dataset also includes records in countries such as Greece, Algeria, Egypt, and India.

What fields does the Pastry API return?

Records include latitude, longitude, OpenStreetMap properties, source, name, address, and settlement class. They also include nearby population, flood zone, climate group, and land-use categories. Name and address are not filled for every record; they are available for 81% and 20%, respectively.

Can I filter pastry places by region or radius?

Yes. Use region or radius filters to focus on places in a geographic area, and select fields relevant to your analysis. The listed schema has no date field, so date-based filtering is not supported by a field in this dataset.

Does the pastry dataset include addresses?

Some records include a street address, but address is filled for 20% of records. Names are more commonly available, appearing in 81% of records. Coordinates and OpenStreetMap properties are filled for all records.

How often is the Pastry API data updated?

The supplied dataset information does not specify an update schedule. The records come from OpenStreetMap contributors, but no refresh frequency or last-update interval is stated. Check the dataset details before relying on it for time-sensitive location analysis.

What formats can I use to download pastry data?

The available formats are JSON, GeoJSON, CSV, and Parquet. Use a streaming workflow for live queries or a bulk download for a whole dataset. An API key is required; a free tier and paid plans for higher limits and bulk downloads are available.

Start building with the Pastry API

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