Places API

Chocolate API

The Chocolate API returns mapped chocolate-related places from OpenStreetMap, with about 7,194 records. Each record includes coordinates and place tags, with names, brands, addresses and geographic context available where recorded. Developers can use the data to map chocolate businesses, explore their distribution and combine locations with population, land-use and environmental fields.

France, Brazil · 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": "chocolate",
    "region_id": "20646",
    "limit": 50
  }'

Key facts

  • The Chocolate API contains about 7,194 records.
  • France accounts for 19.5% of records.
  • Brazil accounts for 14.9% of records.
  • New York City is among the covered cities.

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 São Paulo).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/chocolate/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
NameAddressCountryBrandHoursWheelchairWebsiteLatitudeLongitude
González Patissier Chocolates36 25 de Mayo Ushuaia V9410Argentina————-54.80731-68.30617
Laguna Negra—Argentina————-54.80645-68.30535
Chocolates del fin del mundo—Chile————-53.15726-70.8994
Abuela Goye1341 Avenida del Libertador El Calafate Z9405Argentina————-50.33855-72.26902
MamuschkaAeropuerto Internacional Comandante Armando Tola El Calafate V9405Argentina————-50.28397-72.05283
Leonidas—FranceLeonidasMo-Fr 08:30-17:30; Sa 08:30-16:30——-17.54059-149.56797
La Chocolaterie—France—Mo-Fr 09:00-18:00; Sa 07:30-12:30yes—-17.54024-149.56869
Jeff de Bruges—FranceJeff de Bruges—yeshttps://magasins.jeff-de-bruges.com/chocolats/papeete/CPO001-17.53703-149.56801
Pilche Chocolates—Argentina————-42.22801-71.35045
EntreLagos640 Vicente Peréz Rosales Valdivia Región de Los Ríos CLChile————-39.81538-73.2464

Overview

This API covers chocolate-related places represented in OpenStreetMap, including named chocolate shops and confectionery businesses. Records include location coordinates and OpenStreetMap tags, which can provide additional details such as opening hours or accessibility when mapped.

Developers, researchers and data buyers can use the dataset for maps, location analysis and business discovery. OpenStreetMap contributors provide the source data under the ODbL.

Geographic coverage

The dataset contains about 7,194 records across countries including France, Brazil, the United States, Canada and Argentina. France accounts for 19.5% of records, Brazil 14.9% and the United States 14.8%.

Examples of covered cities include São Paulo, Rio de Janeiro, New York City, Greater London, Sydney, Toronto and Montréal. Coverage also includes smaller places such as Ushuaia and El Calafate.

Fields

Every record includes latitude and longitude, OpenStreetMap properties, source, settlement class, population within 1 km, flood zone and land-use context. Climate group is present in 97% of records.

Names are present in 98% of records, while brands and addresses are present in 49% and 45%, respectively. The properties field contains the place's OpenStreetMap tags, which may include details such as opening hours or wheelchair access.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • nameName of the place
  • brandBrand or chain
  • 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 and data access

Filter the data by geographic region, radius or selected fields to focus on relevant places. The listed fields contain no date value, so date-based filtering cannot be described from this dataset information.

Use a stream for live queries or a bulk download for a whole-dataset workflow. Available formats are JSON, GeoJSON, CSV and Parquet; access requires an API key, with a free tier and paid plans for higher limits and bulk downloads.

Use cases

Map chocolate shops and confectionery businesses in a city, or compare their presence across countries such as France and Brazil. Combine locations with population and settlement class to study how mapped places relate to nearby communities.

Use the records to build location directories, explore brand presence, assess land use around chocolate places or add mapped chocolate destinations to travel and retail research. Flood-zone and climate-group fields can support geographic context analysis.

Pricing and formats

The API supports JSON, GeoJSON, CSV and Parquet. An API key is required; a free tier is available, with paid plans for higher limits and bulk downloads.

No price amounts are specified here. OpenStreetMap contributors are the data source, under the ODbL.

Frequently asked questions

Is there an API for chocolate shops in New York?

Yes, the Chocolate API includes mapped chocolate-related places and has coverage in New York. The dataset reports New York City among its covered cities, and New York state accounts for 2.1% of records. Individual records may include a name, address, brand and coordinates where those details are mapped.

How many chocolate places are in the Chocolate API?

The dataset contains about 7,194 records. It covers places across countries including France, Brazil, the United States, Canada and Argentina. The number is an approximate total for the dataset, rather than a count for any single city or country.

How often is the chocolate place data updated?

The available dataset information does not specify an update schedule. Its source is OpenStreetMap contributors, so the records represent mapped OpenStreetMap data, but no refresh interval or date field is provided here. Check the API's current documentation for update details before relying on a particular cadence.

What fields does the Chocolate API return?

Records include latitude, longitude, OpenStreetMap properties, source, name, brand, address, settlement class, nearby population, flood zone, climate group and land-use categories. Field completeness varies: coordinates and properties are present in all records, while names appear in 98%, brands in 49% and addresses in 45%.

Can I filter chocolate places by city or radius?

The dataset has geographic coordinates and city coverage, making geographic region and radius filtering relevant ways to narrow results. The available field list does not specify particular query parameters or a city field, so consult the API documentation for the exact filtering syntax.

Can I download the whole chocolate dataset?

Yes, bulk downloads are available on paid plans. The supported formats are JSON, GeoJSON, CSV and Parquet. An API key is required, and a free tier is available for access with lower limits.

Does the Chocolate API include shop opening hours?

Opening hours may appear in the OpenStreetMap properties for individual places, but they are not listed as a dedicated field. For example, sample records include opening hours for Leonidas and La Chocolaterie. Availability depends on what contributors have mapped for each place.

What is the source and license for the chocolate data?

The data comes from OpenStreetMap contributors and is provided under the ODbL. Records include a source field and the mapped OpenStreetMap tags for each place. Review the ODbL terms when using or redistributing data derived from this dataset.

Start building with the Chocolate API

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