---
title: "Google Travel Explore"
method: POST
path: "/v1/google/travel/explore"
tags: ["Google"]
---

# Google Travel Explore

`POST /v1/google/travel/explore`

## Request

- Base URL: `https://api.prismcrawl.com`
- URL: `https://api.prismcrawl.com/v1/google/travel/explore`
- Auth: API key in header `x-api-key`

Explore destinations and fares from one or more comma-separated airport or city IDs. Supports flexible months/durations, exact dates, destination regions, travel class, passenger counts, airlines, stops, baggage, price and duration filters. Specify arrival_id for flights to a selected destination.

## Request body

- union: Explore destinations and fares from one or more comma-separated airport or city IDs. Supports flexible months/durations, exact dates, destination regions, travel class, passenger counts, airlines, stops, baggage, price and duration filters. Specify arrival_id for flights to a selected destination.
  - object
    - `departure_id` string, required: One or more comma-separated IATA airport or Google travel city IDs. Use flight autocomplete to resolve identifiers.
    - `arrival_id` string: One destination airport or city ID; returns flights to that destination.
    - `arrival_area_id` string: Google region or country ID from flight autocomplete; limits destination geography.
    - `travel_mode` integer: 0: all destinations, including places reachable by car (default); 1: flights only.
    - `interest` '0' | '/g/11bc58l13w' | '/m/0b3yr' | '/m/09cmq' | '/m/03g3w' | '/m/071k0': Destination interest: 0 popular; /g/11bc58l13w outdoors; /m/0b3yr beaches; /m/09cmq museums; /m/03g3w history; /m/071k0 skiing.
    - `type` 1 | 2: 1: round trip (default); 2: one way. Response metadata uses trip_type.
    - `outbound_date` string, date: Departure date in YYYY-MM-DD format.
    - `return_date` string, date: Return date in YYYY-MM-DD format; omit for a one-way trip.
    - `month` integer: Flexible departure month: 0 means all of the next six months; 1 through 12 select an available month, including the current month.
    - `travel_duration` integer: Flexible round-trip duration: 1 weekend; 2 one week (default); 3 two weeks.
    - `travel_class` 'economy' | 'premium_economy' | 'business' | 'first': Cabin class supported by the selected flight operation.
    - `adults` integer: Number of adult travelers, from 1 to 9.
    - `children` integer: Number of children aged 2–11. At most nine travelers total.
    - `infants_in_seat` integer: Number of infants under 2 traveling in their own seats. At most nine travelers total.
    - `infants_on_lap` integer: Number of infants under 2 traveling on an adult’s lap; cannot exceed adults. At most nine travelers total.
    - `stops` integer: 0: any stops; 1: nonstop; 2: at most one stop; 3: at most two stops.
    - `include_airlines` string: Comma-separated IATA airline codes or STAR_ALLIANCE, SKYTEAM, ONEWORLD.
    - `exclude_airlines` string: Exclude comma-separated IATA airline codes or alliances.
    - `bags` integer: Carry-on bags; cannot exceed adults, children and seated infants combined.
    - `max_price` integer: Maximum total fare in the requested currency.
    - `max_duration` integer: Maximum flight duration in minutes.
    - `currency` 'ALL' | 'DZD' | 'ARS' | 'AMD' | 'AWG' | 'AUD' | 'AZN' | 'BSD' | 'BHD' | 'BYN' | 'BMD' | 'BAM' | 'BRL' | 'GBP' | 'BGN' | 'XPF' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CZK' | 'DKK' | 'DOP' | 'EGP' | 'EUR' | 'GEL' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'IDR' | 'IRR' | 'ILS' | 'JMD' | 'JPY' | 'JOD' | 'KZT' | 'KWD' | 'LBP' | 'MKD' | 'MYR' | 'MXN' | 'MDL' | 'MAD' | 'TWD' | 'NZD' | 'NOK' | 'OMR' | 'PKR' | 'PAB' | 'PEN' | 'PHP' | 'PLN' | 'QAR' | 'RON' | 'RUB' | 'SAR' | 'RSD' | 'SGD' | 'ZAR' | 'KRW' | 'SEK' | 'CHF' | 'THB' | 'TRY' | 'USD' | 'UAH' | 'AED' | 'VND': Three-letter currency code, such as USD.
    - `country` string: Two-letter country or storefront code, such as us or gb.
    - `language` string: Provider-supported language code, such as en.
    - `limit` integer: Maximum number of items to return. The provider may return fewer.
    - `device` 'desktop' | 'mobile' | 'tablet': Device presentation for the source request.
    - `html` boolean: Return the encoded original response rather than parsed JSON.
    - `zero_trace` boolean: Do not archive source or parsed response artifacts.
    - `output` 'json' | 'html' | 'md' | 'null', nullable: Response content format. md returns Markdown in data.content with data.format=md; the JSON success/request envelope remains. Accept: text/markdown also selects Markdown unless output or html=true is explicit. html is an alias for html=true and retains the existing Brotli/Base64 source format.
    - `json_restrictor` string, nullable: Select fields within data.content for JSON or Markdown. Supports comma-separated paths, non-negative array indices, half-open slices [0:3] (either bound may be omitted), [] and .{nested,subqueries}. Up to128 selections and16 levels. Missing fields are omitted; selected declared fields retain their zero defaults. The request envelope and credit headers remain. Include next_page_token when pagination is needed. Incompatible with HTML output. This changes response presentation only; tracing-enabled history retains the complete JSON result.
    - `no_cache` boolean, nullable: Accepted for compatibility. Searches are always fetched without a result cache for either value; normal successful-request billing applies.
  - object
    - `departure_id` string, required: One or more comma-separated IATA airport or Google travel city IDs. Use flight autocomplete to resolve identifiers.
    - `arrival_id` string: One destination airport or city ID; returns flights to that destination.
    - `arrival_area_id` string: Google region or country ID from flight autocomplete; limits destination geography.
    - `travel_mode` integer: 0: all destinations, including places reachable by car (default); 1: flights only.
    - `interest` '0' | '/g/11bc58l13w' | '/m/0b3yr' | '/m/09cmq' | '/m/03g3w' | '/m/071k0': Destination interest: 0 popular; /g/11bc58l13w outdoors; /m/0b3yr beaches; /m/09cmq museums; /m/03g3w history; /m/071k0 skiing.
    - `type` 1 | 2: 1: round trip (default); 2: one way. Response metadata uses trip_type.
    - `outbound_date` string, date: Departure date in YYYY-MM-DD format.
    - `return_date` string, date: Return date in YYYY-MM-DD format; omit for a one-way trip.
    - `month` integer: Flexible departure month: 0 means all of the next six months; 1 through 12 select an available month, including the current month.
    - `travel_duration` integer: Flexible round-trip duration: 1 weekend; 2 one week (default); 3 two weeks.
    - `travel_class` 'economy' | 'premium_economy' | 'business' | 'first': Cabin class supported by the selected flight operation.
    - `adults` integer: Number of adult travelers, from 1 to 9.
    - `children` integer: Number of children aged 2–11. At most nine travelers total.
    - `infants_in_seat` integer: Number of infants under 2 traveling in their own seats. At most nine travelers total.
    - `infants_on_lap` integer: Number of infants under 2 traveling on an adult’s lap; cannot exceed adults. At most nine travelers total.
    - `stops` integer: 0: any stops; 1: nonstop; 2: at most one stop; 3: at most two stops.
    - `include_airlines` string: Comma-separated IATA airline codes or STAR_ALLIANCE, SKYTEAM, ONEWORLD.
    - `exclude_airlines` string: Exclude comma-separated IATA airline codes or alliances.
    - `bags` integer: Carry-on bags; cannot exceed adults, children and seated infants combined.
    - `max_price` integer: Maximum total fare in the requested currency.
    - `max_duration` integer: Maximum flight duration in minutes.
    - `currency` 'ALL' | 'DZD' | 'ARS' | 'AMD' | 'AWG' | 'AUD' | 'AZN' | 'BSD' | 'BHD' | 'BYN' | 'BMD' | 'BAM' | 'BRL' | 'GBP' | 'BGN' | 'XPF' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CZK' | 'DKK' | 'DOP' | 'EGP' | 'EUR' | 'GEL' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'IDR' | 'IRR' | 'ILS' | 'JMD' | 'JPY' | 'JOD' | 'KZT' | 'KWD' | 'LBP' | 'MKD' | 'MYR' | 'MXN' | 'MDL' | 'MAD' | 'TWD' | 'NZD' | 'NOK' | 'OMR' | 'PKR' | 'PAB' | 'PEN' | 'PHP' | 'PLN' | 'QAR' | 'RON' | 'RUB' | 'SAR' | 'RSD' | 'SGD' | 'ZAR' | 'KRW' | 'SEK' | 'CHF' | 'THB' | 'TRY' | 'USD' | 'UAH' | 'AED' | 'VND': Three-letter currency code, such as USD.
    - `country` string: Two-letter country or storefront code, such as us or gb.
    - `language` string: Provider-supported language code, such as en.
    - `limit` integer: Maximum number of items to return. The provider may return fewer.
    - `device` 'desktop' | 'mobile' | 'tablet': Device presentation for the source request.
    - `html` boolean: Return the encoded original response rather than parsed JSON.
    - `zero_trace` boolean: Do not archive source or parsed response artifacts.
    - `output` 'json' | 'html' | 'md' | 'null', nullable: Response content format. md returns Markdown in data.content with data.format=md; the JSON success/request envelope remains. Accept: text/markdown also selects Markdown unless output or html=true is explicit. html is an alias for html=true and retains the existing Brotli/Base64 source format.
    - `json_restrictor` string, nullable: Select fields within data.content for JSON or Markdown. Supports comma-separated paths, non-negative array indices, half-open slices [0:3] (either bound may be omitted), [] and .{nested,subqueries}. Up to128 selections and16 levels. Missing fields are omitted; selected declared fields retain their zero defaults. The request envelope and credit headers remain. Include next_page_token when pagination is needed. Incompatible with HTML output. This changes response presentation only; tracing-enabled history retains the complete JSON result.
    - `no_cache` boolean, nullable: Accepted for compatibility. Searches are always fetched without a result cache for either value; normal successful-request billing applies.

