Web-based tool to search award flight availability across multiple loyalty programs.
git clone https://github.com/frindle/award-search
cd award-search
docker build -t award-search .
docker run -d -p 8000:8000 \
-e SEATS_AERO_API_KEY=your-seats-aero-key \
-e AWARDWALLET_API_KEY=your-awardwallet-key \
-e AWARDWALLET_USER_ID=your-user-id \
-e SERPAPI_API_KEY=your-serpapi-key \
-e PUSHOVER_APP_TOKEN=your-pushover-token \
-e PUSHOVER_USER_KEY=your-pushover-key \
award-searchThen open http://localhost:8000
| Feature | Description |
|---|---|
| Seats.aero Search | Award availability across 27 programs via API |
| Scheduled Searches | Recurring searches by date range, airport/city/region group code, program and card transfer partner — with alerts limited by airline allowlist and points/taxes caps |
| AwardWallet Balances | View your mileage/points balances |
| Positioning Flights | Find cheap flights to your hub via Google Flights |
| Alert Notifications | Pushover alerts when award space opens |
Create these files in the credentials/ folder OR set environment variables:
| Service | File | Env Variable | Get from |
|---|---|---|---|
| Seats.aero | seats_aero.yml |
SEATS_AERO_API_KEY |
seats.aero/settings |
| AwardWallet | awardwallet.yml |
AWARDWALLET_API_KEY, AWARDWALLET_USER_ID |
business.awardwallet.com |
| SerpAPI | serpapi.yml |
SERPAPI_API_KEY |
serpapi.com |
| Pushover | pushover.yml |
PUSHOVER_APP_TOKEN, PUSHOVER_USER_KEY |
pushover.net |
Example credentials/seats_aero.yml:
api_key: "your-key-here"Files are searched in order:
./credentials/*.yml(relative to project root)~/.config/award-search/*.yml
/- Search awards/balances- View AwardWallet balances/alerts- Manage award alerts/scheduled- Create/list/edit/delete scheduled award searches + alert filters/positioning- Search positioning flights
/scheduled is the front-end for recurring award-availability searches.
What you can schedule
| Field | Notes |
|---|---|
| Dates | One or more date ranges (leave the end blank for a single day). Past ranges are dropped; a range that started in the past is clamped to today. |
| Origins / Destinations | Plain IATA codes or seats.aero group codes — city (NYC, LON, TYO), region (CAL, EUR, WST) or airline-hub sets (UAH, DLL, AAH). The full table is rendered at the bottom of /scheduled, and served as JSON at /api/airport-groups. |
| Cabins | economy / premium / business / first |
| Programs | Any of the seats.aero loyalty programs |
| Transfer partners | Amex MR, Chase UR, Citi TYP, Capital One, Bilt, Wells Fargo, Marriott — each expands to every program those points transfer into. JSON at /api/transfer-partners. |
| Interval | Per-schedule cadence in hours |
Alert limits — the search runs in full, but you are only notified for hits that satisfy all of the limits you set (each is optional and independent):
- Airline allowlist — IATA codes; a hit must be operated by at least one of them
- Max points — inclusive cap on the award cost
- Max taxes/fees — inclusive cap. Taxes are not in the seats.aero
/searchresponse, so a schedule with a taxes cap hydrates surviving candidates via/trips/{id}; without a cap that extra call is skipped.
Schedules persist to data/scheduled_searches.json. A background loop wakes every
15 minutes and runs only the schedules whose own interval is due; new hits (deduped
per route+date+program+cabin+cost) fire a Pushover notification.
/api/scheduled/{id}/preview returns the expanded query legs so you can see how many
seats.aero calls a schedule costs before enabling it.
# Build
docker build -t award-search .
# Run CLI
docker run --rm -v $(pwd)/credentials:/app/credentials:ro award-search python -m src.cli --help
# List programs
docker run --rm -v $(pwd)/credentials:/app/credentials:ro award-search python -m src.cli list-programs
# Search
docker run --rm -v $(pwd)/credentials:/app/credentials:ro \
-e SEATS_AERO_API_KEY=your-key \
award-search \
python -m src.cli search -o JFK -d LAX --date 2024-07-15 -c business -p united,delta| Variable | Description | Required |
|---|---|---|
SEATS_AERO_API_KEY |
Seats.aero Partner API key | For award search |
AWARDWALLET_API_KEY |
AwardWallet Business API key | For balances |
AWARDWALLET_USER_ID |
AwardWallet user ID | For balances |
SERPAPI_API_KEY |
SerpAPI key for Google Flights | For positioning |
PUSHOVER_APP_TOKEN |
Pushover app token | For alert notifications |
PUSHOVER_USER_KEY |
Pushover user key | For alert notifications |
services:
award-search:
build: .
ports:
- "8000:8000"
volumes:
- ./credentials:/app/credentials:ro
environment:
- SEATS_AERO_API_KEY=${SEATS_AERO_API_KEY}
- AWARDWALLET_API_KEY=${AWARDWALLET_API_KEY}
- AWARDWALLET_USER_ID=${AWARDWALLET_USER_ID}
- SERPAPI_API_KEY=${SERPAPI_API_KEY}
- PUSHOVER_APP_TOKEN=${PUSHOVER_APP_TOKEN}
- PUSHOVER_USER_KEY=${PUSHOVER_USER_KEY}docker-compose up -dUnited, Delta, American, Southwest, JetBlue, Lufthansa, Air Canada, Flying Blue, Emirates, Virgin Atlantic, Alaska, British Airways, Cathay Pacific, Singapore Airlines, and more via Seats.aero.
# Install locally
pip install -r requirements.txt
# Run web UI
uvicorn src.webui.app:app --reload --port 8000
# Run CLI
python -m src.cli --help