Skip to main content
Glama

aviasales.flights.search

Search for flights between airports using origin, destination, and departure date parameters. Filter results by passenger count, cabin class, direct flights, and sort by price, duration, or departure time.

Instructions

Search for flights between airports

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originYesOrigin airport IATA code (e.g. JFK, LAX)
destinationYesDestination airport IATA code (e.g. CDG, LHR)
departure_dateYesDeparture date in YYYY-MM-DD format
return_dateNoReturn date in YYYY-MM-DD format for round trips
passengersNoPassenger counts by type
cabin_classNoCabin class
direct_onlyNoOnly return direct (non-stop) flights
currencyNoPrice currency ISO code (e.g. USD, EUR)
sort_byNoSort order for results
limitNoMax number of results (1-50)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server