Project

fareTrader

An autonomous Python agent that monitors Delta Air Lines first-class and Delta One fares across configured routes and date windows, booking automatically when prices drop below your threshold — using eCredits as zero-cost options on premium seats.

Tech Stack

Python

Core agent logic with dataclass-driven route configuration, a continuous scan scheduler, and env-var-first secrets management — no hardcoded credentials anywhere.

FastAPI

RESTful backend exposing scan status, booking inventory, price history, and a manual scan trigger — served via Vercel's Python runtime with automatic OpenAPI docs.

Playwright

Headless browser automation against delta.com — handles login, fare search, seat selection, and booking confirmation with a configurable DRY_RUN mode for safe testing.

SQLite

Local database tracking held bookings, price history across every scanned route and date, and a full scan log with trigger counts, booking counts, and error rates.

Key Features

Autonomous Fare Monitoring

Continuously scans configured route and date combinations on a set interval. Triggers a booking attempt the moment a fare drops to or below the configured price threshold.

Auto-Booking via eCredits

Executes the full Playwright flow through delta.com — login, search, selection, and confirmation — using eCredits as a zero-financial-risk way to hold premium inventory before deciding whether to fly.

Web Dashboard

FastAPI-backed UI showing real-time scan status, held booking inventory, price history charts by route, and a full scan log — with a button to trigger a manual scan on demand.

Push Notifications

Pushover integration delivers instant alerts for booking events and scan summaries — no need to watch the dashboard.

Questions or feedback?