GATE MAIN REST API – Buy & Sell Integration Guide

Powering Global Travel Connectivity Through API Technology

The GATE MAIN REST API enables travel companies — such as OTAs, wholesalers, tour operators, and consolidators — to connect, buy, and sell travel inventory in real time.

It provides a fast, secure, and scalable integration for flights, hotels, transfers, activities, and other services, all through a single unified platform.


Understanding API Modes

The GATE MAIN REST API supports two primary integration modes:

Buy API (Buyer Mode)

Used when your company wants to purchase travel inventory from Gate Main or another connected supplier.

  • You will use the Buy API to:
    • Search, book, and manage hotels, flights, transfers, and other travel services.
    • Access real-time availability, rates, and content.

    • Confirm and cancel bookings through automated processes.

    • Retrieve invoices, vouchers, and booking reports.

  • Who Uses It:
    • OTAs
    • B2B Agents
    • Consolidators
    • Tour Operators

Sell API (Supplier Mode)

Used when your company wants to distribute and sell its own inventory to global partners via API connectivity.

  • You will use the Sell API to:
    • Expose your hotels, tours, or travel products to other buyers and platforms.
    • Control availability, pricing, and allotments dynamically.
    • Receive and manage bookings directly into your system.
    • Track partner activity and API performance.
  • Who Uses It:
    • DMCs
    • Bed Banks
    • Wholesalers
    • Airlines
    • Hotel Chains

Authentication & Security

All API requests are protected by OAuth 2.0 authentication.

You will receive unique API credentials (Client ID & Secret) once your company signs the API agreement and completes onboarding.

Headers Example:

Authorization: Bearer {access_token}

Content-Type: application/json

Accept: application/json

Tokens must be refreshed periodically to maintain secure access.

Send Request