Skip to main content
Glama

search_google_flights

Search and retrieve flight options from Google Flights using specific criteria such as departure, destination, dates, class, and filters like price, airlines, and baggage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adultsNo成人数量
arrival_idYes目的地ID
booking_tokenNo预订令牌
carry_on_bagsNo随身行李
checked_bagsNo托运行李
childrenNo儿童数量
currencyNo货币
departure_idYes出发地ID
departure_tokenNo出发令牌
emissionsNo排放量
excluded_airlinesNo排除的航空公司
excluded_connecting_airportsNo排除的中转机场
flight_typeNo航班类型round_trip
glNo地理位置
hlNo语言
included_airlinesNo包含的航空公司
included_connecting_airportsNo包含的中转机场
infants_in_seatNo占座婴儿数量
infants_on_lapNo不占座婴儿数量
layover_duration_maxNo最长中转时间
layover_duration_minNo最短中转时间
max_flight_durationNo最长飞行时间
max_priceNo最高价格
multi_city_jsonNo多城市行程JSON
outbound_dateYes出发日期
outbound_timesNo出发时间范围
return_dateNo返程日期
return_timesNo返程时间范围
separate_ticketsNo分开的机票
show_cheapest_flightsNo显示最便宜航班
show_hidden_flightsNo显示隐藏航班
sort_byNo排序方式
stopsNo中转次数
travel_classNo舱位等级

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/lianshuang-photo/searchapi-mcp-nodejs'

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