{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources. Success responses include a `source` block to cite. Apizie Finance endpoints (SEC EDGAR, FRED, ECB, U.S. Treasury, GLEIF, World Bank, official:*) need a Finance plan."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:amadeus-amadeus-flight-busiest-traveling-period/get-air-traffic":{"get":{"operationId":"open_data_amadeus_amadeus_flight_busiest_traveling_period_get_air_traffic","summary":"Returns a list of air traffic reports.","description":"GET /travel/analytics/air-traffic/busiest-period","tags":["open-data"],"x-apizie-access":"read","parameters":[{"name":"cityCode","in":"query","required":true,"description":"Code for the city following IATA standard. [IATA table codes](http://www.iata.org/publications/Pages/code-search.aspx) - e.g. BOS for Boston","schema":{"type":"string","description":"Code for the city following IATA standard. [IATA table codes](http://www.iata.org/publications/Pages/code-search.aspx) - e.g. BOS for Boston"},"example":"MAD"},{"name":"period","in":"query","required":true,"description":"time period (year) of the statistics. Year for which the statistic are requested following [ISO…","schema":{"type":"string","description":"time period (year) of the statistics. Year for which the statistic are requested following [ISO…"},"example":2017},{"name":"direction","in":"query","required":false,"description":"Use ARRIVING to have statistics on travelers coming to the city or DEPARTING for statistics on travelers leaving the city. By default,…","schema":{"type":"string","enum":["ARRIVING","DEPARTING"],"default":"ARRIVING","description":"Use ARRIVING to have statistics on travelers coming to the city or DEPARTING for statistics on travelers leaving the city. By default,…"},"example":"ARRIVING"}],"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":"official:company"},"data":{},"source":{"type":"object","description":"Where the data came from. Cite it.","properties":{"official":{"type":"boolean"},"provider":{"type":"string","example":"SEC EDGAR"},"publisher":{"type":"string","example":"U.S. Securities and Exchange Commission"},"url":{"type":"string","format":"uri","description":"A page a person can open to check the value"},"apiUrl":{"type":"string","format":"uri","description":"The official API URL that was called (credentials removed)"},"retrievedAt":{"type":"string","format":"date-time"},"license":{"type":"string"},"licenseUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"},"notice":{"type":"string"}}},"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"}}}}}}}