This type of question is usually require API access. In Wolfram Language you can handle this with
In[3]:= WolframAlpha["tokyo", {{"Location:CityData", 2}, "ComputableData"}, PodStates -> {"Location:CityData__Show coordinates"}]
Out[3]= GeoPosition[{35.67, 139.77}]
If you know how to work with python, you can follow this link to call W|A and extract data via API.
This link shows how to get the above WL query.