Trip
Recent searches
Tricks to try
Every trick below in one go, each search run in Matrix's own page in your browser, so the prices are the ones Matrix shows you. Results show on this page as they come in, like an OTA: the best round trip and the best two one-ways, each one-way with its own ELR or fake return, every leg marked You fly or throwaway.
What the team's searches taught (weekly AI review)
Matrix opens in a new tab: click ELR run on your bookmarks bar there. The searches run in that tab and the results build up live on this page, under the search box.
What it searches
Nearby cities
Far cities: hubs between the radius and 1.75× the radius (2,000–3,500 mi at 2,000), e.g. DXB for Rome, BOG for Dallas. Used as economy fake-return origins in 3-part searches, biggest hubs first. ELR rows: the ELR routes 3-part step 1 tries, one search each (e.g. LON-PAR). A route ending in a far city (FCO-DXB) means ELR into that city and the fake return from it.
Picked automatically: major hubs inside the radius first, then other large airports. Edit any list; your edits stay until you press Reset.
ELR types to check
Searches per one-way: base 1 · type 1 one per ELR date window (all ELR cities in each) · type 2 one per fake-return window · type 3 step 1 one per ELR route + step 2 one per far city × return day. · type 4 one per ELR pair, + return cities (and other-country returns on one-ways) and dates (each step after the first adds what is new). 2±1 = 2 days later ±1 (1–3 days).
Type 3 is where the big savings are (DFW–FCO business + LHR–CDG + DXB–DFW economy). Each search holds exactly one ELR route, one far city and exact dates: with several cities on a leg, Matrix keeps only a few flights and drops the cheap one (tested: $2,664 alone vs $3,424 in a 12-city list), and it returns nothing with ± days on 3 legs. Step 1 tries each ELR route listed under Nearby cities; step 2 takes the cheapest route and tries every far city × return day. Auto-run does both by itself; by hand, type the step-1 prices in and step 2 updates.
Type 4 is the open-jaw pattern: LAX–PAR business, the return from near your destination to near your origin (LON–DFW), any cabin, and a separate economy ELR far away (CUN–GRU) as the last leg, 2 days after the return (first ELR window). The throwaways sit at the end of the ticket, so nothing you fly comes after a segment you skip. On a round trip the return uses your real return date; on a one-way it is a fake return, and it also tries landing in another country (MEX, YYZ for Dallas), which can price from a different fare market. Pick the regions for the disconnected ELR (Latin America, Europe, Middle East, Asia, US & Canada; 6 pairs each) or type your own pairs. It goes step by step, one exact search each: every ELR pair, then where the return starts, where it ends, its date, each step keeping the cheapest so far. About 14 searches per one-way. Change the return leg's cabin in Advanced controls (Open-jaw return) if you want it in business.
Advanced controls
Required on every leg: Matrix drops a search's codes when its Advanced Controls are collapsed, so open them once in Matrix.
| Leg role | Routing codes | Extension codes |
|---|
Tokens: {CARR} carriers (any flight F if empty) · {CAB} your cabin (1 first, 2 business, pe, 3 economy) · {VIA} hidden-city connection point. Separate extension commands with ;. The alliance setting is added to every extension field.
Manual searches
Every search as its own Matrix link, to open one by one and type prices back, or to run with the older auto-run. For everyday use, Search fares above is faster: it runs all of them and shows the results on this page.
Book a result
Press Book this on a result, or paste an itinerary JSON here. You get the airline booking link and the GDS sell entries.
On Matrix's itinerary page press Copy itinerary as JSON and paste it here. You get the airline booking link and the GDS sell entries.
How it works
- Type the trip, pick the cabin and press Search fares.
- ReRoute tries every trick at once: extra legs (ELR), fake returns, open jaws and separate tickets via nearby hubs. The searches run on the ReRoute server: nothing to install, it works the same on a phone.
- Results build up live, cheapest first. Every leg is marked You fly or throwaway.
- Book this gives the airline booking link and GDS sell entries.
Server busy? sets this computer up to search on its own (one minute, once).
Most carriers' conditions of carriage ban throwaway and hidden-city tickets, and an agency can receive ADMs for them.
How it works
- In Matrix, click Show Advanced Controls once. Matrix remembers it. When they are collapsed, Matrix drops the routing and extension codes from the link.
- Fastest: add the ELR run bookmark once (Setup & help), type your trip and press Search fares. In the Matrix tab that opens, click ELR run: every search runs there and the results appear on this page as they come in, best option first.
- By hand: each link opens Matrix's search form already filled in. Check the codes are there, then press Search. (Links straight to the results page never finish loading in Matrix.) To skip that click, set up the auto-search script at the bottom of this page once.
- Type the cheapest price back here. The page totals split tickets and shows the winner.
- To book: after an auto-run, paste its results and press Book this on the winner. By hand: open the winner's itinerary in Matrix, press Copy itinerary as JSON and paste it in Book a Matrix result. Either way you get the AA.com link (or the other airline's) and the GDS sell entries.
Setup and notes
Live prices here (ELR Finder connector, one-time setup)
- Put the elr-matrix-mcp server online: on Render (free, no server of your own) press Deploy Blueprint; when it is live, open its Logs and copy the line Connector URL for claude.ai. (Own server: see the repo README.)
- claude.ai → Settings → Connectors → Add custom connector. Name it ELR Finder (or ELR Matrix) and paste that URL.
- Open this page in claude.ai, build your searches and press Search live. The first time, Claude asks you to allow the page to use the connector.
- Prices fill in as Matrix answers (20–60 s per search, 2 at a time), step 2 and the type 4 steps follow the cheapest results, and each winner gets Book this. No Matrix tab, no script, no copying.
- No server? In the Claude desktop app, run it on your own computer instead (README: "Without a server"); this page then finds it as
host:elr-matrix.
No extension? The ELR run bookmark (one-time setup)
Does the same as the auto-run script below, from your own browser and connection, without installing anything.
Updated 29 Nov 2026 (v4.7: new name ReRoute; with ReRoute Helper (Patch it up), Matrix runs inside the ReRoute page, no new tab; results show live on the page): added ELR run before? Replace it with this one (Copy the bookmark, then edit yours and paste). v4 runs each search in Matrix's own page, so prices match what Matrix shows you (older versions got fewer fares, e.g. $5,867 instead of $4,345), runs up to 10 at once and shows Best fares results like an OTA. The panel title shows the version you have.
- Show the bookmarks bar (Ctrl+Shift+B) and drag the ELR run button onto it.
- If dragging doesn't work: press Copy the bookmark, right-click the bookmarks bar → Add page (Chrome) or Add Bookmark (Firefox), name it ELR run and paste into the URL field.
- To use it: build your searches here and press Run all automatically in Matrix. In the Matrix tab that opens, click ELR run. The panel appears and runs every search; if you reload that tab, click ELR run again to carry on.
- When it says Done: Copy results for ReRoute and paste them here under Paste auto-run results.
Check it once: Test run: 9 searches, 8 at once opens Matrix with a fixed test (DFW–FCO business, 6 Mar 2027). Click ELR run there. Its labels say the prices seen by hand in Matrix ($2,494, $3,840, $4,345), so you can compare, and the panel says how long it took.
Auto-run script (one-time setup, v3)
- Install Tampermonkey: Chrome · Firefox.
- Tampermonkey → Create a new script → replace everything with the script below → Save. (Already have v1 or v2? Replace it with this.)
- Run all automatically in Matrix opens one Matrix tab that runs every search through Matrix's own search API, the same call Matrix's page makes: no page loads, 2 searches at a time (Matrix still takes 20–60 s per search). A panel at the bottom right shows progress, Pause/Stop, the best price per leg with an Open link and its flights, the split-ticket total and all prices. At the end it fetches each winner's full itinerary (Copy itinerary for booking). Leave the tab open; you can work in other tabs.
- If the API can't be reached from your browser, the same run presses Search page by page instead (about 45 s each); the panel says which mode it is in.
- Single "Open in Matrix" links still search by themselves and show #12 $2,472 in the tab title.
The script only acts on links from this page and on its own run. If Matrix limits requests, the run pauses for a minute and carries on. In page-by-page mode, if Matrix shows a captcha or "unusual traffic", the run pauses: solve it in that tab and press Resume. API mode calls Matrix's search API the way the open-source itamx and ita-matrix-mcp projects do (both MIT); that API is unofficial and Google can change it, in which case the run falls back to page by page.
Setup and notes
- Booking links: AA.com is built here and was tested (it opened on the Passengers page with the Matrix flights and price). The other airlines' links use ITA Matrix Powertools' formats (GPL-2.0) and are untested here; BA.com showed an error page for an AA-ticketed AA/BA itinerary. Sell entries use the marketing flight number, so codeshares sell as shown in Matrix.
- PowerTools adds airline booking links on Matrix's Itinerary page: Chrome · Firefox.
- Cabin: most searches set Matrix's cabin box to your cabin, which allows a mixed cabin on short hops with no business class (e.g. Mykonos–Athens). Economy fake-return searches set the box to "Cheapest" and force your cabin on the legs you fly with
+CABIN; Matrix won't combine the two. Those searches can come back empty when a flown leg has an economy-only hop. - How these fares work: one-way business fares are expensive, half of a round-trip fare is not. The fake return turns the trip into a round trip (open jaw) so each direction prices at half a round-trip fare: business out, cheapest economy back. The ELR moves the business fare's end point to a city with a cheaper fare (DFW–PAR instead of DFW–ROM, with Rome–London as a surface gap). The far city (DXB, BOG) is where the economy fare back is cheapest. Your example: DFW–PAR business $1,035 + DXB–DFW economy $697 + taxes = $2,685.
- Every search is priced in USD. Matrix still sets the sales city from the first origin (NAP → fares sold in Italy, shown in dollars); change Sales City on Matrix's form if you ticket from another country.
- Fare lock (optional, untested in Matrix): adds
F .A+X.|…to the last flown leg and the ELR leg, so only results where the ELR sits inside a through fare are shown. - Let each search finish before starting the next; Matrix slows down when many run at once. Prices and notes stay in this browser only.