Next-Gen Travel Engine API

Build Powerful Travel Experiences with Enjoy Holiday Hub APIs

One unified API ecosystem connecting your platform to real-time domestic & international flights, 500,000+ verified hotels, 100,000+ bus routes, visa processing, and curated tour packages.

POST /api/b2b/flights/search.php
200 OK
{
  "status": "success",
  "data": {
    "search_id": "SRCH_FL_992147",
    "trip_type": "OneWay",
    "origin": "DEL",
    "destination": "BOM",
    "departure_date": "2026-11-20",
    "flights": [
      {
        "airline": "IndiGo",
        "flight_number": "6E-2041",
        "departure_time": "06:15",
        "arrival_time": "08:30",
        "duration": "2h 15m",
        "price": 5420,
        "available_seats": 9
      }
    ]
  }
}

API Key Authentication

Authenticate requests via HTTP Header or Request Parameter
Required for all endpoints

Enjoy Holiday Hub APIs authenticate requests using your unique secret API Key. You can provide your key in either of the following standard formats:

Method 1: Header (Recommended)

Send key in standard HTTP header:

X-API-Key: demo_123456789
Method 2: Body / Query

Send key in JSON payload or query param:

"api_key": "demo_123456789"
Demo Sandbox Key: demo_123456789
Get your production key in Agent Portal

API Solutions Catalog

Plug-and-play travel inventory with RESTful JSON endpoints

5 Core Services • 44 Active Endpoints
6 Endpoints

Flight Booking API

Live seat inventory and fares across domestic & international airlines. Includes one-way, round-trip, multi-city, fare rules, and instant PNR generation.

Instant PNR Explore Flights
8 Endpoints

Hotel Booking API

Over 500,000 verified global hotels, real-time room inventory, meal options, instant room blocking, price freeze, and voucher generation.

Real-time Rates Explore Hotels
8 Endpoints

Bus Booking API

Connect to 100,000+ routes with Volvo, AC sleeper, and semi-sleeper layouts. Provides live dynamic 2+1 & 2+2 seat coordinates and boarding points.

Dynamic Layouts Explore Bus
12 Endpoints

Visa Services API

Automated visa applications for 80+ countries. Document upload endpoints, fee calculators, appointment scheduling, and live status webhooks.

80+ Countries Explore Visa
10 Endpoints

Holiday Packages API

Curated holiday itineraries, departure schedules, day-by-day sightseeing details, inclusion lists, group bookings, and digital vouchers.

1,000+ Packages Explore Tours

Developer Toolkit

Interactive testing sandbox, rate limit policies, status code dictionaries, and changelog release notes.

Quick Start

7 Steps to Live Booking Integration

Full Quick Start Guide
1

Create Account

Sign up on Agent Portal to generate your unique sandbox API key.

2

Authenticate

Pass X-API-Key in HTTP header or api_key in request body.

3

Search Inventory

Query live flights, hotels, or buses with route, date and passenger parameters.

4

Block / Hold

Lock fare & seat/room for 10-15 minutes using block endpoints before payment.

5

Collect Passenger Info

Provide passenger names, contact info, and passport details for international bookings.

6

Confirm & Ticket

Deduct wallet balance or process payment to issue confirmed ticket & PNR.

7

Listen to Webhooks

Receive instant callback events for flight schedule changes, cancellations and visa updates.

Multi-Language Code Snippets

Every API reference page provides native, tested code examples in 4 major programming languages:

cURL PHP (cURL) JavaScript (Fetch) Python (Requests)

Easily copy drop-in snippets directly into your development codebase with pre-populated sandbox parameters.

Performance & SLA

99.98%
API Uptime
<350ms
Avg Latency
100/min
Rate Limit