> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.kitionz.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.kitionz.com/_mcp/server.

# 3 · Available dates

POST https://sandbox-api.kitionz.com/v1/flights/availability
Content-Type: application/json

**List available dates for a route.**

**What:** the departure dates the suppliers' own catalogues list for an origin → destination. A listed date is what the supplier publishes, not a promise of a seat: search the date to see fares.

**When:** to build a date picker / calendar before searching.

**How:** `POST` with a JSON body `{ origin, destination, tripType? }`. No query params.

**Response:** `{ origin, destination, tripType, dates[] }` — the route + trip kind are echoed ONCE (they are the request body inputs), with the bookable `dates` listed under them. `meta.count` = number of dates.

* **No `tripType` sent (every kind):** `tripType` is `null`; one row per date, sorted, each `{ departureDate, tripTypes }` — the kinds the catalogues list for that day, `ONE_WAY` first. `["ROUND_TRIP"]` alone means only round-trip packages were listed for that day (a one-way supplier that failed is reported in `meta.suppliers`). Round-trip dates are asked only of suppliers that sell round-trip packages.
* **`tripType` sent:** only that kind, `{ departureDate }` per date, and no `tripTypes`.
* **No return dates:** a date is the day a trip LEAVES. Packages leaving the same day can come back on different days, so `/search` names each package with its own `returnDate`.

**Gotcha:** this returns **dates only** — no prices or seats. Call `/search` for offers + prices. `sources` works as on `/origins`.

**Supplier health:** `meta.suppliers[]` has one entry per supplier Kitionz considered, for each trip kind it was asked about: `{ sourceCode, tripType, status, tookMs }`. With no `tripType` in the request, a supplier that sells round trips has two entries (`ONE_WAY` and `ROUND_TRIP`). `status` = `ok`, `not_asked`, or a classified error code. `not_asked` (with `reason` = `ORIGIN_NOT_LISTED` or `DEST_NOT_LISTED`) means the supplier was not called because its own saved list for the previous step did not contain the airport — an answer, not a fault; treat only error codes as failures, and treat an unrecognised `status` as opaque. If a supplier fails (or is backing off after rate-limiting Kitionz) and Kitionz holds a recent good answer from it, that answer is still included and its entry carries `stale: true` + `staleAgeMs` (route lists up to 24 h old, date lists up to 2 h old with past dates removed). Route lists are cached for up to 2 h and date lists for up to 15 min: a list is served from the cache inside its window and fetched again on the first request after it.

**Example — request** (every trip kind):

```json
{ "origin": "DEL", "destination": "BOM" }
```

**Response (trimmed)** — 15 Jan has one-way flights only; on 16 Jan a round-trip package leaves too:

```json
{ "data": { "origin": { "iataCode": "DEL" }, "destination": { "iataCode": "BOM" }, "tripType": null, "dates": [ { "departureDate": "2027-01-15", "tripTypes": ["ONE_WAY"] }, { "departureDate": "2027-01-16", "tripTypes": ["ONE_WAY", "ROUND_TRIP"] } ] }, "meta": { "count": 2 } }
```

Reference: https://docs.kitionz.com/flight-api/3-available-dates

## Authentication

- `Authorization` header (bearer token, required) — Your Kitionz API key, sent as `Authorization: Bearer keyId:secret`. Create it in your Kitionz console under **API → API keys**.

## Servers

- `https://sandbox-api.kitionz.com` (Test, default)
- `https://api.kitionz.com` (Live)

## Request

### Body (application/json)

This endpoint expects an availabilityBody.

- `origin` (string, required)
- `destination` (string, required)
- `tripType` (enum, optional) — ONE_WAY or ROUND_TRIP lists only that kind of trip. Leave it out to list every kind: one-way flights and round-trip packages together (as /search does).
  - Allowed values: `ONE_WAY`, `ROUND_TRIP`
- `sources` (list of string, optional) — Optional. Leave it out to use every supplier your account has switched on. Send a list of sourceCodes only to narrow this call to some of them; a code you cannot use is refused (403), and blank entries are ignored.

## Response

### 200

Default Response

