---
source_url: "http://www.thetravelpointers.com/ita-matrix-hacks.html"
title: "ITA Matrix Advanced Codes & Hacks - The Travel Pointers"
mirrored_at: 2026-08-15T03:33:14.216Z
host: www.thetravelpointers.com
cited_in_42a: true
mirror_canonical: "https://index.42a.ai/www.thetravelpointers.com/ita-matrix-hacks.html"
---

> **Original source:** http://www.thetravelpointers.com/ita-matrix-hacks.html

ITA Matrix is the main database upon which flight search engines are built... and you can use advanced codes to unlock features you otherwise would miss on Kayak, Google Flights or other searche engines to get the best deal. Finding the best fare can _really_ stretch the value of your points. 

## #1: Nearby Radius 

Aggregate all airports within 25-2000 miles of your destination... airports you didn't know existed. This can be especially helpful for "positioning flights", when you just want to get to a far region of the world (Hong Kong, Munich, etc.) and then take a local budget carrier. 

## #2: Full Calendar of Lowest Fares 

Plot 30-day calendar (which can include variable duration and lots of airport combinations). Search # of nights in your destination with up to week difference (5-12, 13-20, etc.) ​

## #3: Include a Stopover

This is my favorite hack, two trips for the price of one! Program a stopover greater than 24-hours (1,440 minutes) using "X" and "minconnect 1440". If you want a specific connection airport, use its IATA code instead of "X". 

## #4: Exclude Specific Airlines

Filter out airlines with the exclusion symbol ("~") the airline code and a "+" sign. For example, if you dislike Spirit airlines, filter them out using ~NK+. 

## #5: Compare 1-Ways for "Hacker Fares" 

To fly there on one airline and back on another requires searching two one-way searches, as round-trip will stick with a specific airline. 

## Appendix of Codes for Advanced Users

Functions/Filters: 

-   **"Nearby" allows multiple city-to-city combos within X mile radius** 
-   30-day calendar of lowest fares w/ **variable length of stay of up to 7 days difference (i.e. 5-12 days or 13-20)** 
-   **Duration:** Sort or slide a filter by overall length of itinerary to return shortest trips or longest stop-overs. 

Codes: 

-   **"~" means "exclude**" 
    -   example: ~NK (excludes Spirit Airlines, shows ONLY direct flights) 
    -   example: **~NK+ (excludes Spirit Airlines, allows options with connections)** 
    -   example: ~ORD (excludes any connections in Chicago O'Hare) 
-   "N": Non-Stop 
-   **"X": Connection (i.e. any connection, no city specified)**
    -   **example: X / minconnect 1440 (24-hour stopover)** 
-   "+" 1 or more (allows connections)
    -   example: 
        -   AA (just returns direct flights on American) 
        -   AA+ (includes flights with connections on American) 
-   "?": 1 OR 0
    -   examples: 
        -   "X?" is 1 stop or direct
        -   **"ATL?" is direct or a stop in Atlanta**
        -   **"FLL?" is direct or a stop in FLL**
-   "Airport Code": Connection city
-   "," OR
    -   example: "ATL, FLL" (connects in either of these airports, not both) 
-   "F": flight (think of this as a placeholder) 
    -   example:  
        -   "F F F" means 3 flights
        -   "F? b6" means one flight (direct or more) and then Jet Blue
        -   "F+ b6+" allows for connections 
        -   "F? ATL F? / minconnect 720" is one flight, 720 minutes in Atlanta, then one flight 
-   Airline Codes: 
    -   Frontier: F9
    -   Spirit: NK
    -   JetBlue: B6
    -   American: AA
    -   Delta: DL
    -   United: UA
    -   Copa: CM
    -   Latam: LA

Second Command: 

-   **"/ minconnect \[# of minutes\]" how long a connection you require** 
-   **"/ -airlines NK"**  
-   "/ padconnect \[# of minutes\]" adds time to the min connection  
-   "/ alliance star-alliance" "/alliance oneworld" "/alliance skyteam" 
-   "/ maxconnect \[# of minutes\]" the maximum amount of connection
-   "/ maxdur \[# of minutes\]" the maximum # of minutes of your itinerary 
-   "/ -overnight" (excludes overnights) 
-   "/ overnight (only returns overnights) 
-   "/-overnight;-redeye" 
-   "/ f bc=h|bc=k|bc=k|bc=m|bc=l bc=w|bc=v" (fare booking class)