Trip.com Hotels Trains and Attractions Data: Search Trip.com hotels, trains and attractions
trip_com__search[Trip.com Hotels Trains and Attractions Data] Search Trip.com hotels, trains and attractions. Query Trip.com hotel rates, train itineraries and attractions across global Trip.com country sites. x402 price: $0.0050/row USDC (max 20 rows; 0 rows / errors are never charged).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "trip_com__search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Hotel result ordering preference, such as RECOMMENDED. Available ordering depends on the selected search. | RECOMMENDED |
| rooms | No | Number of hotel rooms | |
| adults | No | Number of adult travelers | |
| domain | No | Regional Trip.com host (e.g. www.trip.com, ph.trip.com, uk.trip.com, jp.trip.com). | www.trip.com |
| locale | No | Language setting, such as en_US or en_GB. Set it explicitly when changing regional domains. | en_US |
| origin | No | Departure city for a train route, such as Tokyo. Use with destination and service set to trains. | |
| checkin | No | Hotels: check-in date (year-month-day). Leave empty to search 21 days from today. | |
| service | No | Choose hotels, trains or attractions. Flights, cars and packages are not available. | hotels |
| checkout | No | Hotels: check-out date (year-month-day). Leave empty for a two-night stay. | |
| children | No | Number of children | |
| currency | No | Requested currency code, such as USD or GBP. Set it explicitly when changing regional domains. | USD |
| regionId | No | Optional Trip.com city id (for example Bangkok = 359). Use it instead of Destination, or together with it for more precise hotel results. | |
| tripType | No | Reserved setting. Keep the default for the supported travel services. | oneway |
| maxResults | No | Maximum rows for this destination or region, from 1 to 500 (default 70); delivery also stops at your maximum run cost. Free platform plan users are limited to 200 rows per run and 10 runs of this Actor. | |
| returnDate | No | Reserved setting. Leave empty for the supported travel services. | |
| destination | No | City or region to search, for example Bangkok or Tokyo. Leave it empty if you fill in City ID. | |
| departureDate | No | Optional train search date in YYYY-MM-DD format. Published route offers are not guaranteed to match this date. | |
| enrichDetails | No | Add available public hotel contacts and address details, or attach available attraction offers to the listing row. Off by default; additional details are not guaranteed. | |
| includeSponsored | No | Include sponsored ad cards in results |