---
title: "Search flights (retired)"
method: POST
path: "/v1/flights/search"
tags: ["flights"]
---

# Search flights (retired)

`POST /v1/flights/search`

## Request

- Base URL: `https://api.getmyhotels.com`
- URL: `https://api.getmyhotels.com/v1/flights/search`
- Auth: none declared

Flights are no longer offered. Kept so iOS and Android builds already in the stores keep decoding: always returns 200 with an empty result set, `health.flights = "skipped"` and an informational diagnostic, and never calls a supplier.

## Request body

- object
  - `origin` string, required
  - `destination` string, required
  - `departureDate` string, required
  - `returnDate` string
  - `routeType` 'oneway' | 'return'
  - `cabinType` 'economy' | 'business' | 'first'
  - `adults` integer
  - `children` integer
  - `infants` integer
  - `page` integer
  - `limit` integer
  - `sortBy` 'price' | 'duration'
  - `airline` string
  - `stops` 'non_stop' | 'one_stop' | 'two_plus'
  - `nonstop` boolean

## Response `200`

Success

- unknown

## Other responses

- `400`: Request validation failed or the router rejected the input
- `426`: Reported X-GMH-App-Version is below the supported minimum — the app must update
- `500`: Unexpected server error (opaque; details stay in logs)

---

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