产品套件
为客户打造最佳租车体验
airport:SFO9/1 → 9/8
紧凑型SUV
$89/天露营车
$142/天GET /v2/search/drive
const res = await fetch(
'https://api.fly-and-drive.com/v2/search/drive' +
'?hub=airport:SFO&from=2026-09-01&to=2026-09-08',
{ headers: { Authorization: 'Bearer fd_connect_test_...' } }
);
const { offers } = await res.json();
// Create booking (idempotent)
await fetch('https://api.fly-and-drive.com/v2/bookings', {
method: 'POST',
headers: {
Authorization: 'Bearer fd_connect_test_...',
'Content-Type': 'application/json',
'Idempotency-Key': 'booking-001',
},
body: JSON.stringify({
offerId: offers[0].id,
hub: { type: 'airport', code: 'SFO' },
pickupDate: '2026-09-01',
returnDate: '2026-09-08',
customer: {
firstName: 'Jane',
lastName: 'Doe',
email: 'jane@example.com',
phone: '+14155550100',
},
}),
});新
多枢纽 v2, 机场、火车站和港口统一 API。
专为租车软件
原生 Fly & Drive
5
REST 端点
搜索 · 预订 · 状态 · 凭证 · Widget
3
沙盒枢纽
SFO · SF Embarcadero · SF Port
10/s
速率限制
每合作伙伴
24h
幂等性
安全重试