Retrieve flight details

Retrieve flight details

GET/flights/details

Query parameters are token and resultId. You do not send the route, dates, cabin, or sort again. This call usually answers in 3–4 seconds and includes a booking link for each fare.

The booking URL

bookingOptions[].providerUrl opens the seller’s site with the trip filled in. Open it in a new tab and leave the query string as returned.

Read more

Why details hands off to the seller instead of booking: GDS vs booking engine vs a search API. Connecting search to an agent in Cursor or Claude: flights MCP.

Parameters

Query parameters.

tokenstringRequired

Any token of the search that produced the flight — the original searchToken or a later nextToken.

resultIdstringRequired

The id of a flight from /flights/results for this same token.

Returns

A successful response, captured live.

                        {
  "resultId": "31a71cd28ef337786fe1b368caf96730",
  "tripInfo": {
    "tripType": "oneWay",
    "isDomestic": true,
    "isMultiAirport": false
  },
  "legs": [
    {
      "departure": "2026-12-03T13:59:00",
      "arrival": "2026-12-03T17:17:00",
      "duration": 378,
      "stops": 0,
      "segments": [
        {
          "airline": "B6",
          "flightNumber": "723",
          "origin": "JFK",
          "destination": "LAX",
          "departure": "2026-12-03T13:59:00",
          "arrival": "2026-12-03T17:17:00",
          "duration": 378,
          "aircraft": "Airbus A318/A319/A320/A321"
        }
      ]
    }
  ],
  "bookingOptions": [
    {
      "providerCode": "B6",
      "providerUrl": "https://www.jetblue.com/booking/trip-summary?searchType=NORMAL&journeySpan=OW&origin=JFK&destination=LAX&departureDate=2026-12-03&numAdults=1&numChildren=0&numInfants=0&bookingClass=L&travelersDetails=true&fareFamily=DN&stop_mobi=true&flightNumbers=723&fareBasisCode=PI2QUEY1&source=ky_ct&referrerCode=KAYAK&kayakclickid=3256415737546D4B48706932526D3224743945413177&t=1793722531663&sig=uum03YWaJMa6nWSvLulM-wk209Y&src=gds",
      "providerDomain": "www.jetblue.com",
      "price": 159,
      "currency": "USD",
      "formattedPrice": "$159",
      "totalPrice": 159,
      "formattedTotalPrice": "$159",
      "bagFees": {
        "carryOn": {
          "status": "included",
          "price": 0,
          "label": "Included"
        },
        "checked": {
          "firstBag": {
            "status": "fee",
            "price": 49
          },
          "secondBag": {
            "status": "fee",
            "price": 69
          }
        },
        "disclosures": [
          "Up to 62in total"
        ],
        "policy": [
          {
            "type": "personalItem",
            "restrictions": {
              "dimensions": "Up to 16 x 12 x 7in"
            }
          },
          {
            "type": "carryOn",
            "restrictions": {
              "dimensions": "Up to 21 x 13 x 8in"
            }
          },
          {
            "type": "checked",
            "restrictions": {
              "dimensions": "Up to 62in total"
            }
          }
        ]
      },
      "segmentFares": [
        {
          "cabin": "economy",
          "quality": [
            {
              "type": "aircraft",
              "label": "Airbus A318/A319/A320/A321 (Narrow-body jet)"
            },
            {
              "type": "wifi",
              "label": "Streaming capable Wi-Fi"
            },
            {
              "type": "entertainment",
              "label": "Seatback on-demand & live TV"
            },
            {
              "type": "power",
              "label": "Power & USB outlets"
            },
            {
              "type": "seat",
              "label": "33\" seat pitch • 3-3 seat layout"
            },
            {
              "type": "food",
              "label": "Light meal (fee)"
            }
          ]
        }
      ],
      "badges": [
        "direct",
        "freeCancellation"
      ]
    },
    {
      "providerCode": "B6",
      "providerUrl": "https://www.jetblue.com/booking/trip-summary?searchType=NORMAL&journeySpan=OW&origin=JFK&destination=LAX&departureDate=2026-12-03&numAdults=1&numChildren=0&numInfants=0&bookingClass=P&travelersDetails=true&fareFamily=AN&stop_mobi=true&flightNumbers=723&fareBasisCode=PI2QUEY5&source=ky_ct&referrerCode=KAYAK&kayakclickid=5F6C625155586E6851347A4D53794C3858647A376467&t=1793722531792&sig=HdbMDB8b7DAK0B1II34-NqzNul4&src=gds",
      "providerDomain": "www.jetblue.com",
      "price": 214,
      "currency": "USD",
      "formattedPrice": "$214",
      "totalPrice": 214,
      "formattedTotalPrice": "$214",
      "bagFees": {
        "carryOn": {
          "status": "included",
          "price": 0,
          "label": "Included"
        },
        "checked": {
          "firstBag": {
            "status": "fee",
            "price": 49
          },
          "secondBag": {
            "status": "fee",
            "price": 69
          }
        },
        "disclosures": [
          "Up to 62in total"
        ],
        "policy": [
          {
            "type": "personalItem",
            "restrictions": {
              "dimensions": "Up to 16 x 12 x 7in"
            }
          },
          {
            "type": "carryOn",
            "restrictions": {
              "dimensions": "Up to 21 x 13 x 8in"
            }
          },
          {
            "type": "checked",
            "restrictions": {
              "dimensions": "Up to 62in total"
            }
          }
        ]
      },
      "segmentFares": [
        {
          "cabin": "economy",
          "quality": [
            {
              "type": "aircraft",
              "label": "Airbus A318/A319/A320/A321 (Narrow-body jet)"
            },
            {
              "type": "wifi",
              "label": "Streaming capable Wi-Fi"
            },
            {
              "type": "entertainment",
              "label": "Seatback on-demand & live TV"
            },
            {
              "type": "power",
              "label": "Power & USB outlets"
            },
            {
              "type": "seat",
              "label": "33\" seat pitch • 3-3 seat layout"
            },
            {
              "type": "food",
              "label": "Light meal (fee)"
            }
          ]
        }
      ],
      "badges": [
        "direct",
        "freeCancellation"
      ]
    },
    {
      "providerCode": "B6",
      "providerUrl": "https://www.jetblue.com/booking/trip-summary?searchType=NORMAL&journeySpan=OW&origin=JFK&destination=LAX&departureDate=2026-12-03&numAdults=1&numChildren=0&numInfants=0&bookingClass=P&travelersDetails=true&fareFamily=GR&stop_mobi=true&flightNumbers=723&fareBasisCode=PI2QUEY9&source=ky_ct&referrerCode=KAYAK&kayakclickid=745079744E4D5F774B376C545133744978554E725341&t=1793722531681&sig=d96QG5W6i-kmvL0KdYbZ-CPpRN4&src=direct",
      "providerDomain": "www.jetblue.com",
      "price": 294,
      "currency": "USD",
      "formattedPrice": "$294",
      "totalPrice": 294,
      "formattedTotalPrice": "$294",
      "bagFees": {
        "carryOn": {
          "status": "included",
          "price": 0,
          "label": "Included"
        },
        "checked": {
          "firstBag": {
            "status": "unknown",
            "price": null
          },
          "secondBag": {
            "status": "unknown",
            "price": null
          }
        },
        "disclosures": [
          "Up to 50lbs per bag",
          "Up to 62in total"
        ],
        "policy": [
          {
            "type": "personalItem",
            "restrictions": {
              "dimensions": "Up to 16 x 12 x 7in"
            }
          },
          {
            "type": "carryOn",
            "restrictions": {
              "dimensions": "Up to 21 x 13 x 8in"
            }
          },
          {
            "type": "checked",
            "restrictions": {
              "weight": "Up to 50lbs per bag"
            }
          }
        ]
      },
      "segmentFares": [
        {
          "cabin": "economy",
          "quality": [
            {
              "type": "aircraft",
              "label": "Airbus A318/A319/A320/A321 (Narrow-body jet)"
            },
            {
              "type": "wifi",
              "label": "Streaming capable Wi-Fi"
            },
            {
              "type": "entertainment",
              "label": "Seatback on-demand & live TV"
            },
            {
              "type": "power",
              "label": "Power & USB outlets"
            },
            {
              "type": "seat",
              "label": "33\" seat pitch • 3-3 seat layout"
            },
            {
              "type": "food",
              "label": "Light meal (fee)"
            }
          ]
        }
      ],
      "badges": [
        "direct",
        "freeCancellation"
      ]
    },
    {
      "providerCode": "B6",
      "providerUrl": "https://www.jetblue.com/booking/trip-summary?searchType=NORMAL&journeySpan=OW&origin=JFK&destination=LAX&departureDate=2026-12-03&numAdults=1&numChildren=0&numInfants=0&bookingClass=N&travelersDetails=true&fareFamily=DE&stop_mobi=true&flightNumbers=723&fareBasisCode=PI2ABEN1&source=ky_ct&referrerCode=KAYAK&kayakclickid=4D5A46366F486F6C6261454C526D7044526179727267&t=1793722531750&sig=vJ-qoyhsFLlzTjuZQpNaZ3MdPq8&src=gds",
      "providerDomain": "www.jetblue.com",
      "price": 399,
      "currency": "USD",
      "formattedPrice": "$399",
      "totalPrice": 399,
      "formattedTotalPrice": "$399",
      "bagFees": {
        "carryOn": {
          "status": "included",
          "price": 0,
          "label": "Included"
        },
        "checked": {
          "firstBag": {
            "status": "unknown",
            "price": null
          },
          "secondBag": {
            "status": "unknown",
            "price": null
          }
        },
        "disclosures": [
          "Up to 62in total"
        ],
        "policy": [
          {
            "type": "personalItem",
            "restrictions": {
              "dimensions": "Up to 16 x 12 x 7in"
            }
          },
          {
            "type": "carryOn",
            "restrictions": {
              "dimensions": "Up to 21 x 13 x 8in"
            }
          },
          {
            "type": "checked",
            "restrictions": {
              "dimensions": "Up to 62in total"
            }
          }
        ]
      },
      "segmentFares": [
        {
          "cabin": "economy",
          "quality": [
            {
              "type": "aircraft",
              "label": "Airbus A318/A319/A320/A321 (Narrow-body jet)"
            },
            {
              "type": "wifi",
              "label": "Streaming capable Wi-Fi"
            },
            {
              "type": "entertainment",
              "label": "Seatback on-demand & live TV"
            },
            {
              "type": "power",
              "label": "Power & USB outlets"
            },
            {
              "type": "seat",
              "label": "33\" seat pitch • 3-3 seat layout"
            },
            {
              "type": "food",
              "label": "Light meal (fee)"
            }
          ]
        }
      ],
      "badges": [
        "direct",
        "freeCancellation"
      ]
    },
    {
      "providerCode": "B6",
      "providerUrl": "https://www.jetblue.com/booking/trip-summary?searchType=NORMAL&journeySpan=OW&origin=JFK&destination=LAX&departureDate=2026-12-03&numAdults=1&numChildren=0&numInfants=0&bookingClass=N&travelersDetails=true&fareFamily=EN&stop_mobi=true&flightNumbers=723&fareBasisCode=PI2ABEN5&source=ky_ct&referrerCode=KAYAK&kayakclickid=416E7476434635785236574B54632444455579334B51&t=1793722531709&sig=JJm79PRHdBa_ted1sxfVCKkV-oQ&src=direct",
      "providerDomain": "www.jetblue.com",
      "price": 452,
      "currency": "USD",
      "formattedPrice": "$452",
      "totalPrice": 452,
      "formattedTotalPrice": "$452",
      "bagFees": {
        "carryOn": {
          "status": "included",
          "price": 0,
          "label": "Included"
        },
        "checked": {
          "firstBag": {
            "status": "unknown",
            "price": null
          },
          "secondBag": {
            "status": "unknown",
            "price": null
          }
        },
        "disclosures": [
          "Up to 50lbs per bag",
          "Up to 62in total"
        ],
        "policy": [
          {
            "type": "personalItem",
            "restrictions": {
              "dimensions": "Up to 16 x 12 x 7in"
            }
          },
          {
            "type": "carryOn",
            "restrictions": {
              "dimensions": "Up to 21 x 13 x 8in"
            }
          },
          {
            "type": "checked",
            "restrictions": {
              "weight": "Up to 50lbs per bag"
            }
          }
        ]
      },
      "segmentFares": [
        {
          "cabin": "economy",
          "quality": [
            {
              "type": "aircraft",
              "label": "Airbus A318/A319/A320/A321 (Narrow-body jet)"
            },
            {
              "type": "wifi",
              "label": "Wi-Fi available"
            },
            {
              "type": "entertainment",
              "label": "Live TV available"
            }
          ]
        }
      ],
      "badges": [
        "direct",
        "freeCancellation"
      ]
    },
    {
      "providerCode": "B6",
      "providerUrl": "https://www.jetblue.com/booking/trip-summary?searchType=NORMAL&journeySpan=OW&origin=JFK&destination=LAX&departureDate=2026-12-03&numAdults=1&numChildren=0&numInfants=0&bookingClass=N&travelersDetails=true&fareFamily=ER&stop_mobi=true&flightNumbers=723&fareBasisCode=PI2ABEN9&source=ky_ct&referrerCode=KAYAK&kayakclickid=467373304D7464626A4C4732524E54325F4942565067&t=1793722531690&sig=NDIMCXfxbON3Q_1O9Dw9gdwfpoU&src=direct",
      "providerDomain": "www.jetblue.com",
      "price": 545,
      "currency": "USD",
      "formattedPrice": "$545",
      "totalPrice": 545,
      "formattedTotalPrice": "$545",
      "bagFees": {
        "carryOn": {
          "status": "included",
          "price": 0,
          "label": "Included"
        },
        "checked": {
          "firstBag": {
            "status": "unknown",
            "price": null
          },
          "secondBag": {
            "status": "unknown",
            "price": null
          }
        },
        "disclosures": [
          "Up to 50lbs per bag",
          "Up to 62in total"
        ],
        "policy": [
          {
            "type": "personalItem",
            "restrictions": {
              "dimensions": "Up to 16 x 12 x 7in"
            }
          },
          {
            "type": "carryOn",
            "restrictions": {
              "dimensions": "Up to 21 x 13 x 8in"
            }
          },
          {
            "type": "checked",
            "restrictions": {
              "weight": "Up to 50lbs per bag"
            }
          }
        ]
      },
      "segmentFares": [
        {
          "cabin": "economy",
          "quality": [
            {
              "type": "aircraft",
              "label": "Airbus A318/A319/A320/A321 (Narrow-body jet)"
            },
            {
              "type": "wifi",
              "label": "Streaming capable Wi-Fi"
            },
            {
              "type": "entertainment",
              "label": "Seatback on-demand & live TV"
            },
            {
              "type": "power",
              "label": "Power & USB outlets"
            },
            {
              "type": "seat",
              "label": "33\" seat pitch • 3-3 seat layout"
            },
            {
              "type": "food",
              "label": "Light meal (fee)"
            }
          ]
        }
      ],
      "badges": [
        "direct",
        "freeCancellation"
      ]
    },
    {
      "providerCode": "B6",
      "providerUrl": "https://www.jetblue.com/booking/trip-summary?searchType=NORMAL&journeySpan=OW&origin=JFK&destination=LAX&departureDate=2026-12-03&numAdults=1&numChildren=0&numInfants=0&bookingClass=C&travelersDetails=true&fareFamily=FM&stop_mobi=true&flightNumbers=723&fareBasisCode=CI2GHEJ1&source=ky_ct&referrerCode=KAYAK&kayakclickid=5134675A4C376C4D3737787A54357745696273426967&t=1793722531803&sig=2Rp2scVaJ4gK5cQuyAvU6vZ9oRA&src=gds",
      "providerDomain": "www.jetblue.com",
      "price": 2418,
      "currency": "USD",
      "formattedPrice": "$2,418",
      "totalPrice": 2418,
      "formattedTotalPrice": "$2,418",
      "bagFees": {
        "carryOn": {
          "status": "included",
          "price": 0,
          "label": "Included"
        },
        "checked": {
          "firstBag": {
            "status": "included",
            "price": 0
          },
          "secondBag": {
            "status": "unknown",
            "price": null
          }
        },
        "disclosures": [
          "Up to 62in total"
        ],
        "policy": [
          {
            "type": "personalItem",
            "restrictions": {
              "dimensions": "Up to 16 x 12 x 7in"
            }
          },
          {
            "type": "carryOn",
            "restrictions": {
              "dimensions": "Up to 21 x 13 x 8in"
            }
          },
          {
            "type": "checked",
            "restrictions": {
              "dimensions": "Up to 62in total"
            }
          }
        ]
      },
      "segmentFares": [
        {
          "cabin": "business",
          "quality": [
            {
              "type": "aircraft",
              "label": "Airbus A318/A319/A320/A321 (Narrow-body jet)"
            },
            {
              "type": "wifi",
              "label": "Streaming capable Wi-Fi"
            },
            {
              "type": "entertainment",
              "label": "Seatback on-demand & live TV"
            },
            {
              "type": "power",
              "label": "Power & USB outlets"
            },
            {
              "type": "seat",
              "label": "Full flat • 2-2 seat layout"
            },
            {
              "type": "food",
              "label": "Meal provided"
            }
          ]
        }
      ],
      "badges": [
        "direct",
        "freeCancellation"
      ]
    }
  ],
  "fareFamilies": [
    {
      "id": "DN",
      "name": "Main Base",
      "cabin": "economy",
      "price": 159,
      "formattedPrice": "$159",
      "amenities": [
        {
          "type": "carryOnBag",
          "restriction": "included",
          "prices": {
            "firstBag": 0
          }
        },
        {
          "type": "checkedBag",
          "restriction": "fee",
          "prices": {
            "firstBag": 49,
            "secondBag": 69
          }
        },
        {
          "type": "seatSelection",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "legroom",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "change",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "refundable",
          "restriction": "unavailable",
          "prices": null
        }
      ]
    },
    {
      "id": "AN",
      "name": "Main",
      "cabin": "economy",
      "price": 214,
      "formattedPrice": "$214",
      "amenities": [
        {
          "type": "carryOnBag",
          "restriction": "included",
          "prices": {
            "firstBag": 0
          }
        },
        {
          "type": "checkedBag",
          "restriction": "fee",
          "prices": {
            "firstBag": 49,
            "secondBag": 69
          }
        },
        {
          "type": "seatSelection",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "legroom",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "change",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "refundable",
          "restriction": "unavailable",
          "prices": null
        }
      ]
    },
    {
      "id": "GR",
      "name": "Main Flex",
      "cabin": "economy",
      "price": 294,
      "formattedPrice": "$294",
      "amenities": [
        {
          "type": "carryOnBag",
          "restriction": "included",
          "prices": {
            "firstBag": 0
          }
        },
        {
          "type": "checkedBag",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "seatSelection",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "legroom",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "change",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "refundable",
          "restriction": "included",
          "prices": null
        }
      ]
    },
    {
      "id": "DE",
      "name": "EvenMore Base",
      "cabin": "economy",
      "price": 399,
      "formattedPrice": "$399",
      "amenities": [
        {
          "type": "carryOnBag",
          "restriction": "included",
          "prices": {
            "firstBag": 0
          }
        },
        {
          "type": "checkedBag",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "seatSelection",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "legroom",
          "restriction": "unavailable",
          "prices": null
        },
        {
          "type": "change",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "refundable",
          "restriction": "unavailable",
          "prices": null
        }
      ]
    },
    {
      "id": "EN",
      "name": "EvenMore",
      "cabin": "economy",
      "price": 452,
      "formattedPrice": "$452",
      "amenities": [
        {
          "type": "carryOnBag",
          "restriction": "included",
          "prices": {
            "firstBag": 0
          }
        },
        {
          "type": "checkedBag",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "seatSelection",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "legroom",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "change",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "refundable",
          "restriction": "unavailable",
          "prices": null
        }
      ]
    },
    {
      "id": "ER",
      "name": "EvenMore Flex",
      "cabin": "economy",
      "price": 545,
      "formattedPrice": "$545",
      "amenities": [
        {
          "type": "carryOnBag",
          "restriction": "included",
          "prices": {
            "firstBag": 0
          }
        },
        {
          "type": "checkedBag",
          "restriction": "fee",
          "prices": null
        },
        {
          "type": "seatSelection",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "legroom",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "change",
          "restriction": "included",
          "prices": null
        },
        {
          "type": "refundable",
          "restriction": "included",
          "prices": null
        }
      ]
    },
    {
      "id": "FM",
      "name": "Business Cabin",
      "cabin": "business",
      "price": 2418,
      "formattedPrice": "$2,418",
      "amenities": [
        {
          "type": "carryOnBag",
          "restriction": "included",
          "prices": {
            "firstBag": 0
          }
        },
        {
          "type": "checkedBag",
          "restriction": "included",
          "prices": {
            "firstBag": 0
          }
        },
        {
          "type": "seatSelection",
          "restriction": "unknown",
          "prices": null
        },
        {
          "type": "legroom",
          "restriction": "unknown",
          "prices": null
        },
        {
          "type": "change",
          "restriction": "unknown",
          "prices": null
        },
        {
          "type": "refundable",
          "restriction": "unknown",
          "prices": null
        }
      ]
    }
  ],
  "airports": {
    "LAX": {
      "name": "Los Angeles",
      "city": "Los Angeles",
      "cityCode": "LAX",
      "utcOffsetHours": -8
    },
    "JFK": {
      "name": "John F Kennedy Intl",
      "city": "New York",
      "cityCode": "NYC",
      "utcOffsetHours": -5
    }
  },
  "airlines": {
    "B6": {
      "name": "JetBlue",
      "feePageUrl": "https://www.jetblue.com/at-the-airport/baggage-information"
    }
  },
  "providers": {
    "B6": {
      "name": "JetBlue",
      "type": "Airline"
    }
  }
}