This is an auto-generated translation

Rapid Car API:启动要求

快速汽车 API 集成要求。

为了保证您的 business-to-business (B2B) 或 business-to-consumer (B2C) 实现的完整性,Rapid Car API 要求某些页面包含特定信息。这里只列出有特定要求的页面。

|

搜索页面

设置精确的搜索参数

SP1:设置精确的搜索参数

添加字段以捕获 pick-up 和 drop-off 位置以及租赁日期和时间,然后发送可用性请求。您的参数可以允许按区域(半径和坐标)、机场(使用机场区域 ID)或两者的组合进行搜索。

搜索字段包括取车和还车地点以及租赁日期和时间


示例搜索

按半径和坐标

/v2/cars/availability?pickup_time=2026-02-12T10:00:00&dropoff_time=2026-02-14T18:00:00&pickup_area=10,33.9422,-118.4036&dropoff_area=10,33.9422,-118.4036&driver_age=30&country_code=US&currency=USD&language=en-US&limit=200&sort=total_price&sales_channel=website&sales_environment=car_only&filter=refundable&filter=vendor_collect

按机场区域 ID

/v2/cars/availability?pickup_time=2026-02-12T10:00:00&dropoff_time=2026-02-14T18:00:00&pickup_airport=5783884&dropoff_airport=5783884&driver_age=30&country_code=US&currency=USD&language=en-US&limit=200&sort=recommended&sales_channel=website&sales_environment=car_only&filter=refundable&filter=expedia_collect

两个参数

/v2/cars/availability?pickup_time=2026-02-12T10:00:00&dropoff_time=2026-02-14T18:00:00&pickup_area=10,33.9422,-118.4036&dropoff_airport=5456204&driver_age=30&country_code=US&currency=USD&language=en-US&limit=200&sort=total_price&sales_channel=website&sales_environment=car_only&filter=refundable&filter=vendor_collect

SP2:获取驾驶员年龄

30 岁以下或 70 岁以上的驾驶员可能需要缴纳额外的强制性费用。为了使我们的 API 能够正确计算预订费用,请在搜索时提供司机的年龄。将此范围内的驱动程序默认值设置为 40。该值反映在 driver_age参数中。

一个带有“30 岁以下或 70 岁以上的驾驶员可能需要支付额外费用”字样的复选框

展示页面

可靠的搜索结果

列表页面是一系列选项的集合,也称为搜索结果页面。它应该显示以下元素。

搜索结果显示车辆类型、供应商和价格,以及类似车辆的图片。


LP1:提供准确的租赁信息

列表页面(也称为搜索结果页面)应显示从 API 返回的所有租赁材料信息,例如:

  • 每辆车的级别、品牌和型号
  • 最大容量
  • 变速器类型
  • 燃料来源:汽油、混合动力、电动等(加州市场)
  • 允许的里程数
  • Pick-up 点和 drop-off 点
  • 租赁公司名称或标志

汽车租赁的许多属性都作为 acriss_code参数的一部分提供,可以使用 ACRISS 表 中的值进行解码。例如,JFBC 的值代表中级精英(J 类)SUV(F 型),配备自动 4-wheel-drive(B 型变速器)和电力(燃油/空调)。C).

"description": "Skoda Enyaq Electric car or similar",
        "number_of_passengers": 5,
        "number_of_doors": {
            "min": 5,
            "max": 5
        },
        "luggage_count": {
            "small": 3,
            "large": 3
        },
        "acriss_code": "JFBC",

LP2:总价及付款到期日

请注明所选租赁期的总价,以及租金是否必须提前支付(立即支付,或 Expedia 收款)或在柜台支付(稍后支付,或商家收款)。

注意: 预订 pick-up 和 drop-off 地点不同(也称为 one-way 租赁)通常会产生额外的转让费。

页面显示区域,显示每日房价、总价和折扣价

立即支付 / Expedia 收集示例

[
 {
   ...
   "rate": {
     "merchant_of_record": "expedia",
     "sale_scenario": {
       "package": false,
       "member": false,
       "mobile_promotion": false
     },
     "pricing": {
       "daily_rate_strikethrough": {...},
       "daily_rate": {...},
       "totals": {
         "inclusive_strikethrough": {...},
         "inclusive": {...},
         "exclusive": {...},
         "fees": {...}
       }
     }
   },
   ...
 }
]

稍后付款/商家代收示例

