want to query tag #urbex, or find key abandon:
/* This query looks for nodes, ways and relations with the given key. Choose your region and hit the Run button above! */ [out:json][timeout:25]; // gather results ( // query part for: “"abandoned:"=*” node["abandoned:"]({{bbox}}); way["abandoned:"]({{bbox}}); relation["abandoned:"]({{bbox}}); ); // print results out body; >; out skel qt;
seach for gas-station example: https://overpass-turbo.eu/, found: in menu last item: https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfuel
/* This query looks for nodes, ways and relations with the given key/value combination. Choose your region and hit the Run button above! */ [out:json][timeout:25]; // gather results ( // query part for: “amenity=fuel” node["amenity"="fuel"]({{bbox}}); way["amenity"="fuel"]({{bbox}}); relation["amenity"="fuel"]({{bbox}}); ); // print results out body; >; out skel qt;