Build on Fare Hacker Data

Access historical fare trends, award availability, and deal feeds via our REST API.

Endpoints

GET/data/v1/fares/trends

Historical fare trend data for any route.

origindestinationdays=90cabin
GET/data/v1/fares/routes/{origin}/{destination}

Route-level statistics — min/avg/max, programs available.

GET/data/v1/awards/availability

Award seat availability patterns.

origindestinationprogramcabindays_ahead
GET/data/v1/deals/feed

Live deal feed — error fares, sweet spots, 5th freedom routes.

limit=50fare_kind

Code Examples

cURL
Python
JavaScript
curl -H "X-API-Key: fh_your_key" \ https://farehacker.app/data/v1/deals/feed
import requests resp = requests.get( "https://farehacker.app/data/v1/deals/feed", headers={"X-API-Key": "fh_your_key"}, params={"limit": 10} ) deals = resp.json() for deal in deals["results"]: print(deal["route"], deal["price"])
const resp = await fetch( "https://farehacker.app/data/v1/deals/feed?limit=10", { headers: { "X-API-Key": "fh_your_key" } } ); const { results } = await resp.json(); results.forEach(d => console.log(d.route, d.price));

Pricing

Hobby

Free
  • 100 requests / day
  • All endpoints
  • Community support
Get API Key

Enterprise

$299/mo
  • 10,000 requests / day
  • All endpoints
  • Dedicated support
Get API Key