[
 {
   ...
   "rate": {
     "merchant_of_record": "vendor",
     "sale_scenario": {
       "package": false,
       "member": false,
       "mobile_promotion": false
     },
     "pricing": {
       "daily_rate": {...},
       "totals": {
         "inclusive": {...},
         "exclusive": {...},
         "fees": {...}
       }
     }
   },
   ...
 }
]

LP3:Non-refundable 标志

对于 non-refundable 费率,请在产品描述中明确显示。

注意: 如果响应中不存在 cancel_penalties值,则表示可以免费取消。

[ 
  ...
  {
    "cancel_penalties": [
      {
        "start": "2026-02-11T10:00:00",
        "end": "2026-02-12T10:00:00",
        "currency": "USD",
        "amount": "50.00"
      },
      {
        "start": "2026-02-12T10:00:00",
        "currency": "USD",
        "amount": "50.00"
      }
    ],
  }
  ...
]

LP4:标准保险信息

请提供基本碰撞损害保障的相关信息以及任何其他保险选项。

{
  ...
  "policies": [
    ...
    {
      "name": "Basic Collision Damage Protection",
      "descriptions": [],
      "policy_statements": [
        {
          "statement": "Basic Collision Damage Protection",
          "statement_condition": "included"
        }
      ],
      "policy_type": "PRODUCT_USE_POLICY"
    },
    ...
  ],
  ...
}

产品描述页面

车辆和供应商信息

PDP1:提供准确的租赁信息

产品详情页面(包含产品描述)应显示从 API 返回的所有材料租赁信息,例如:

  • 每辆车的级别、品牌和型号
  • 最大容量
  • 门的数量
  • 行李容量
  • 变速器类型
  • 燃料来源:汽油、混合动力、电动等(加州市场)
  • 允许的里程数
  • Pick-up 点和 drop-off 点
  • 汽车租赁公司名称或标志

车辆描述,包括以下所有要求

汽车租赁的许多属性都作为 acriss_code参数的一部分提供,可以使用 ACRISS 表 中的值进行解码。例如,JFBC 的值代表中级精英(J 类)、SUV(F 型)、自动 4-wheel-drive(B 变速器)和电力(燃油/空调)。C)。

"description": "Skoda Enyaq Electric car or similar",
        "number_of_passengers": 5,
        "number_of_doors": {
            "min": 5,
            "max": 5
        },
        "luggage_count": {
            "small": 3,
            "large": 3
        },
        "acriss_code": "JFBC",

PDP2:显示完整的租赁政策

租车政策,包括任何规则和限制,应在旅客最终确定租车之前完整披露。这包括在 pick-up 时应缴纳的任何可退还保证金。

模态框列出了两个可展开的政策部分,并提供链接以查看所有规则和限制

租赁政策示例

"policies": [
        {
            "name": "Fuel: full to full",
            "descriptions": [],
            "policy_statements": [
                {
                    "statement": "Fuel: full to full",
                    "statement_condition": "Vehicle to be returned with the same amount of fuel as start of the trip to avoid refuelling charges."
                }
            ],
            "policy_type": "PRODUCT_USE_POLICY"
        },
        {
            "name": "Unlimited mileage",
            "descriptions": [],
            "policy_statements": [
                {
                    "statement": "Unlimited mileage",
                    "statement_condition": "Drive unlimited distance with this car at no extra cost."
                }
            ],
            "policy_type": "PRODUCT_USE_POLICY"
        },
        {
            "name": "Cancellation available",
            "descriptions": [],
            "policy_statements": [
                {
                    "statement": "Cancellation available",
                    "statement_condition": "Before Fri, Sep 19, 10:30am"
                }
            ],
            "policy_type": "CANCELLATION_POLICY"
        },
        {
            "name": "",
            "descriptions": [],
            "policy_statements": [],
            "policy_type": "PRODUCT_USE_POLICY"
        },
        {
            "name": "Online check-in",
            "descriptions": [],
            "policy_statements": [
                {
                    "statement": "",
                    "statement_condition": "Check in online on the Sixt website by uploading required documents, like driver’s license, up to the time of pick-up."
                }
            ],
            "policy_type": "CHECKIN_POLICY"
        },
        {
            "name": "Pay now and save",
            "descriptions": [],
            "policy_statements": [],
            "policy_type": "PAYMENT_POLICY"
        }
    ],

规则和限制示例

