Get live rates
get_ratesFetch live hotel room availability and rates for up to 15 hotels and 1–15 night stays, with room, adult, and child details. Quote prices in CNY/USD before booking.
Instructions
Live rooms and rate plans for 1–15 hotelIds and a stay of 1–15 nights. Specify rooms and adults per room; provide every child age. Prices in CNY (default) or USD. Returns roomId/ratePlanCode for create_booking and meal/cancellation terms. Defaults to 5 cheapest rooms per hotel. Takes about 15 seconds; query a few hotels per call. Use search_hotels first to find IDs, get_hotel for static policies/photos, and get_planning_guide for flexible trips. Use this tool to verify availability and quote live prices before booking. Requires Fortrip login; 429 errors include retry guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rooms | Yes | Number of rooms requested for this stay, not number of guests. | |
| adults | Yes | Adults per room | |
| checkIn | Yes | Calendar date in YYYY-MM-DD format; checkOut must be 1–15 nights after checkIn. | |
| checkOut | Yes | Calendar date in YYYY-MM-DD format; checkOut must be 1–15 nights after checkIn. | |
| currency | No | Currency for displayed prices: CNY or USD. Booking charges the currency returned by create_booking. | CNY |
| hotelIds | Yes | Catalogue hotel IDs returned by search_hotels; compare up to 15 hotels in one call. | |
| boardCodes | No | Keep any of these meal plans: RO=room only, BB=breakfast, HB/HBLD=breakfast and dinner, FB=breakfast/lunch/dinner, BL=lunch, BD=dinner, HBBL=breakfast and lunch, AI=all inclusive. Omit for all meal plans; use returned terms for exact inclusions. | |
| nationality | No | Guest nationality as an uppercase ISO 3166-1 alpha-2 country code, e.g. CN or US; omit when unknown. | |
| bookableOnly | No | True keeps only rates with bookable inventory on every night. False also includes rates with unavailable nights; do not present those as bookable. | |
| childrenAges | No | Age in years of each child, 0–17; omit or use [] when no children are travelling. | |
| freeCancellation | No | True keeps rates that can still be cancelled free of charge now. False or omitted applies no cancellation filter; it does not mean non-refundable only. Read each returned deadline and penalty. | |
| maxRoomsPerHotel | No | Maximum room types returned per hotel, cheapest first after filtering; default 5. This limits response size, not the rooms being booked. |