just using amenity=parking in the wizard creates a query that searches for nodes, ways and relations. The query would be similar to the one in https://help.openstreetmap.org/questions/39872/can-i-create-my-own-layer Note that that query was asking for schools in a particular area and needed some additional formatting
{code}
[out:json][timeout:25];
// gather results
(
// query part for: “amenity=parking”
node["amenity"="parking"]( \{\{bbox}});
node["amenity"="parking"]({{bbox}});
way["amenity"="parking"]({{bbox}});
relation["amenity"="parking"]({{bbox}});
);
// print results
out body;
>;
out skel qt;
{code}