← Trang chủ
Developer

API tích hợp dễ dàng

REST API hỗ trợ JSON, OAuth2 client credentials. Sandbox miễn phí, rate limit 1.000 request/giờ.

Real-time

Webhook + polling, latency <200ms.

OAuth 2.0

Client credentials, scoped tokens.

SDK

Node, Python, PHP, Go.

POST/api/quote

Lấy báo giá theo trọng lượng, kích thước, tuyến đường.

{
  "from": "VN",
  "to": "US",
  "weightKg": 2.5,
  "dimensionsCm": { "l": 30, "w": 20, "h": 15 },
  "service": "air-express"
}
GET/api/track/:code

Lấy trạng thái và milestones của đơn hàng.

// example: /api/track/GS-8821-VN
POST/api/orders

Tạo mới đơn vận chuyển.

{
  "sender": { "name": "...", "phone": "..." },
  "receiver": { "name": "...", "phone": "...", "address": "..." },
  "items": [{ "name": "...", "qty": 1, "value": 100 }],
  "service": "air-express"
}

Nhận API key sandbox

Đăng ký tài khoản developer, có sẵn 1.000 request miễn phí mỗi tháng.

Đăng ký →