{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/places:getthedata-bng2latlong/get-bng2latlong-easting-northing":{"get":{"operationId":"places_getthedata_bng2latlong_get_bng2latlong_easting_northing","summary":"Returns latitude and longitude for the given easting and northing.","description":"GET /bng2latlong/{easting}/{northing}","tags":["places"],"parameters":[{"name":"easting","in":"query","required":true,"description":"An OSGB36 (British National Grid) easting.","schema":{"type":"integer","description":"An OSGB36 (British National Grid) easting."},"example":326897},{"name":"northing","in":"query","required":true,"description":"An OSGB36 (British National Grid) northing.","schema":{"type":"integer","description":"An OSGB36 (British National Grid) northing."},"example":673919}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}