Skip to main content

SearchMeta

Search summary. New keys may be added.

providersstring[]required

Providers considered.

Example: ["provider_a","provider_b","provider_c","provider_d"]
offer_countintegerrequired

Number of offers.

Example: 39
sortstringrequired

Sort order applied: price_asc.

Example: price_asc
currenciesstring[]required

The requested currency (empty when there are no offers).

Example: ["INR"]
directionsstring[]

Airport: legs searched (arrival, departure).

Example: ["arrival"]
legsstring[]

Point-to-point and hourly: legs searched.

Example: ["outbound"]
searches object[]

Point-to-point and hourly: provider and leg pairs actually searched.

  • Array [
  • providerstring
    Example: healthy
    legstring
    Example: healthy
  • ]
  • skipped_providers object

    Always present ({} when empty). Providers that returned no offers for a non-error reason: provider_not_enabled, no_availability (searched, no product for this route and date), or a short text when the provider cannot serve the request.

    property name*string
    Example: healthy
    trip_typestring

    Point-to-point: one_way or round_trip.

    Example: one_way
    hoursinteger

    Hourly: requested hours.

    Example: 4
    property name*any

    Search summary. New keys may be added.

    SearchMeta
    {
    "providers": [
    "provider_a",
    "provider_b",
    "provider_c",
    "provider_d"
    ],
    "offer_count": 39,
    "sort": "price_asc",
    "currencies": [
    "INR"
    ],
    "directions": [
    "arrival"
    ],
    "legs": [
    "outbound"
    ],
    "searches": [
    {
    "provider": "provider_a",
    "leg": "outbound"
    },
    {
    "provider": "provider_b",
    "leg": "outbound"
    },
    {
    "provider": "provider_c",
    "leg": "outbound"
    },
    {
    "provider": "provider_d",
    "leg": "outbound"
    }
    ],
    "skipped_providers": {
    "provider_c": "provider_c has no hourly product"
    },
    "trip_type": "one_way",
    "hours": 4
    }