API Reference
API Reference
Tài liệu API đầy đủ với ví dụ request/response. Tất cả endpoints sử dụng gateway base URL https://developers-dev.inet.vn/api/gateway/v1
Base URL
https://developers-dev.inet.vn/api/gateway/v1Xác thực
Authorization: Bearer <YOUR_API_KEY>Portal
iNET main API portal — domain, hosting, email, cloud services
Domain API
v110 endpointsAPI tra cứu WHOIS, kiểm tra tên miền, gợi ý tên miền
SSL API
v14 endpointsAPI kiểm tra SSL, decode certificate, so khớp chứng chỉ
Email API
v115 endpointsAPI xác thực email, kiểm tra deliverability
Hosting API
v116 endpointsHosting management APIs
Cloud VPS API
v120 endpointsCloud VPS management APIs
Cloud Server API
v121 endpointsCloud Server management APIs
Website API
v13 endpointsWebsite (OpenCart) management APIs
Tools
iNET Tools
Domain API
v111 endpointsDomain Tools
Network API
v14 endpointsNetwork Tools
SSL API
v15 endpointsSSL Tools
Mã trạng thái HTTP
MãMô tả
200OK - Yêu cầu thành công
201Created - Tạo tài nguyên thành công
400Bad Request - Tham số yêu cầu không hợp lệ
401Unauthorized - Thiếu hoặc API key không hợp lệ
403Forbidden - Không đủ quyền truy cập
404Not Found - Endpoint không tồn tại hoặc chưa được cấu hình
429Too Many Requests - Vượt quá giới hạn truy cập
502Bad Gateway - Không thể kết nối đến upstream server
504Gateway Timeout - Upstream server phản hồi quá chậm
Định dạng Response
Tất cả response từ Gateway API đều được wrap trong format chuẩn (có thể tùy chỉnh trong Admin Settings):
{
"success": true,
"data": { /* upstream response */ },
"meta": {
"endpoint": "/api/gateway/v1/domain/whois/example.com",
"latency_ms": 142,
"timestamp": "2026-03-15T14:30:00.000Z",
"request_id": "550e8400-e29b-41d4-a716-446655440000"
}
}