There are different ways to define search areas using Overpass API.
For example:
Geocode area
[out:json][timeout:25];
{{geocodeArea:Bonn}};
node[tourism=hotel](area);
out body;
>;
out skel qt;
Area query returning unique result
[out:json][timeout:25];
area["de:amtlicher_gemeindeschluessel"="05314000"];
node[tourism=hotel](area);
out body;
>;
out skel qt;
Find more details here in the Overpass API documentation.
But what if I want to define a set of areas that I want to use in an iteration afterwards (e.g. a set of selected large cities)? Is there a way to create something like an "array of areas" to be used for the following tag queries?