🛫 Travel Booking API

A TypeScript/Fastify travel booking orchestrator with Duffel API integration

Available Endpoints

GET /health

Check API health and service status

GET /search/flights

Search for flight offers

Examples:

POST /book/flight

Create a flight booking using offer ID from search results

Requires passenger details, payment info, and valid offer ID

GET /bookings/latest

Get the 10 most recent flight bookings

GET /bookings?pnr=ABC123

Search bookings by PNR (Passenger Name Record)

Documentation

Quick Test

Try the health check: /health


Built with TypeScript, Fastify, and Duffel API