---
type: "firecrawl-provider"
description: "Public hotel destination directories and hotel profiles, room types, amenities and policies. No date-specific availability or offers."
use_when: "Public hotel destination directories and hotel profiles, room types, amenities and policies. No date-specific availability or offers."
categories: "Travel"
capabilities: 6
credits_per_call: 5
---
# Trip.com on Firecrawl Alexandria

Public hotel destination directories and hotel profiles, room types, amenities and policies. No date-specific availability or offers.

- Categories: Travel
- Category index: [Travel category](https://firecrawl.dev/alexandria/agents/categories/travel)
- Provider key: `trip-com`
- Access: Firecrawl credits
- Cost: 5 credits per call

## More

- [Human guide](https://firecrawl.dev/app/alexandria/trip-com)
- [OpenAPI spec](https://firecrawl.dev/alexandria/agents/providers/trip-com/openapi.json)

## Capabilities

- [Amenities](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/amenities): Read published popular hotel amenities with source charge labels. Partial amenity coverage; no unlisted amenity is inferred absent.
- [Destinations](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/destinations): List linked hotel city directories from the public hotels landing page. Not a complete destination catalog.
- [Hotel](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/hotel): Read hotel identity, street address, description and published property facts. Does not quote a stay.
- [Hotels](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/hotels): List featured hotel profiles from a known city directory. Curated directory content, not dated availability search; marketing prices are omitted.
- [Policies](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/policies): Read published property policy sections including check-in/out, children, pets and fees when present. Policies may vary by room and do not represent a booking contract.
- [Rooms](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/rooms): Read published room types, bed descriptions and room features. Room types do not establish availability; price and availability are unknown.

## 1. Choose this provider when

Public hotel destination directories and hotel profiles, room types, amenities and policies. No date-specific availability or offers.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "trip-com",
  "capability": "hotels/amenities",
  "options": {
    "url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/"
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `url` (string, required): Pattern: ^https://www\.trip\.com/hotels/[a-z0-9-]+-hotel-detail-[0-9]+/[a-z0-9-]+/?$. Example: `<url>`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "trip-com",
    capability: "hotels/amenities",
    options: {
      url: "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/",
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "trip-com",
  "capability": "hotels/amenities",
  "options": {
    "url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/"
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "trip-com",
    "capability": "hotels/amenities",
    "options": {
      "url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/"
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'trip-com/hotels/amenities' \
  --options '{"url":"https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/"}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "trip-com",
  "capability": "hotels/amenities",
  "options": {
    "url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/"
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "trip-com",
  "capability": "hotels/amenities",
  "options": {
    "url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/"
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "complete": false,
  "observed_at_ms": 1789502400000,
  "records": [
    {
      "name_and_charge": "Public parking Additional charge"
    }
  ],
  "source_url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/",
  "warnings": [
    "Published directory/profile content only. No date-specific availability, offers, tax-inclusive totals or booking. Room types do not establish vacancy. Source marketing prices are omitted."
  ]
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Amenities

- Capability: `hotels/amenities`
- Description: Read published popular hotel amenities with source charge labels. Partial amenity coverage; no unlisted amenity is inferred absent.
- Instructions: Read published popular hotel amenities with source charge labels. Partial amenity coverage; no unlisted amenity is inferred absent.
- Cost: 5 credits per call
- Capability file: [Amenities](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/amenities)

Accepted options:
- `url` (string, required): Pattern: ^https://www\.trip\.com/hotels/[a-z0-9-]+-hotel-detail-[0-9]+/[a-z0-9-]+/?$. Example: `<url>`

Response schema example:
```json
{
  "complete": false,
  "observed_at_ms": 1789502400000,
  "records": [
    {
      "name_and_charge": "Public parking Additional charge"
    }
  ],
  "source_url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/",
  "warnings": [
    "Published directory/profile content only. No date-specific availability, offers, tax-inclusive totals or booking. Room types do not establish vacancy. Source marketing prices are omitted."
  ]
}
```

### Destinations

- Capability: `hotels/destinations`
- Description: List linked hotel city directories from the public hotels landing page. Not a complete destination catalog.
- Instructions: List linked hotel city directories from the public hotels landing page. Not a complete destination catalog.
- Cost: 5 credits per call
- Capability file: [Destinations](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/destinations)

Accepted options:
- `url` (string, required): Pattern: ^https://www\.trip\.com/hotels/?$. Example: `<url>`

Response schema example:
```json
{
  "complete": false,
  "observed_at_ms": 1789502400000,
  "records": [
    {
      "name": "Tokyo Hotels",
      "url": "https://www.trip.com/hotels/tokyo-hotels-list-228/"
    }
  ],
  "source_url": "https://www.trip.com/hotels/",
  "warnings": [
    "Published directory/profile content only. No date-specific availability, offers, tax-inclusive totals or booking. Room types do not establish vacancy. Source marketing prices are omitted."
  ]
}
```

### Hotel

- Capability: `hotels/hotel`
- Description: Read hotel identity, street address, description and published property facts. Does not quote a stay.
- Instructions: Read hotel identity, street address, description and published property facts. Does not quote a stay.
- Cost: 5 credits per call
- Capability file: [Hotel](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/hotel)

Accepted options:
- `url` (string, required): Pattern: ^https://www\.trip\.com/hotels/[a-z0-9-]+-hotel-detail-[0-9]+/[a-z0-9-]+/?$. Example: `<url>`

Response schema example:
```json
{
  "complete": false,
  "observed_at_ms": 1789502400000,
  "records": [
    {
      "address": "38-51 Bedford Way, Camden, London, Greater London, WC1H 0DG, United Kingdom",
      "availability": null,
      "description": "With a stay at Royal National Hotel, you'll be centrally located in London, within a 5-minute drive of The British Museum and Leicester Square. This hotel is 1.5 mi (2.4 km) from Trafalgar Square and 1.6 mi (2.5 km) from Oxford Street. The Royal National Hotel in London officially opened in 1998 Make use of convenient amenities such as complimentary wireless Internet access, concierge services, and a vending machine. Enjoy a meal at Blooms Cafe or snacks in the hotel's coffee shop/cafe. English breakfasts are available daily from 6:30 AM to 10:30 AM for a fee. Featured amenities include dry cleaning/laundry services, a 24-hour front desk, and multilingual staff. This hotel has 5 meeting rooms available for events. Self parking (subject to charges) is available onsite. Make yourself at home in one of the 1358 guestrooms. Complimentary wireless Internet access keeps you connected, and satellite programming is available for your entertainment. Bathrooms with bathtubs or showers are provided. Conveniences include phones and coffee/tea makers, and housekeeping is provided on request.",
      "facts": [
        "Opened: 1998",
        "Number of Rooms: 1379"
      ],
      "hotel_id": "2985758",
      "name": "Royal National Hotel"
    }
  ],
  "source_url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/",
  "warnings": [
    "Published directory/profile content only. No date-specific availability, offers, tax-inclusive totals or booking. Room types do not establish vacancy. Source marketing prices are omitted."
  ]
}
```

### Hotels

- Capability: `hotels/hotels`
- Description: List featured hotel profiles from a known city directory. Curated directory content, not dated availability search; marketing prices are omitted.
- Instructions: List featured hotel profiles from a known city directory. Curated directory content, not dated availability search; marketing prices are omitted.
- Cost: 5 credits per call
- Capability file: [Hotels](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/hotels)

Accepted options:
- `url` (string, required): Pattern: ^https://www\.trip\.com/hotels/[a-z0-9-]+-hotels-list-[0-9]+/?$. Example: `<url>`

Response schema example:
```json
{
  "complete": false,
  "observed_at_ms": 1789502400000,
  "records": [
    {
      "availability": null,
      "description": "Situated in Bloomsbury, this massive budget-friendly property offers simple rooms, handy on-site amenities, and a convenient base for exploring central sights.",
      "location": "📍 38-51 Bedford Way, Camden, London",
      "name": "Royal National Hotel ★★★",
      "rating_text": "8.2",
      "review_count_text": "(3,093 reviews)",
      "url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/"
    }
  ],
  "source_url": "https://www.trip.com/hotels/london-hotels-list-338/",
  "warnings": [
    "Published directory/profile content only. No date-specific availability, offers, tax-inclusive totals or booking. Room types do not establish vacancy. Source marketing prices are omitted."
  ]
}
```

### Policies

- Capability: `hotels/policies`
- Description: Read published property policy sections including check-in/out, children, pets and fees when present. Policies may vary by room and do not represent a booking contract.
- Instructions: Read published property policy sections including check-in/out, children, pets and fees when present. Policies may vary by room and do not represent a booking contract.
- Cost: 5 credits per call
- Capability file: [Policies](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/policies)

Accepted options:
- `url` (string, required): Pattern: ^https://www\.trip\.com/hotels/[a-z0-9-]+-hotel-detail-[0-9]+/[a-z0-9-]+/?$. Example: `<url>`

Response schema example:
```json
{
  "complete": false,
  "observed_at_ms": 1789502400000,
  "records": [
    {
      "text": "Check-in and Check-out Times Check-in: 14:00–24:00 Check-out: Before 11:00 Front desk hours: 24/7"
    }
  ],
  "source_url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/",
  "warnings": [
    "Published directory/profile content only. No date-specific availability, offers, tax-inclusive totals or booking. Room types do not establish vacancy. Source marketing prices are omitted."
  ]
}
```

### Rooms

- Capability: `hotels/rooms`
- Description: Read published room types, bed descriptions and room features. Room types do not establish availability; price and availability are unknown.
- Instructions: Read published room types, bed descriptions and room features. Room types do not establish availability; price and availability are unknown.
- Cost: 5 credits per call
- Capability file: [Rooms](https://firecrawl.dev/alexandria/agents/providers/trip-com/hotels/rooms)

Accepted options:
- `url` (string, required): Pattern: ^https://www\.trip\.com/hotels/[a-z0-9-]+-hotel-detail-[0-9]+/[a-z0-9-]+/?$. Example: `<url>`

Response schema example:
```json
{
  "complete": false,
  "observed_at_ms": 1789502400000,
  "records": [
    {
      "availability": null,
      "beds": "1 Single bed and 1 Double bed",
      "features": [
        "Has window",
        "Non-smoking",
        "Private bathroom",
        "Private toilet",
        "Shampoo",
        "Wardrobe"
      ],
      "name": "Standard Plus Family Room",
      "price": null,
      "room_id": "507559297"
    }
  ],
  "source_url": "https://www.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/",
  "warnings": [
    "Published directory/profile content only. No date-specific availability, offers, tax-inclusive totals or booking. Room types do not establish vacancy. Source marketing prices are omitted."
  ]
}
```
