Welcome to AeroHub OpenAPI Document

Description:

AeroHub OpenAPI Specification is an API standard for channel partners, hereafter referred to as “shop,” to implement the flight booking process.
AeroHub defines an unified API that allows shop to customize their integration based on various business needs. Shop have the option to use the TechHub product to establish direct connections with airlines and access their original fares, or they can choose to use the FareMarket product to obtain the lowest fares offered by suppliers.

Product:

1. TechHub

Shop can obtain the original fares from airlines and access ancillary package contents such as baggage, infant tickets, seat selection, and more.
At the same time, TechHub empowers shop with the capability to settle with the airlines directly. Alternatively, TechHub also provides the option for shop to have AeroHub Pay handle the payment to the airlines.

2. FareMarket

Shop can obtain the lowest fare and ancillary options from AeroHub suppliers.

Integration Process

  1. Shop needs to submit white IP list, apply test API Key
  2. Develop in sandbox environment
  3. Complete testing case at sandbox, apply production API Key
  4. Stage test at production environment and go live

Notice:

  1. Please use HTTP/HTTPS protocol to access AeroHub OpenAPI, charset: UTF-8.
  2. Please set Content-Type in HTTP Header to “text/plain”.
  3. Please post your data via HTTP POST method to AeroHub OpenAPI, data format must be in JSON format.

Signature:

  1. Encrypt data based on a key using either the ‘AES256/CBC/PKCS5Padding’ or ‘AES256/CBC/PKCS7Padding’ encryption algorithm. If API access is enabled, you can retrieve the API ‘key’ and ‘secret’ from the Letsfly system, or request this information from your Letsfly business manager.

  2. For instance, if your key and secret data are:
    Key: ctPJAIdxUA3ptaWC
    Secret: 024sYXZXMlFKaiAa65IYuMCB0hE2CgaP

  3. The raw data should be formatted as ‘key&timestamp’, such as ‘ctPJAIdxUA3ptaWC&1500375695.65’. After encrypting the raw data with the provided secret, the corresponding encrypted string would be ‘15hhHQ8C6F9OxD/BNyztUPUJyiRlGPRafEkcI6q2E5Y=’.

    You can verify the encryption process at this site: https://devtoolcafe.com/tools/aes

Environment:

Environment API HTTPS request address
SandboxAllhttps://sandbox.aerohubtech.com
ProductionGetAvailabilityhttps://openapi-search.aerohubtech.com
Otherhttps://openapi.aerohubtech.com
  • Note: In the Production Environment, errors will occur if an API request is made with an incorrect address.

API structure:

AeroHub Open API has 5 types API including booking process, order related, payment, add-on service and seat selection, shop can integrate specific API according to different business cases.
API Structure

Author:fulei  Create time:2023-05-24 15:46
Last editor:AeroHub  Update time:2025-04-22 14:25