{"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/open-data:amadeus-amadeus-airport-nearest-relevant/get-nearest-relevant-airports":{"get":{"operationId":"open_data_amadeus_amadeus_airport_nearest_relevant_get_nearest_relevant_airports","summary":"Returns a list of relevant airports near to a given point.","description":"GET /reference-data/locations/airports","tags":["open-data"],"parameters":[{"name":"latitude","in":"query","required":true,"description":"latitude location to be at the center of the search circle","schema":{"type":"number","description":"latitude location to be at the center of the search circle"},"example":51.57285},{"name":"longitude","in":"query","required":true,"description":"longitude location to be at the center of the search circle","schema":{"type":"number","description":"longitude location to be at the center of the search circle"},"example":-0.44161},{"name":"radius","in":"query","required":false,"description":"radius of the search in Kilometer. Can be from 0 to 500, default value is 500 Km.","schema":{"type":"integer","default":500,"description":"radius of the search in Kilometer. Can be from 0 to 500, default value is 500 Km."}},{"name":"page[limit]","in":"query","required":false,"description":"maximum items in one page","schema":{"type":"integer","default":10,"description":"maximum items in one page"}},{"name":"page[offset]","in":"query","required":false,"description":"start index of the requested page","schema":{"type":"integer","default":0,"description":"start index of the requested page"}},{"name":"sort","in":"query","required":false,"description":"defines on which attribute the sorting will be done from the best option to the worst one: * **relevance** - Score value calculated based…","schema":{"type":"string","enum":["relevance","distance","analytics.flights.score","analytics.travelers.score"],"default":"relevance","description":"defines on which attribute the sorting will be done from the best option to the worst one: * **relevance** - Score value calculated based…"}}],"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":"byok"}}},"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"}}}}}}}