KongAir Bookings API
Enterprise-grade flight booking infrastructure that scales with your business. Process thousands of bookings per second with our battle-tested API.
Enterprise-grade flight booking infrastructure that scales with your business. Process thousands of bookings per second with our battle-tested API.
Built for modern travel platforms that demand speed, reliability, and exceptional developer experience.
Everything you need to build world-class flight booking experiences.
Query by route, date, airline, or flight number with powerful filtering options.
Interactive seat maps with real-time availability for all cabin classes.
Instant booking confirmation with unique ticket numbers and e-tickets.
Retrieve, modify, and cancel bookings with full transaction history.
Our RESTful API is designed for developers who value their time. Clear documentation, predictable responses, and comprehensive error handling mean you'll be processing real bookings in your first hour.
What's Included:
// Initialize the KongAir client
const kongair = require('@kongair/sdk');
const client = new kongair.Client({
apiKey: process.env.KONGAIR_API_KEY,
environment: 'production'
});
// Create a booking
const booking = await client.bookings.create({
flight_number: 'KA924',
seat: '32A',
passenger: {
name: 'Jane Smith',
email: 'jane@example.com'
}
});
console.log(`Booking confirmed: ${booking.ticket_number}`);
// => Booking confirmed: CDF3412
Zero configuration required
Automatic retries and rate limiting
Type-safe with full TypeScript support
From zero to production in under an hour.
Explore our complete API with interactive examples and detailed response schemas.
Get all bookings for the authenticated customer with full flight and seat details.
Authentication: Required (Bearer Token)
Response Fields:
ticket_number string
Unique booking identifier
seat string
Assigned seat (e.g., "32A")
flight.number string
Flight identifier (e.g., "KA924")
flight.route_id string
Route code (e.g., "LHR-SFO")
Example Response:
[
{
"ticket_number": "CDF3412",
"seat": "32A",
"flight": {
"number": "KA924",
"route_id": "LHR-SFO",
"scheduled_departure": "2023-09-03T09:15:00Z",
"scheduled_arrival": "2023-09-03T14:23:00Z"
}
}
]
200 OK
401 Unauthorized
Join hundreds of developers building the future of travel with KongAir.
Start Building for FreeFree tier available
No credit card required
Sandbox included