Search Wikipedia Nearby
wikipedia_search_nearbyFind Wikipedia articles about places near a geographic coordinate. Returns articles sorted by distance from the query point, with titles, page IDs, coordinates, and distance in meters. Useful for "what is notable near X?" research workflows. Only articles with geographic coordinates in their Wikidata record are returned — not all articles about locations are geotagged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default 10, max 500 — the MediaWiki geosearch ceiling). Must be a positive integer. Geosearch has no pagination, so articles past this limit are only reachable by raising it or searching narrower radii. | |
| language | No | Wikipedia language edition code (default "en"). Examples: "fr", "de", "ja". | en |
| latitude | Yes | WGS 84 latitude in decimal degrees (range: −90 to 90). | |
| longitude | Yes | WGS 84 longitude in decimal degrees (range: −180 to 180). | |
| radius_meters | No | Search radius in meters (default 1000, min 10, max 10000 — the MediaWiki geosearch bounds). Must be an integer; a value above the maximum is clamped to it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The limit that was applied. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Number of results returned. | |
| notice | No | Guidance when results were capped (raise limit or sweep narrower radii) or when no geotagged articles were found (increase radius). Absent when neither applies. | |
| results | No | Geotagged articles sorted ascending by distance_meters. | |
| language | No | Language edition queried. | |
| truncated | No | True when more articles matched than the limit allowed. Established by probing one result past the limit, so a match count landing exactly on the limit reports false. | |
| queryLatitude | No | Latitude used for the search. | |
| queryLongitude | No | Longitude used for the search. | |
| radiusMetersUsed | No | Radius in meters used for the search. |