---
title: "KongAir Bookings API"
description: "Transform your travel platform with our powerful, developer-first flight booking API"
url: "https://dev-portal.dehaven.org/mdc-highlight"
image: "https://dev-portal.dehaven.org/_og/d/c_Ocean.takumi,title_KongAir+Bookings+API,description_~VHJhbnNmb3JtIHlvdXIgdHJhdmVsIHBsYXRmb3JtIHdpdGggb3VyIHBvd2VyZnVsLCBkZXZlbG9wZXItZmlyc3QgZmxpZ2h0IGJvb2tpbmcgQVBJ,props_eyJ0aGVtZSI6eyJtb2RlIjoibGlnaHQiLCJjb2xvcnMiOnsicHJpbWFyeSI6IiMyRUE4QTYifX19,p_Ii9tZGMtaGlnaGxpZ2h0Ig,s_9OJdp9Kv_sVhzXkQ.png"
---

## KongAir Bookings API

Enterprise-grade flight booking infrastructure that scales with your business. Process thousands of bookings per second with our battle-tested API.

[Start Building Now](#get-started)[Explore API Docs](#api-reference)

## [Why Developers Choose KongAir](#why-developers-choose-kongair)

Built for modern travel platforms that demand speed, reliability, and exceptional developer experience.

Lightning FastSub-100ms average response times globally. Our API is optimized for speed with intelligent caching and edge computing.

Enterprise SecurityOAuth 2.0, TLS 1.3, encryption at rest, comprehensive audit logs, and SOC 2 Type II compliance.

Real-time EverythingLive flight availability, instant booking confirmations, real-time seat selection, and WebSocket support for status updates.

## [Complete Booking Lifecycle](#complete-booking-lifecycle)

Everything you need to build world-class flight booking experiences.

### [Search Flights](#search-flights)

Query by route, date, airline, or flight number with powerful filtering options.

### [Seat Selection](#seat-selection)

Interactive seat maps with real-time availability for all cabin classes.

### [Create Bookings](#create-bookings)

Instant booking confirmation with unique ticket numbers and e-tickets.

### [Manage Bookings](#manage-bookings)

Retrieve, modify, and cancel bookings with full transaction history.

### [Integrate in Minutes, Not Months](#integrate-in-minutes-not-months)

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:**

-   Complete OpenAPI 3.0 specification
-   Interactive API explorer with live testing
-   Official SDKs for Python, JavaScript, Go, and Ruby
-   Comprehensive authentication guide
-   Webhook configuration for real-time events
-   Sandbox environment with test data

### [Quick Start Example](#quick-start-example)

```javascript
// 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

## [Get Started in Three Simple Steps](#get-started-in-three-simple-steps)

From zero to production in under an hour.

1.  Create Account

Sign up for your KongAir developer account in seconds. No credit card required for sandbox access.

[Sign Up Free →](https://portal.kong-air.com/register)

2.  Build & Test

Use our sandbox environment with realistic test data to build your integration risk-free.

[View API Docs →](#api-reference)

3.  Go Live

Switch to production keys and start processing real bookings instantly. No approval delays.

[Go to Dashboard →](https://portal.kong-air.com/dashboard)

## [API Reference](#api-reference)

Explore our complete API with interactive examples and detailed response schemas.

GET /bookings

POST /bookings

GET /health

### [Retrieve Customer Bookings](#retrieve-customer-bookings)

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:**

```json
[
  {
    "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 OK401 Unauthorized

### [Create New Booking](#create-new-booking)

Create a flight booking with instant confirmation. Seat assignment is validated in real-time.

**Authentication:** Required (Bearer Token)

**Request Body:**

**flight\_number** `string` _required_

Flight to book (e.g., "KA924")

**seat** `string` _optional_

Preferred seat assignment

**Example Request:**

```json
{
  "flight_number": "KA924",
  "seat": "32A"
}
```

**Example Response:**

```json
{
  "ticket_number": "CDF3412",
  "status": "confirmed",
  "booking_reference": "KA924-CDF3412",
  "created_at": "2023-09-01T10:30:00Z"
}
```

**Pro Tip:** If no seat is specified, the system will automatically assign the best available seat based on booking class and preferences.

201 Created401 Unauthorized404 Flight Not Found

### [Health Check Endpoint](#health-check-endpoint)

Monitor service availability and health status. Perfect for load balancers and monitoring systems.

**Authentication:** None required

**Use Cases:**

-   Load balancer health checks
-   Kubernetes liveness probes
-   Uptime monitoring
-   Service discovery

**Example Response:**

```json
{
  "status": "OK",
  "version": "1.0.0",
  "timestamp": "2023-09-01T10:30:00Z",
  "uptime": 172800
}
```

200 Healthy500 Unhealthy

## [Ready to Transform Your Travel Platform?](#ready-to-transform-your-travel-platform)

Join hundreds of developers building the future of travel with KongAir.

### [99.9%](#_999)

Uptime SLA

### [<100ms](#_100ms)

Avg Response

### [24/7](#_247)

Support

[Start Building for Free](https://portal.kong-air.com/register)

Free tier availableNo credit card requiredSandbox included