CloudDeploy APIFunction accepting string?

base function:

beta = Function[{x}, 
    y = ResourceData[ResourceObject[x]]
]

then I am deploying this using CloudDeploy:

CloudDeploy[APIFunction[{"x" -> "String" }, beta[#x] &]] ;

this giving back url but when I add ?x=“Meteorite Landings” this in front of the link I am getting $Failed error

also how do I grab the dataset in json format?

I think the quoting is messing it up, resulting in the resource not being found.

Try ?x=Meteorite+Landings instead.