Source: https://www.agentweb.us/sites/trip.com/

# Can an AI agent book a hotel on Trip.com?

By Andrey Marey, Founder of AgentWeb · As of Oct 22, 2026

> **Short answer.** Partly, through AgentWeb. As of Oct 22, 2026, the Trip.com map (version 0.1.0) gives your agent 9 actions. It can find hotels for a destination and dates, list available rooms, read the reservation price breakdown, start the booking for a selected room, open a guest checkout session and list the payment methods on offer. Completing payment is not mapped yet.

Map: Trip (trip.com) · version 0.1.0 · 9 actions · Uses the person's own signed-in account

## What your agent can do on Trip

| Action | What it does |
|---|---|
| `book_hotel_room` | Starts the booking for a selected room (opens the hotel booking page). |
| `non_member_login` | Opens a guest checkout session for the hotel booking. |

## What your agent can read first

| Action | What it returns |
|---|---|
| `get_hotel_keywords` | Hotel destination keyword autocomplete/typeahead Body carries queryInfo {keyword, actionType} plus a head config block. |
| `hotel_search` | Search hotels for a destination and date range Returns JSON data.hotelList[], where each entry's hotelInfo carries summary (hotelId, masterHotelId, hotelType). |
| `get_city_list` | Fetch the popular destinations / city list Returns a JSON object with data.globalCityModel.cityModelGroups[], each group carrying displayControlModel.fullName. |
| `recommend_city` | Fetch popular/recommended destination cities for the homepage suggest widget Returns a JSON object with "title" (e.g. "Popular Destinations") and "cityList". |
| `get_hotel_room_list_oversea` | Fetch the available room list for a specific hotel and date/occupancy Returns JSON with data.quickFilter[], data.roomFilters[] (Bed type / Number of bedrooms /. |
| `hotel_reservation_price_details` | Fetch the reservation/booking price breakdown for a selected hotel room and dates Returns a JSON object with priceInfo (newTotal, prePayTotal, quantityDays. |
| `payment_list_search` | Search the available payment methods for a pending payment Returns JSON with ResponseStatus, head {code, message}, and displayInfo describing the offered. |

## How the login works

The person signs in once on Trip through AgentWeb's hosted login, started with `agentweb_start_connection` and confirmed with `agentweb_poll_connection`. Your agent never sees the password. Actions then run on that person's own account, and they can disconnect at any time.

## Try it

```bash
curl -s https://mcp.agentweb.us/api/execute \
  -H "Authorization: Bearer $AGENTWEB_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: trip-keywords-1" \
  -d '{"domain":"trip.com","action":"get_hotel_keywords","params":{"keyword":"Lisbon"}}'
```

Parameter names shown are illustrative. Your agent gets the exact schema for every action from AgentWeb's `list_actions` tool.

## What it does not cover yet

- Paying for and confirming the booking is not mapped yet.
- Flights and trains on Trip.com are not in this map.

## Frequently asked questions

### Can my agent finish a Trip.com hotel booking?

Not fully yet. It can take the user up to the booking page for a chosen room with the exact price, and the person completes payment.

### What does it cost?

Each completed action costs $0.05, paid from prepaid blocks of $25, $50 or $100 that never expire. Failed actions are refunded.

### Which AI tools can use it?

Any agent that speaks MCP or HTTP. Add `https://mcp.agentweb.us/mcp` as a remote MCP server in Claude, ChatGPT, Cursor, Codex or Grok, or call the REST endpoint directly.

## Related

- [Book Ryanair flights up to payment](/sites/ryanair.com/)
- [Book Headout tours](/sites/headout.com/)
- [Best tools for AI agents to take actions on websites (2026)](/blog/best-tools-for-ai-agents-to-take-actions-on-websites-2026/)
- [All sites AgentWeb can act on](/sites/)

Action list from AgentWeb's public sites API, snapshot Oct 22, 2026, 16:59 London time. Live coverage: https://mcp.agentweb.us/api/sites
