{"openapi":"3.1.0","info":{"title":"Aviationstack Reference Data (your key) API","version":"0.1.0","description":"Aviationstack Reference Data (your key) lets an AI assistant read your own Aviationstack Reference data through the Aviationstack Reference API with a key you supply (aviationstack access key). Read-only: 8 tools (list_airports, list_airlines, list_airplanes, list_aircraft_types, list_cities, list_countries, list_aviation_taxes, list_future_flights). The BYOK key travels with each request, is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-aviationstack-reference.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-aviationstack-reference/docs"},"termsOfService":"https://connectorbay.com/byok-aviationstack-reference/terms"},"servers":[{"url":"https://byok-aviationstack-reference.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-aviationstack-reference/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_airports":{"post":{"operationId":"list_airports","summary":"List or search airports with IATA and ICAO codes, name, coordinates, time zone, country and city code. Free plan returns","description":"List or search airports with IATA and ICAO codes, name, coordinates, time zone, country and city code. Free plan returns plain lists; search needs a paid plan. Use for \"What is the IATA code and location of London Heathrow airport\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Autocomplete search text (needs the Basic plan or higher), for example 'heath'.","title":"Search"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 100; up to 1000 on the Professional plan and above, default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"title":"list_airportsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_airlines":{"post":{"operationId":"list_airlines","summary":"List or search airlines with IATA and ICAO codes, call sign, type, status, fleet size, founding year, hub and country. U","description":"List or search airlines with IATA and ICAO codes, call sign, type, status, fleet size, founding year, hub and country. Use for \"Which airline has the IATA code LH and how big is its fleet\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Autocomplete search text (needs the Basic plan or higher), for example 'heath'.","title":"Search"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 100; up to 1000 on the Professional plan and above, default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"title":"list_airlinesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_airplanes":{"post":{"operationId":"list_airplanes","summary":"List or search individual aircraft by registration number, with model, type codes, first flight date, age, owner, engine","description":"List or search individual aircraft by registration number, with model, type codes, first flight date, age, owner, engines and status. Use for \"What model and age is the aircraft with registration D-AIMA\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Autocomplete search text (needs the Basic plan or higher), for example 'heath'.","title":"Search"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 100; up to 1000 on the Professional plan and above, default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"title":"list_airplanesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_aircraft_types":{"post":{"operationId":"list_aircraft_types","summary":"List or search aircraft types (for example Airbus A320) with their IATA type code. Use for \"What IATA code does the Boei","description":"List or search aircraft types (for example Airbus A320) with their IATA type code. Use for \"What IATA code does the Boeing 737-800 have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Autocomplete search text (needs the Basic plan or higher), for example 'heath'.","title":"Search"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 100; up to 1000 on the Professional plan and above, default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"title":"list_aircraft_typesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_cities":{"post":{"operationId":"list_cities","summary":"List or search cities with IATA city code, country, coordinates and time zone. Use for \"What is the IATA city code for F","description":"List or search cities with IATA city code, country, coordinates and time zone. Use for \"What is the IATA city code for Frankfurt\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Autocomplete search text (needs the Basic plan or higher), for example 'heath'.","title":"Search"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 100; up to 1000 on the Professional plan and above, default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"title":"list_citiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_countries":{"post":{"operationId":"list_countries","summary":"List or search countries with ISO codes, capital, continent, population, currency and phone prefix. Use for \"What curren","description":"List or search countries with ISO codes, capital, continent, population, currency and phone prefix. Use for \"What currency and phone prefix does Germany use\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Autocomplete search text (needs the Basic plan or higher), for example 'heath'.","title":"Search"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 100; up to 1000 on the Professional plan and above, default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"title":"list_countriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_aviation_taxes":{"post":{"operationId":"list_aviation_taxes","summary":"List or search aviation tax and fee types with their IATA tax code. Use for \"Which aviation tax codes exist for passenge","description":"List or search aviation tax and fee types with their IATA tax code. Use for \"Which aviation tax codes exist for passenger service charges\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Autocomplete search text (needs the Basic plan or higher), for example 'heath'.","title":"Search"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 100; up to 1000 on the Professional plan and above, default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"title":"list_aviation_taxesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_future_flights":{"post":{"operationId":"list_future_flights","summary":"List the scheduled departures or arrivals of an airport on a future date, with airline, flight number, aircraft model an","description":"List the scheduled departures or arrivals of an airport on a future date, with airline, flight number, aircraft model and scheduled times at both ends. Needs a plan that includes future flights. Use for \"Which flights are scheduled to depart JFK on 2026-12-20\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"iata_code":{"description":"IATA code of the airport, for example 'JFK'.","maxLength":3,"title":"Iata Code","type":"string"},"schedule_type":{"description":"departure or arrival.","enum":["departure","arrival"],"title":"Schedule Type","type":"string"},"date":{"description":"Future date, YYYY-MM-DD.","maxLength":10,"title":"Date","type":"string"},"airline_iata":{"anyOf":[{"maxLength":3,"type":"string"},{"type":"null"}],"default":null,"description":"Only this airline, by IATA code, for example 'LH'.","title":"Airline Iata"},"airline_icao":{"anyOf":[{"maxLength":4,"type":"string"},{"type":"null"}],"default":null,"description":"Only this airline, by ICAO code, for example 'DLH'.","title":"Airline Icao"},"flight_number":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":null,"description":"Only this flight number.","title":"Flight Number"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 100; up to 1000 on the Professional plan and above, default 100).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"required":["iata_code","schedule_type","date"],"title":"list_future_flightsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}