{ 
  "rules_and_restrictions": [ 
    { 
      "title": "Rental policies overview", 
      "statements": "<p>The following rules and restrictions are provided by the car rental company.</p>" 
    },

附加 country-specific 要求

在欧盟和英国地区,您必须显示免责声明,说明撤离的权利不适用。

租赁政策模态框,其中圈出的信息解释了英国消费者法律的差异

PDP3:显示取消政策

如果需要取消租车,旅行者需要了解供应商的取消政策的具体规定。

免费取消

部分商家提供免费取消预订服务,不限取消时间。

通知框显示“立即锁定此价格,随时免费取消”。

{...
        {
            "name": "Free cancellation",
            "descriptions": [],
            "policy_statements": [],
            "policy_type": "CANCELLATION_POLICY"
        },
        {
            "name": "Free cancellation",
            "descriptions": [],
            "policy_statements": [
                {
                    "statement": "Lock in this price today, cancel free of charge anytime. Reserve now and pay at pick-up.",
                    "statement_condition": ""
                }
            ],
            "policy_type": "PRODUCT_USE_POLICY"
        },
}

免费取消截止日期

根据具体情况,一些供应商可能会允许在一定时间之前免费取消预订,例如在 pick-up 日期前 24 小时。

取消直至包含日期和时间信息的声明

{        
        {
            "name": "Free cancellation",
            "descriptions": [],
            "policy_statements": [
                {
                    "statement": "Free cancellation",
                    "statement_condition": "Before Wed, Oct 1, 10:30am"
                }
            ],
            "policy_type": "CANCELLATION_POLICY"
        },
        {
            "name": "Free cancellation",
            "descriptions": [
                "Free cancellation up to 24 hours before pick-up",
                "Cancellations made after that or no-shows are subject to a fee of $50 or total reservation amount, whichever is lesser which will be charged on the card details shared by you.",
                "Get 100% refund of Collision Damage Plan cost if canceled before the scheduled pick-up time. This insurance will be canceled automatically with your rental car cancellation.",
                "Cancellations made after that or no-shows are subject to a fee of $50 or total reservation amount, whichever is lesser which will be charged on the card details shared by you.",
                "Get 100% refund of Collision Damage Plan cost if canceled before the scheduled pick-up time. This insurance will be canceled automatically with your rental car cancellation."
            ],
            "policy_statements": [
                {
                    "statement": "Lock in this price today, cancel free of charge up to 24 hours before pick-up. Cancellations within 24 hours of pick-up or no shows will not be eligible for a refund.",
                    "statement_condition": ""
                }
            ],
            "policy_type": "PRODUCT_USE_POLICY"
        },
    }
}

PDP4:可选配件的详细信息和费用

旅客可以添加儿童安全座椅或通行费通行证等可选附加服务。这些额外费用均需向商家支付,不会在预订时收取。可选项目视供应情况而定,不保证一定能提供。

"optional_extras": [
        {
            "id": "TollPaymentTagPass",
            "name": "TOL - Toll pass/Express lane",
            "rate_price": {
                "rate_period": "daily",
                "rate": {
                    "billable_currency": {
                        "value": "15.71",
                        "currency": "USD"
                    },
                    "request_currency": {
                        "value": "15.71",
                        "currency": "USD"
                    }
                }
            }
        },
        {
            "id": "InfantChildSeat",
            "name": "CSI - Infant seat",
            "rate_price": {
                "rate_period": "daily",
                "rate": {
                    "billable_currency": {
                        "value": "17.16",
                        "currency": "USD"
                    },
                    "request_currency": {
                        "value": "17.16",
                        "currency": "USD"
                    }
                }
            }
        }
    ]

预订页面

结账详情

预订详情摘要(BP1)

摘要应始终包含以下内容:

* 租车日期 * Pick-up 地点、时间和地址 * Drop-off 地点、时间和地址 * 车型 * 租车公司名称 * 燃油政策

预订页面显示以上所有元素


BP2:显示租金

价格的显示方式取决于预订的房价类型和所使用的预订渠道。您的发布团队会告知您哪些要求适用于您。

单独价格

单价可以单独出售,也可以作为套餐的一部分出售。

在预订页面上,您必须显示所选租赁期的总价以及任何适用的税费明细(包括 one-way 费用)。此外,还需说明租金是否必须提前支付(立即支付,或 Expedia 收款)或在柜台支付(稍后支付,或商家收款)。可选的 add-ons 总是在柜台支付。

此选项适用于通过代理商(B2B)预订的旅行,也适用于直接通过您的集成(B2C)预订的旅行。

Car-only 租赁信息,包括价格、折扣价、租赁总价及税费明细

Package rates

套餐价格只能与符合条件的套餐组件一起以捆绑价格显示和销售。套餐价格不得单独告知或透露给旅客,且这些价格只能适用于归还符合条件的组件或其他旅行服务的行程。

预订套餐时,显示小计、税费和套餐总价。如果无法提供税费明细,则仅显示套餐总价。务必包含付款到期日信息(立即付款或稍后付款)。可选的 add-ons 始终在柜台支付。

此选项适用于通过代理商(B2B)预订的旅行,也适用于直接通过您的集成(B2C)预订的旅行。

包含酒店信息、租车信息和所有项目总价的套餐预订摘要

公开的包裹费率

公开的套餐价格只能向已完成符合条件的套餐组件预订的旅客显示,并且只能应用于退回符合条件的组件或其他旅行服务的行程,或者用于与该行程专门相关的沟通中。

您必须显示所选租赁期的总价以及任何适用税费的明细(包括 one-way 费用)。此外,还需说明租金是否必须提前支付(立即支付,或 Expedia 收款)或在柜台支付(稍后支付,或商家收款)。可选的 add-ons 始终在柜台支付。

此选项适用于通过代理商(B2B)预订的旅行,也适用于直接通过您的集成(B2C)预订的旅行。

Member-only 交易价格

Member-only 交易只能在 closed-user 环境中销售(例如通过登录网站、移动应用程序或代理工具)。

显示划线价格时,请解释其计算方法,例如:

我们网站上的标准价格,由供应商提供,根据您的搜索条件,在应用所有折扣和 Rewards 之前。

您必须显示所选租赁期的总价以及任何适用税费的明细(包括 one-way 费用),以及租赁是否必须预先支付(立即支付,或 Expedia 到付)或在柜台支付(稍后支付,或商家到付)。可选的 add-ons 始终在柜台支付。

此选项适用于通过代理商(B2B)预订的旅行,也适用于直接通过您的集成(B2C)预订的旅行。

移动端价格

移动端资费仅在通过移动设备访问时出售。这可以通过移动浏览器或移动应用程序完成。

显示划线价格时,请解释其计算方法,例如:

我们网站上的标准价格,由供应商提供,根据您的搜索条件,在应用所有折扣和 Rewards 之前。

您必须显示所选租赁期的总价以及任何适用税费的明细(包括 one-way 费用),以及租赁是否必须预先支付(立即支付,或 Expedia 收款)或在柜台支付(稍后支付,或商家收款)。可选的 add-ons 总是在柜台支付。

此选项适用于通过代理商(B2B)预订的旅行,也适用于直接通过您的集成(B2C)预订的旅行。

税费明细

价格显示必须包含费用数组中所有元素的总和,并以“税费”为标题显示。在价格明细中提及任何税费总额时,必须显示以下确切文本。

Taxes are tax recovery charges we pay to travel providers (e.g., car rentals) and/or are remitted by us. Fees may include additional charges imposed by the travel providers. For more details, please refer to our Terms of Use.

此文本可以显示为 pop-up、纯文本、模态框或其他形式,但必须与价格显示一起显示。

注意: 当 API 没有返回 fees对象时,您应该将税费行项目标记为“已包含”。

立即支付 / Expedia 收集示例

[ 
 { 
   ... 
   "rate": { 
     "merchant_of_record": "expedia", 
     "sale_scenario": { 
       "package": false, 
       "member": false, 
       "mobile_promotion": false 
     }, 
     "pricing": { 
       "daily_rate_strikethrough": {...}, 
       "daily_rate": {...}, 
       "totals": { 
         "inclusive_strikethrough": {...}, 
         "inclusive": {...}, 
         "exclusive": {...}, 
         "fees": {...} 
       } 
     } 
   }, 
   ... 
 } 
]

稍后付款/商家代收示例

[ 
 { 
   ... 
   "rate": { 
     "merchant_of_record": "vendor", 
     "sale_scenario": { 
       "package": false, 
       "member": false, 
       "mobile_promotion": false 
     }, 
     "pricing": { 
       "daily_rate": {...}, 
       "totals": { 
         "inclusive": {...}, 
         "exclusive": {...}, 
         "fees": {...} 
       } 
     } 
   }, 
   ... 
 } 
]

BP3:显示取消政策

如果需要取消租车,旅行者需要了解供应商的取消政策的具体规定。

免费取消

部分商家提供免费取消预订服务,不限取消时间。

通知框显示“立即锁定此价格,随时免费取消”。

{
        {
            "name": "Free cancellation",
            "descriptions": [],
            "policy_statements": [],
            "policy_type": "CANCELLATION_POLICY"
        },
        {
            "name": "Free cancellation",
            "descriptions": [],
            "policy_statements": [
                {
                    "statement": "Lock in this price today, cancel free of charge anytime. Reserve now and pay at pick-up.",
                    "statement_condition": ""
                }
            ],
            "policy_type": "PRODUCT_USE_POLICY"
        },
}

免费取消截止日期

根据具体情况,一些供应商可能会允许在一定时间内免费取消预订,例如在 pick-up 日期前 24 小时。

取消直至账单结算(包括日期和时间信息)

{
  ...        
        {
            "name": "Free cancellation",
            "descriptions": [],
            "policy_statements": [
                {
                    "statement": "Free cancellation",
                    "statement_condition": "Before Wed, Oct 1, 10:30am"
                }
            ],
            "policy_type": "CANCELLATION_POLICY"
        },
        {
            "name": "Free cancellation",
            "descriptions": [
                "Free cancellation up to 24 hours before pick-up",
                "Cancellations made after that or no-shows are subject to a fee of $50 or total reservation amount, whichever is lesser which will be charged on the card details shared by you.",
                "Get 100% refund of Collision Damage Plan cost if canceled before the scheduled pick-up time. This insurance will be canceled automatically with your rental car cancellation.",
                "Cancellations made after that or no-shows are subject to a fee of $50 or total reservation amount, whichever is lesser which will be charged on the card details shared by you.",
                "Get 100% refund of Collision Damage Plan cost if canceled before the scheduled pick-up time. This insurance will be canceled automatically with your rental car cancellation."
            ],
            "policy_statements": [
                {
                    "statement": "Lock in this price today, cancel free of charge up to 24 hours before pick-up. Cancellations within 24 hours of pick-up or no shows will not be eligible for a refund.",
                    "statement_condition": ""
                }
            ],
            "policy_type": "PRODUCT_USE_POLICY"
        },
    }
}

