Wikimedia Developer Support

Wikimedia API's geosearch doesn't return coordinates?

I’m trying to get coordinates of interesting places around me, and I’ve found the API and parameters to do it:

For example, pageid 4634220.

However, many of the places do not have the coordinates field returned - which is strange since they are found by the query, so the coordinates are known.

Any clues why the coordinates are not returned?

1 Like

Generators don’t typically return extra data. prop=coordinates would, but you have to set its limit separately.