Catalog/kb-coordinates

Data

Entity coordinates from Wikidata API

Resolve any entity name or QID to its geographic coordinate (Wikidata property P625, keyless) and a ready-to-open OpenStreetMap link. Answers 'what are the coordinates of X', 'latitude and longitude of X', 'where on the map is X', 'does X have a location'.

Price$0.01per request
MethodPOST
Route/v1/data/kb-coordinates
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
datawikidatacoordinateslatitudelongitudegeocodelocationmap
API URLhttps://x402.hexl.dev/v1/data/kb-coordinates
Integration docs
Example request
{
  "query": "Eiffel Tower"
}
Example response
{
  "id": "Q243",
  "name": "Eiffel Tower",
  "description": "tower located on the Champ de Mars in Paris, France",
  "hasCoordinates": true,
  "latitude": 48.8584,
  "longitude": 2.2945,
  "mapUrl": "https://www.openstreetmap.org/?mlat=48.8584&mlon=2.2945#map=12/48.8584/2.2945",
  "url": "https://www.wikidata.org/wiki/Q243"
}
Input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "examples": [
        "Eiffel Tower",
        "Q243"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}