## Response `200`

Request completed. One credit is charged, including recognized empty or unavailable source results and source inventory changes discovered after a valid continuation is fetched. These completed responses may preserve verified partial results; operational failures remain errors.

- CatalogGoogleTravelExploreResponse
  - `success` true, required
  - `request_id` string, uuid, required
  - `data` union, required
    - MarkdownSearchData
      - `format` union, required
        - ''
        - 'md'
      - `content` string, required: Markdown derived from the parsed result, after any json_restrictor selection.
    - ProjectedSearchData
      - `format` union, required
        - ''
        - 'json'
      - `content` object, required: Only fields selected by json_restrictor. Selected fields retain their declared types and zero defaults.
    - object
      - `format` 'json', required
      - `content` object, required
        - `has_next_page` boolean, required
        - `next_page_token` string, required: Opaque continuation token valid for one hour and the same account. Retain search parameters, device, and result limit. Restart pagination if the token is expired or rejected; tokens from before the authenticated-token rollout cannot be reused.
        - `results` object[], required
          - `address` union, required
            - string
            - object
            - string[]
          - `airline` string, required
          - `airline_code` string, required
          - `airport_id` string, required
          - `arrival_id` string, required
          - `arrival_name` string, required
          - `booking_token` string, required
          - `category` string, required
          - `cheapest` boolean, required
          - `coordinates` object, required
            - `latitude` number, required
            - `longitude` number, required
          - `currency` string, required
          - `departure_id` string, required
          - `departure_name` string, required
          - `description` string, required
          - `discount_percent` number, required
          - `duration_minutes` number, required
          - `id` string, required
          - `latitude` number, required
          - `longitude` number, required
          - `name` string, required
          - `outbound_date` string, required
          - `phone` string, required
          - `position` integer, required
          - `price` number, required
          - `rank` integer, required
          - `rating` union, required
            - number
            - string
          - `rating_max` number, required
          - `rating_source` string, required
          - `return_date` string, required
          - `review_count` union, required
            - number
            - string
          - `snippet` string, required
          - `stops` number, required
          - `thumbnail` string, required
          - `title` string, required
          - `type` string, required
          - `url` string, required
          - `usual_price` number, required
          - `website` string, required
        - `search_parameters` object, required
          - `adults` integer, required
          - `arrival_area_id` string, required
          - `arrival_id` string, required
          - `bags` integer, required
          - `children` integer, required
          - `country` string, required
          - `currency` string, required
          - `departure_id` string, required
          - `device` string, required
          - `engine` string, required
          - `exclude_airlines` string, required
          - `include_airlines` string, required
          - `infants_in_seat` integer, required
          - `infants_on_lap` integer, required
          - `interest` string, required
          - `language` string, required
          - `limit` integer, required
          - `max_duration` integer, required
          - `max_price` integer, required
          - `month` number, required
          - `operation` string, required
          - `outbound_date` string, required
          - `pagination_limited` boolean, required: True when further pagination is unavailable. A completed source-stale request can contain verified results or an empty array; next_page_token is an empty string.
          - `pagination_reason` string, required: stale_cursor means a valid continuation was fetched but its source inventory changed. The HTTP 200 response is billable; keep any verified results and restart pagination.
          - `return_date` string, required
          - `stops` integer, required
          - `travel_class` string, required
          - `travel_duration` number, required
          - `travel_mode` integer, required
          - `trip_type` integer, required
          - `type` string, required
        - `serp_features` object[], required
          - `confidence` number, required
          - `engine` string, required
          - `extracted_at` string, required
          - `id` string, required
          - `items` object[], required
            - `link` string, required
            - `product_id` string, required
            - `text` string, required
            - `thumbnail` string, required
            - `title` string, required
          - `links` object[], required
            - `title` string, required
            - `url` string, required
          - `position` object, required
            - `absolute` integer, required
          - `source_result_ids` string[], required
          - `text` string, required
          - `title` string, required
          - `type` string, required
    - GoogleHtmlSearchData
      - `format` union, required
        - ''
        - 'html+br+base64'
      - `content` string, byte, required: Base64-encoded bytes. Decode Base64 first, then decompress the result with Brotli. Available deferred or lazy-loaded thumbnail sources are placed in image src attributes, within size limits; image and video files are not downloaded. When rewrite_links is true, already-resolved opaque Google anchor links use their destination URLs. Unresolved links are preserved.

## Other responses

- `400`: The JSON body, source selection, or continuation is invalid. Locally malformed, forged, expired, or mismatched tokens are rejected before source work and require restarting pagination. A source may also reject an otherwise well-formed selector after acquisition. These errors do not spend a search credit. Source inventory changes discovered during a valid request return a completed response instead.
- `401`: The API token is missing, invalid, expired, or revoked.
- `402`: No credits remain.
- `429`: Account rate limit exceeded.
- `500`: The request could not be completed.

---

[API](https://skmtc.dev/prismcrawl/apis/prismcrawl-api.md) · [All operations](https://skmtc.dev/prismcrawl/apis/prismcrawl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/prismcrawl/apis/prismcrawl-api/revisions/eef17f6c02a5?raw)
