🚀 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:
- Authenticate: Get your API token.
curl --location '{{host}}/connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'client_id=' \
--data-urlencode 'password=@Password123' \
--data-urlencode 'username=account@tripdata.vn'
| Parameter | Required | Description |
|---|---|---|
grant_type |
✅ Yes | Must be password |
client_id |
✅ Yes | Client application identifier |
username |
✅ Yes | User's email/username |
password |
✅ Yes | User's password |
Authentication Details | Error Handling
API Endpoint:
- URL:
{{host}}/{path} - Method:
POST - Content-Type:
application/json
- URL:
Integration: Choose a service to implement:
- ✈️ Flight-Hub APIs
- 📱 E-Sim
- 🏨 Hotel
🌟 Highlight Features
| Service | Key Features | Documentation Links |
|---|---|---|
| Flight-Hub | - Flight Booking - Ticket Management |
API Document |
| E-Sim | - E-Sim Services - Buy E-Sim |
API Document |
| Hotel | - Hotel Search - Flexible Reservations |
API Document |