Amadeus Solutions · Schema

GetFlightOffersQuery

GetFlightOffersQuery schema

AirlinesBookingFlightsGDSHotelsTravelTravel Technology

Properties

Name Type Description
currencyCode string The currency code, as defined in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217), to reflect the currency in which this amount is expressed.
originDestinations array Origins and Destinations must be properly ordered in time (chronological order in accordance with the timezone of each location) to describe the journey consistently. Dates and times must not be past
travelers array travelers in the trip. Maximum number of passengers older than 2 yo (CHILD, ADULT, YOUGHT): 9. Each adult can travel with one INFANT so maximum total number of passengers: 18
sources array Allows enable one or more sources. If present in the list, these sources will be called by the system.
searchCriteria object
View JSON Schema on GitHub

JSON Schema

flight-offers-search-get-flight-offers-query-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-solutions/refs/heads/main/json-schema/flight-offers-search-get-flight-offers-query-schema.json",
  "title": "GetFlightOffersQuery",
  "description": "GetFlightOffersQuery schema",
  "properties": {
    "currencyCode": {
      "type": "string",
      "description": "The currency code, as defined in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217), to reflect the currency in which this amount is expressed.",
      "example": "EUR"
    },
    "originDestinations": {
      "title": "originDestinations",
      "description": "Origins and Destinations must be properly ordered in time (chronological order in accordance with the timezone of each location) to describe the journey consistently. Dates and times must not be past nor more than 365 days in the future, according to provider settings.Number of Origins and Destinations must not exceed the limit defined in provider settings.",
      "type": "array",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "$ref": "#/definitions/OriginDestination"
      }
    },
    "travelers": {
      "title": "travelers",
      "description": "travelers in the trip. \n\n Maximum number of passengers older than 2 yo (CHILD, ADULT, YOUGHT): 9.\n Each adult can travel with one INFANT so maximum total number of passengers: 18",
      "type": "array",
      "minItems": 1,
      "maxItems": 18,
      "items": {
        "$ref": "#/definitions/Extended_TravelerInfo"
      }
    },
    "sources": {
      "title": "sources",
      "description": "Allows enable one or more sources. If present in the list, these sources will be called by the system.",
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/definitions/FlightOfferSource"
      }
    },
    "searchCriteria": {
      "$ref": "#/definitions/SearchCriteria"
    }
  },
  "required": [
    "originDestinations",
    "travelers",
    "sources"
  ],
  "example": {
    "currencyCode": "USD",
    "originDestinations": [
      {
        "id": "1",
        "originLocationCode": "NYC",
        "destinationLocationCode": "MAD",
        "departureDateTimeRange": {
          "date": "2023-11-01",
          "time": "10:00:00"
        }
      }
    ],
    "travelers": [
      {
        "id": "1",
        "travelerType": "ADULT"
      }
    ],
    "sources": [
      "GDS"
    ],
    "searchCriteria": {
      "maxFlightOffers": 2,
      "flightFilters": {
        "cabinRestrictions": [
          {
            "cabin": "BUSINESS",
            "coverage": "MOST_SEGMENTS",
            "originDestinationIds": [
              "1"
            ]
          }
        ]
      }
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/flight-offers-search-get-flight-offers-query"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.