How to get the name of the admin level for all cities in a country?

Hello,
I’m looking for a way to get the name of a admin level for all cities of a country.
For this I want to use Overpass.
Can somebody help me out?

Currently I query all cities for a country. But how to get the admin level? Which kind of relation I must do?


[out:json];
  area[name="Deutschland"]->.a;
node(area.a)
  ["place"="city"];
   
out body;

Thank you

Your question is not clear. What do you want? Name, admin_level, name of admin_level, all cities, city names, nodes, relations?

Maybe you should ask again in the german or your lokal forum and explain a littel bit what you want to do, what you need and what you want to do with it …

See https://forum.openstreetmap.org/viewforum.php?id=14

I want to get the name of the city and the name of the admin level that includes the city