Table of Contents

🚀 Tripdata API Documentation

Overview

Welcome to the integrated documentation for flight booking, hotel reservations, and E-Sim services. This guide provides detailed instructions for developers to integrate smart travel solutions.


🏁 Getting Started

Quick Start in 3 Steps:

  1. Authenticate: Get your API token.

    curl -X POST "https://id-stag.tripdata.vn/auth/token" `
    -H "Content-Type: application/x-www-form-urlencoded" `
    -d "client_id=YOUR_CLIENT_ID&client_secret=YOUR_SECRET&grant_type=client_credentials"
    
    Parameter Description
    client_id Partner identifier from Flight-Hub
    client_secret Your secret authentication key
    grant_type Fixed value: client_credentials

    Authentication Details | Error Handling

  2. API Endpoint:

    • URL: https://api-stag.tripdata.vn/{path}
    • Method: POST
    • Content-Type: application/json
  3. Integration: Choose a service to implement:


🌟 Highlight Features

Service Key Features Documentation Links
Flight-Hub - Flight Booking
- Ticket Management
Explore
E-Sim - E-Sim Services
- Buy E-Sim
Get Started
Hotel - Hotel Search
- Flexible Reservations
Learn More