Learn how to use the flights slash command to search for flight options
The /flights
command helps you search for flights across multiple airlines and routes. Perfect for:
Just tell the command where and when you want to fly:
You can be flexible with how you say it - “leaving”, “depart”, “return”, “back” all work!
from
: The city you’re departing fromto
: The city you’re traveling towhen
, date
, or dates
: When you want to travel
type
: Flight type
1
: Round trip (default)2
: One way3
: Multi-cityoutbound_date
: Departure date (YYYY-MM-DD)return_date
: Return date (YYYY-MM-DD), required for round tripstravel_class
: Cabin class
1
: Economy (default)2
: Premium economy3
: Business4
: Firstadults
: Number of adult passengers (default: 1)children
: Number of child passengers (default: 0)currency
: Currency code for prices (default: USD)gl
: Country code for search (e.g., us, uk)hl
: Language code (e.g., en)stops
: Stop preferences
max_duration
: Maximum flight duration in minutesinclude_airlines
: Specific airlines to includeexclude_airlines
: Airlines to excludemax_price
: Maximum ticket price in specified currencyNote: For power users, you can also use airport codes (like JFK, LAX) or location IDs instead of city names.
Simple round trip:
One-way business class:
Advanced filtered search:
The command returns comprehensive flight details including:
Each flight result includes:
If the command returns an error:
Learn how to use the flights slash command to search for flight options
The /flights
command helps you search for flights across multiple airlines and routes. Perfect for:
Just tell the command where and when you want to fly:
You can be flexible with how you say it - “leaving”, “depart”, “return”, “back” all work!
from
: The city you’re departing fromto
: The city you’re traveling towhen
, date
, or dates
: When you want to travel
type
: Flight type
1
: Round trip (default)2
: One way3
: Multi-cityoutbound_date
: Departure date (YYYY-MM-DD)return_date
: Return date (YYYY-MM-DD), required for round tripstravel_class
: Cabin class
1
: Economy (default)2
: Premium economy3
: Business4
: Firstadults
: Number of adult passengers (default: 1)children
: Number of child passengers (default: 0)currency
: Currency code for prices (default: USD)gl
: Country code for search (e.g., us, uk)hl
: Language code (e.g., en)stops
: Stop preferences
max_duration
: Maximum flight duration in minutesinclude_airlines
: Specific airlines to includeexclude_airlines
: Airlines to excludemax_price
: Maximum ticket price in specified currencyNote: For power users, you can also use airport codes (like JFK, LAX) or location IDs instead of city names.
Simple round trip:
One-way business class:
Advanced filtered search:
The command returns comprehensive flight details including:
Each flight result includes:
If the command returns an error: