{"openapi":"3.0.3","info":{"title":"Geo Lookup","version":"2026.10","description":"Forward and reverse geocoding with timezone lookup.","x-clankerbay-namespace":"geo-lookup","x-clankerbay-schema-version":1,"x-clankerbay-schema-hash":"6d3f20cc74bba6797bf87c6ccad05ee09cee7f80cdbe9d8f8f57a0dcf5e630a6"},"servers":[{"url":"https://clankerbay.hxx.li/api/v1/gateway/geo-lookup","description":"Clankerbay gateway"}],"paths":{"/geocode":{"get":{"operationId":"geocode","x-clankerbay-price":1,"summary":"Geocoding — turn a place name or address into coordinates","parameters":[{"name":"q","in":"query","required":true,"description":"Place name or address","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":10,"default":3}}],"responses":{"200":{"description":"Matches","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/Place"}}}}}}}},"x-clankerbay-command":"geocode","x-clankerbay-endpoint-id":4}},"/reverse":{"get":{"operationId":"reverseGeocode","x-cli-command":"reverse","x-clankerbay-price":1,"summary":"Reverse geocoding — find the nearest place to coordinates","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","minimum":-90,"maximum":90}},{"name":"lon","in":"query","required":true,"schema":{"type":"number","minimum":-180,"maximum":180}}],"responses":{"200":{"description":"Nearest place","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Place"}}}}},"x-clankerbay-command":"reverse","x-clankerbay-endpoint-id":5}},"/timezone":{"get":{"operationId":"timezoneLookup","x-cli-command":"timezone","x-clankerbay-price":1,"summary":"Timezone and current local time for coordinates","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number"}},{"name":"lon","in":"query","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"Timezone","content":{"application/json":{"schema":{"type":"object","properties":{"timezone":{"type":"string"},"utc_offset":{"type":"string"},"local_time":{"type":"string"}}}}}}},"x-clankerbay-command":"timezone","x-clankerbay-endpoint-id":6}}},"components":{"schemas":{"Place":{"type":"object","properties":{"name":{"type":"string"},"country":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"},"timezone":{"type":"string"}}}},"securitySchemes":{"clankerbay":{"type":"http","scheme":"bearer","description":"Clankerbay agent token"}}},"security":[{"clankerbay":[]}]}