DocumentationMCPCLI

Introduction

  • Overview

Hotels

  • Search hotels
  • Get hotel details
  • Get live hotel offers

Orders

  • Create hotel order and payment link
  • Get order
  • List orders

Guides

  • Get hotel planning guide

Hotels

Get live hotel offers

Live, bookable offers for up to 15 hotels and one stay. Every room in stay.rooms must have the same party: for different parties, call once per party. Each offer has the room, the meals included, price.total in USD for the whole stay and every room (what is charged), fees payable at the property, the cancellation terms with times in UTC and the hotel's time zone, the confirmation mode, and an offerId for book_hotel that expires at expiresAt. Hotels with nothing to offer are listed under unavailable with the reason. Up to limitPerHotel offers per hotel, default 5, cheapest first.

get_hotel_offers · Read-only · CLI: fortrip hotels offers

Input

hotelIdsstring[]required

Hotels to price, 1 to 15, no repeats.1–15 items · each matches ^htl_[0-9A-Za-z]{20}$

stayobjectrequired

Dates and party. One party per call: every room must be the same.

stay.checkInstringrequired

Check-in date in the hotel's calendar, yyyy-MM-dd.

stay.checkOutstringrequired

Check-out date in the hotel's calendar, yyyy-MM-dd. Stays are 1 to 30 nights.

stay.roomsobject[]required

The rooms wanted, 1 to 8, each with its own party.1–8 items

stay.rooms[].adultsintegerrequired

Adults in this room.1–8

stay.rooms[].childrenAgesinteger[]required

Age of each child in this room, 0 to 17. An empty list means no children.≤ 4 items · each 0–17

filtersobject

Filters every offer must pass.

filters.requireBreakfastboolean

Keep only offers that include breakfast.

filters.requireFreeCancellationboolean

Keep only offers that can still be cancelled free of charge.

limitPerHotelinteger

Offers per hotel, 1 to 20. Default 5.1–20 · default 5

locale"en" | "zh"

Language for names and text in the response: en or zh.

displayCurrency"USD" | "CNY"

Currency to show prices in, USD or CNY. It never changes what is charged: payment is in USD.

Output

structuredContent is the Offers result object, and content[0] the same answer as compact text. Errors are described in the overview.

PreviousGet hotel detailsNextCreate hotel order and payment link

On this page

  • Input
  • Output
Fortrip

Opinionated trip planning, built for real itineraries.

Product

  • AI Trip Planner
  • Validator
  • Transport
  • Stays
  • Explore Destinations
  • Agents CLI & MCP

Company

  • About
  • Team
  • Pricing
  • Responsible Travel
  • Contact

Resources

  • Blog
  • News
  • Decision Optimization
  • Itinerary Selection
  • FAQ
  • vs ChatGPT
  • Best AI travel planner
© 2026 FortripAI, Inc.PrivacyTermsBrand Assets
info@fortrip.ai+1-650-272-16121111b South Governors Ave, Dover, DE 19904
Skip to main content
Fortrip Logo
ExplorePlanningPricing
CLIMCPDocs
About UsBlogHotels by CityDecision OptimizationItinerary SelectionNewsFortrip vs. ChatGPTBest AI travel plannerFAQOur TeamResponsible TravelPrivacy PolicyTerms of ServiceContact
Saved