Data
Nearby Wikipedia articles (geosearch) API
Given a latitude/longitude (and optional radius) return Wikipedia articles near that point, each with a recomputed great-circle distance in meters, a compass bearing, and a clean article URL, sorted nearest-first. The value-add is the verified distance + bearing and the ready-to-use links. Answers 'what's near these coordinates', 'Wikipedia articles around this lat/lon', 'nearby landmarks', 'what's at this location'.
Price$0.01per request
MethodPOST
Route/v1/data/wiki-geosearch
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
datawikipediageosearchnearbygeolocationlandmarkscoordinates
API URL
Integration docshttps://x402.hexl.dev/v1/data/wiki-geosearchExample request
{
"latitude": 40.7128,
"longitude": -74.006,
"radius": 1000,
"limit": 3
}Example response
{
"center": {
"latitude": 40.7128,
"longitude": -74.006
},
"count": 3,
"articles": [
{
"title": "Climate of New York City",
"pageId": 63778574,
"latitude": 40.71274,
"longitude": -74.005974,
"distanceMeters": 7,
"bearingDegrees": 124,
"compass": "SE",
"url": "https://en.wikipedia.org/wiki/Climate_of_New_York_City"
},
{
"title": "New York City",
"pageId": 645042,
"latitude": 40.7128,
"longitude": -74.0061,
"distanceMeters": 8,
"bearingDegrees": 270,
"compass": "W",
"url": "https://en.wikipedia.org/wiki/New_York_City"
}
],
"radiusMeters": 1000
}Input schema
{
"type": "object",
"required": [
"latitude",
"longitude"
],
"properties": {
"latitude": {
"type": "number",
"examples": [
40.7128
]
},
"longitude": {
"type": "number",
"examples": [
-74.006
]
},
"radius": {
"type": "number",
"examples": [
1000
]
},
"limit": {
"type": "number",
"examples": [
10
]
},
"lang": {
"type": "string",
"examples": [
"en"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}