- `success` (boolean, required)
- `statusCode` (double, required)
- `data` (FlightAvailability, required) — The route echoed once, with its bookable dates listed under it.
- `meta` (V1FlightsAvailabilityPostResponsesContentApplicationJsonSchemaMeta, required)

## Types

### FlightAvailability

The route echoed once, with its bookable dates listed under it.

- `origin` (FlightAvailabilityOrigin, required, nullable)
- `destination` (FlightAvailabilityDestination, required, nullable)
- `tripType` (enum, required, nullable) — The trip kind you asked for. null when you sent none: every kind is listed and each date carries tripTypes.
  - Allowed values: `ONE_WAY`, `ROUND_TRIP`
- `dates` (list of FlightAvailabilityDatesItems, required)

### V1FlightsAvailabilityPostResponsesContentApplicationJsonSchemaMeta

- `requestId` (string, required)
- `timestamp` (datetime, required)
- `path` (string, required)
- `method` (string, required)
- `responseTime` (double, optional)
- `pagination` (V1FlightsAvailabilityPostResponsesContentApplicationJsonSchemaMetaPagination, optional)

### FlightAvailabilityOrigin

- `iataCode` (string, required)
- `airportName` (string, required)
- `city` (string, required)
- `country` (string, required)
- `countryCode` (string, required)
- `metroCode` (string, required, nullable)

### FlightAvailabilityDestination

- `iataCode` (string, required)
- `airportName` (string, required)
- `city` (string, required)
- `country` (string, required)
- `countryCode` (string, required)
- `metroCode` (string, required, nullable)

### FlightAvailabilityDatesItems

- `departureDate` (string, required)
- `tripTypes` (list of enum, optional) — Only when you sent no tripType: the kinds of trip on sale that day, ONE_WAY first. ROUND_TRIP means at least one round-trip package leaves that day.
  - Allowed values: `ONE_WAY`, `ROUND_TRIP`

### V1FlightsAvailabilityPostResponsesContentApplicationJsonSchemaMetaPagination

- `page` (double, optional)
- `limit` (double, optional)
- `total` (double, optional)
- `totalPages` (double, optional)
- `hasNext` (boolean, optional)
- `hasPrev` (boolean, optional)

## Examples

**Request**

```json
{
  "origin": "DEL",
  "destination": "BOM"
}
```

**Response**

