Overpass query without key

Hello, I wish to run an overpass query to find all elements that contain a specific value regardless of the key they’re associated to.
I’m searching quite specific values, thus I do not expect a large number of matches.
I tried running *=value and stuff similar to that but the query always fails.
Is there some way to run such a query?

Overpass API/Overpass QL - OpenStreetMap Wiki has some explanation on the Overpass QL syntax.

A minimum example for nodes with value “Foo” in the current bounding box would be:

[bbox:{{bbox}}];
node[~"."~"^Foo$"];
out meta;
2 Likes

You could update query above for letter case insignificant (add ,i)

[bbox:{{bbox}}];
node[~"."~"^Foo$",i];
out meta;
1 Like