BP4:Expedia Group 条款和条件 URL 的链接

Expedia Group 条款和条件详细说明了管理预订的 traveler-facing 条款。您必须提供指向这些条款的链接,可以在您网站的条款和条件文本中,也可以直接从您的预订页面提供。链接文本应为“供应商条款和条件”,并应放置在 easy-to-find 位置。

您可以从这里获取我们支持的每种语言版本的条款和条件。 Rapid API 条款和条件页面

条款和条件弹窗(含全文链接)

确认页面

无要求

目前确认页面没有任何要求。

电子邮件收据或凭证

旅客预订信息

ER1:包含预订详情摘要

摘要应始终包含以下内容:

* 租车日期 * Pick-up 地点、时间和地址 * Drop-off 地点、时间和地址 * 车型 * 租车公司名称 * 燃油政策

预订详情的电子邮件或凭证摘要

ER2:显示租赁价格

价格的显示方式取决于预订的房价类型和所使用的预订渠道。您的电子邮件收据应使用与您在预订页面上填写的相同的价格详情。

邮件中会显示总价和付款截止日期。

一般技术要求

Behind-the-scenes 要求

TR1:联盟参考 ID

请提供您的预订参考编号。affiliate_reference_id每个预订请求都包含此字段。这样可以避免重复预订。


TR2:旅行者国家代码

每次预订请求时,请使用正确的旅客出发地国家/地区代码。


TR3:账单信息

请提供付款人(或公司)的准确付款信息。应包括支付租金者的姓名、国家和邮政编码。


TR4:电子邮件通信

每次预订请求时,请提供客户的电子邮件地址或受监控的电子邮件邮箱地址,以确保 booking-related 通信能够进行。


TR5:旅客信息

在预订的每个阶段,务必提供有关旅行者的准确信息,包括旅行者的姓名和联系电话号码。


TR6:错误处理

请确认您已理解以下内容。快速错误处理建议用于预订请求。

您觉得这个页面有用吗?
我们该如何改进这些内容?
感谢您帮助我们改进!