```json
{
  "success": true,
  "statusCode": 200,
  "data": {
    "origin": {
      "iataCode": "DEL",
      "airportName": "Indira Gandhi International Airport",
      "city": "New Delhi",
      "country": "India",
      "countryCode": "IN",
      "metroCode": null
    },
    "destination": {
      "iataCode": "BOM",
      "airportName": "Chhatrapati Shivaji Maharaj International Airport",
      "city": "Mumbai",
      "country": "India",
      "countryCode": "IN",
      "metroCode": null
    },
    "tripType": null,
    "dates": [
      {
        "departureDate": "2026-10-27",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-10-28",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-10-29",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-10-30",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-10-31",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-01",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-02",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-03",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-04",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-05",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-06",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-07",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-08",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-09",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-10",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-11",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-12",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-13",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-14",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-15",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-16",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-17",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-18",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-19",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-20",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-21",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-22",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-23",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-24",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-25",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-26",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-27",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-11-28",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-29",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-11-30",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-01",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-02",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-03",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-04",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-05",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-06",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-07",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-08",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-09",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-10",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-11",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-12",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-13",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-14",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-15",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-16",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-17",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-18",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-19",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-20",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-21",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-22",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-23",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-24",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-25",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-26",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-27",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-28",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-29",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2026-12-30",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2026-12-31",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-01",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-02",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-03",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-04",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-05",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-06",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-07",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-08",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-09",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-10",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-11",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-12",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-13",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-14",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-15",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-16",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-17",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-18",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-19",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-20",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-21",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-22",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-23",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-24",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-25",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-26",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-27",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-28",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-29",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-01-30",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-01-31",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-01",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-02-02",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-03",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-04",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-02-05",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-06",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-07",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-02-08",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-09",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-10",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-02-11",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-12",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-13",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-02-14",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-15",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-16",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-02-17",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-18",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-19",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-02-20",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-21",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-22",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-02-23",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-24",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-25",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-02-26",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-27",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-02-28",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-01",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-02",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-03",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-04",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-05",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-06",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-07",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-08",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-09",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-10",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-11",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-12",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-13",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-14",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-15",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-16",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-17",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-18",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-19",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-20",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-21",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-22",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-23",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-24",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-25",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-26",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-27",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-28",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-29",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-03-30",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-03-31",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-01",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-02",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-03",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-04",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-05",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-06",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-07",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-08",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-09",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-10",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-11",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-12",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-13",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-14",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-15",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-16",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-17",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-18",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-19",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-20",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-21",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-22",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-23",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-24",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-25",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-26",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-27",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-28",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-04-29",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-04-30",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-01",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-02",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-03",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-04",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-05",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-06",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-07",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-08",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-09",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-10",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-11",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-12",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-13",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-14",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-15",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-16",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-17",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-18",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-19",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-20",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-21",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-22",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-23",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-24",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-25",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-26",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-27",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-28",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-29",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-05-30",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-05-31",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-01",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-02",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-03",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-04",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-05",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-06",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-07",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-08",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-09",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-10",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-11",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-12",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-13",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-14",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-15",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-16",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-17",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-18",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-19",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-20",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-21",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-22",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-23",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-24",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-25",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-26",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-27",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-28",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-06-29",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-06-30",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-01",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-02",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-03",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-04",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-05",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-06",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-07",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-08",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-09",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-10",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-11",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-12",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-13",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-14",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-15",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-16",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-17",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-18",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-19",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-20",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-21",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-22",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-23",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-24",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-25",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-26",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-27",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-28",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-07-29",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-30",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-07-31",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-01",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-02",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-03",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-04",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-05",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-06",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-07",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-08",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-09",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-10",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-11",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-12",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-13",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-14",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-15",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-16",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-17",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-18",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-19",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-20",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-21",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-22",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-23",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-24",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-25",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-26",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-27",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-28",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-29",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-08-30",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-08-31",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-01",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-02",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-09-03",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-04",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-05",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-09-06",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-07",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-08",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-09-09",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-10",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-11",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-09-12",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-13",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-14",
        "tripTypes": [
          "ONE_WAY",
          "ROUND_TRIP"
        ]
      },
      {
        "departureDate": "2027-09-15",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-16",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-17",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-18",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-19",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-20",
        "tripTypes": [
          "ONE_WAY"
        ]
      },
      {
        "departureDate": "2027-09-21",
        "tripTypes": [
          "ONE_WAY"
        ]
      }
    ]
  },
  "meta": {
    "requestId": "req_034n1fbZLXCdUGy44NinsJ",
    "timestamp": "2026-10-27T05:54:25.496Z",
    "path": "/v1/flights/availability",
    "method": "POST",
    "count": 330,
    "supplierDisclosure": "AFTER_BOOKING",
    "suppliers": []
  }
}
```

**SDK Code**

```python
import requests

url = "https://sandbox-api.kitionz.com/v1/flights/availability"

payload = {
    "origin": "DEL",
    "destination": "BOM"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://sandbox-api.kitionz.com/v1/flights/availability';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"origin":"DEL","destination":"BOM"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://sandbox-api.kitionz.com/v1/flights/availability"

	payload := strings.NewReader("{\n  \"origin\": \"DEL\",\n  \"destination\": \"BOM\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://sandbox-api.kitionz.com/v1/flights/availability")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"origin\": \"DEL\",\n  \"destination\": \"BOM\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://sandbox-api.kitionz.com/v1/flights/availability")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"origin\": \"DEL\",\n  \"destination\": \"BOM\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://sandbox-api.kitionz.com/v1/flights/availability', [
  'body' => '{
  "origin": "DEL",
  "destination": "BOM"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://sandbox-api.kitionz.com/v1/flights/availability");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"origin\": \"DEL\",\n  \"destination\": \"BOM\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "origin": "DEL",
  "destination": "BOM"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox-api.kitionz.com/v1/flights/availability")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```