---
title: "Search Booking.com flights"
method: GET
path: "/booking-flights/search"
tags: ["Booking"]
---

# Search Booking.com flights

`GET /booking-flights/search`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/booking-flights/search`
- Auth: API key in header `x-api-key`

Returns Booking.com flight offers between two locations given as `from` and `to` (such as `SGN.AIRPORT`), for a `depart` date. `type` is `ROUNDTRIP` (default, needs `return`) or `ONEWAY`. Also takes `adults` (1 to 9), `children`, `cabin_class` and `sort`. Offers carry `price`, `currency` and segments with legs; the response adds `total_count` and `min_price`.

## Query parameters

- `type` 'ROUNDTRIP' | 'ONEWAY'
- `from` string, required
- `to` string, required
- `from_country` string
- `to_country` string
- `depart` string, required
- `return` string
- `adults` integer
- `children` integer
- `cabin_class` string
- `sort` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- BookingBookingFlightSearchResponseDoc
  - `code` integer
  - `data` BookingFlightSearchResponse
    - `currency` string
    - `depart` string
    - `from` string
    - `min_price` number
    - `offers` BookingFlightOffer[]
      - `currency` string
      - `price` number
      - `segments` BookingFlightSegment[]
        - `arrival_airport` string
        - `arrival_city` string
        - `arrival_time` string
        - `departure_airport` string
        - `departure_city` string
        - `departure_time` string
        - `legs` BookingFlightLeg[]
          - `arrival_airport` string
          - `arrival_time` string
          - `cabin_class` string
          - `carrier` string
          - `carrier_code` string
          - `departure_airport` string
          - `departure_time` string
          - `duration_seconds` integer
          - `flight_number` integer
          - `stops` integer
      - `token` string
    - `return` string
    - `to` string
    - `total_count` integer
    - `type` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

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