Skip to content
Scrappa Get API key
Trip.com API 1 credit / request

Trip.com Cruises Search API Documentation

GET https://scrappa.co/api/tripcom/cruises/search

Trip.com Cruises Search API Documentation Search cruise sailings by destination keyword, departure month or date window and sort. Each sailing has the id, name, days and nights, departure and arrival port, region, ship and cruise line, the lowest price per person, up to 59 departure dates with prices, images and tags. Pass id and departure_date unchanged to cruise detail. Page N is really page N, 10 per page. Sailings outside the requested dates are never returned. The price is the lowest fare per person, not a quote. total_estimate is capped by Trip.com. No line, port or duration filter exists: those parameters return 422. Cost: 1 credit. An empty page costs nothing.

Trip.com Cruises Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/tripcom/cruises/search
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "page": 1,
        "sort": "recommended",
        "count": 10,
        "items": [
            {
                "id": "108662",
                "days": 4,
                "name": "4 days \u00b7 Singapore - Ocean voyage - Singapore",
                "ship": {
                    "id": "1212",
                    "line": {
                        "id": "12",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

8 optional filters available.

destination string Optional

Destination keyword, 2 to 100 characters. Example: alaska or mediterranean. It matches voyages that visit the destination.

Example value example
month string Optional

Departure month, YYYY-MM. Use either month or start_date and end_date. Example: 2027-03.

Example value example
start_date string Optional

First departure date, YYYY-MM-DD. Send together with end_date.

Example value 2026-06-15
end_date string Optional

Last departure date, YYYY-MM-DD, on or after start_date.

Example value 2026-06-15
page integer Optional

Page number, 1 to 100. Each page has 10 sailings. Defaults to 1.

Example value 1
sort string Optional

recommended, sales, reviews, price_asc or price_desc. Defaults to recommended.

Example value relevance
currency string Optional

USD, EUR, GBP, JPY or KRW. Defaults to USD. Every price in the answer uses this currency.

Example value USD
locale string Optional

Site language: en, en-gb, de, fr, ja, ko or zh-hk. Defaults to en. It sets the language of names and tags. Text on detail pages stays English.

Example value en-US

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "page": 1,
        "sort": "recommended",
        "count": 10,
        "items": [
            {
                "id": "108662",
                "days": 4,
                "name": "4 days \u00b7 Singapore - Ocean voyage - Singapore",
                "ship": {
                    "id": "1212",
                    "line": {
                        "id": "12",
                        "logo": "https://images4.c-ctrip.com/example",
                        "name": "Disney Cruise Line"
                    },
                    "name": "Disney Adventure",
                    "rating": 4.6,
                    "review_count": 2104
                },
                "tags": [
                    "Visa-free"
                ],
                "price": 365,
                "images": [
                    "https://dimg04.c-ctrip.com/images/example.png"
                ],
                "nights": 3,
                "region": "Southeast Asia",
                "currency": "USD",
                "subtitle": null,
                "detail_url": "https://www.trip.com/cruises/line-108662/?departure=2027-01-18",
                "sailing_id": "640193",
                "price_label": "from price per person",
                "arrival_port": "Singapore",
                "booked_count": 24305,
                "paid_on_board": "Service fee",
                "departure_date": "2027-01-18",
                "departure_port": "Singapore",
                "original_price": 365,
                "departure_prices": [
                    {
                        "date": "2026-11-16",
                        "price": 551
                    }
                ],
                "departure_city_id": "73",
                "included_in_price": "Cruise ticket, Taxes & fees"
            }
        ],
        "locale": "en",
        "currency": "USD",
        "end_date": null,
        "has_more": true,
        "page_size": 10,
        "start_date": null,
        "destination": null,
        "total_estimate": 1000
    },
    "meta": {
        "billable": true,
        "endpoint_family": "cruises_search"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "month": [
            "The month is YYYY-MM, e.g. 2027-03."
        ]
    },
    "message": "The request validation failed"
}
503

Unexpected Upstream Format

Trip.com answered with a format Scrappa does not know. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "cruises_search"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "Trip.com answered with an unexpected format. Please retry later."
    },
    "success": false
}
503

Upstream Unavailable

Trip.com did not answer after one retry. This response is not billable. Retry later.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "cruises_search"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Trip.com API is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.