# Trip.com / Ctrip Hotel Review Scraper

> Trip.com / Ctrip Hotel Review Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes structured hotel reviews from Trip.com (Ctrip) hotel pages, returning ratings, review content, and metadata

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/trip?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trip-com-ctrip-hotel-review-scraper-1888f9d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xvh5lskWOrGrJxN4ru4In

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability trip-com-ctrip-hotel-review-scraper-1888f9d7 -d '<json body>'
```

Example prompt: Pull me up to 50 reviews for this Trip.com hotel — https://www.trip.com/hotels/detail/?hotelId=123456 — sorted by most recent, and only include reviews from after 2024-01-01.

## When to prefer this

Use this endpoint when you need structured review data from Trip.com or Ctrip hotel pages specifically, especially when you need filtering by date or sorting by rating. It is pay-per-call with no charge for failed or empty runs, making it low-risk for exploratory use. Prefer this over generic web scrapers when you need consistently structured hotel review fields (rating, content, hotelId) from the Trip.com ecosystem.

## Known failure modes

- Invalid or inaccessible hotel URL returns empty result set (not charged)
- cutoffDate filter may exclude all reviews if date is too recent
- Hotel page structure changes on Trip.com may break extraction temporarily
- Rate limits or anti-scraping measures may cause failed runs (not charged)
- Non-Trip.com / non-Ctrip URLs will likely return empty results

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of matched reviews and an array of items, each containing review ID, rating, review text content, hotel ID, hotel URL, hotel name, max possible rating, and comment level classification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sortBy": {
   "enum": [
    "mostRelevant",
    "mostRecent",
    "ratingHighToLow",
    "ratingLowToHigh"
   ],
   "type": "string",
   "default": "mostRelevant",
   "description": "Sort the reviews exposed on each hotel page; this does not fetch deeper review pages."
  },
  "hotelUrl": {
   "type": "string",
   "description": "Public Trip.com or Ctrip.com hotel page URL."
  },
  "hotelUrls": {
   "type": "array",
   "description": "More public hotel pages to collect in one run. Each page currently exposes up to ten reviews."
  },
  "cutoffDate": {
   "type": "string",
   "description": "Keep only exposed reviews created after this date (YYYY-MM-DD)."
  },
  "maxReviews": {
   "type": "integer",
   "default": 1000,
   "minimum": 1,
   "description": "Stop after this many reviews across all hotel URLs."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "rating": null,
    "content": null,
    "hotelId": null,
    "hotelUrl": null,
    "hotelName": null,
    "ratingMax": null,
    "commentLevel": null
   }
  ],
  "product": "trip"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trip-com-ctrip-hotel-review-scraper-1888f9d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
