Overpass query example

Restaurants by cuisine

Filter restaurants by the cuisine tag. Example: every pizzeria in Naples.

The cuisine tag holds one or more values separated by semicolons, such as pizza;italian. A regular expression finds the value anywhere in the list.

The query

[out:json][timeout:60];
area["name"="Napoli"]["admin_level"="8"]->.a;
nwr["amenity"="restaurant"]["cuisine"~"pizza"](area.a);
out center;

Run it

Running the query…

Live result from overpass.ch, cached for up to 12 hours. Map data © OpenStreetMap contributors (ODbL).

How it works

  1. ["cuisine"~"pizza"] matches any cuisine value that contains “pizza”, alone or in a list.
  2. Combine it with ["amenity"="restaurant"]; fast-food pizza places use amenity=fast_food.

Variations

Run it from your code

curl https://api.overpass.ch/v1/YOUR_API_KEY/interpreter \
  --data-urlencode 'data@query.overpassql'

Save the query as query.overpassql. It works the same in Overpass Turbo, QGIS and JOSM.

More examples

All examples →