APIs / Kayak Flights / Round Trip

Kayak Flights: Round Trip

Round Trip from Kayak Flights as JSON. 1 credit per successful call.

GET /v1/kayak-flights/round-trip

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
originstringRequiredAny
destinationstringRequiredAny
departure_datestringRequiredAny
adultsintegerOptionalAny
childrenintegerOptionalAny
infants_in_seatintegerOptionalAny
infants_on_lapintegerOptionalAny
cabinstringOptionaleconomy, premium_economy, business, first
sortstringOptionalbest, price, duration
pageintegerOptionalAny
currencystringOptionalUp to 3 characters
localestringOptionalAny
include_price_predictionbooleanOptionalAny
include_display_metadatabooleanOptionalAny
return_datestringRequiredAny

Example request

Kayak Flights
GET/v1/kayak-flights/round-trip?origin=SFO&destination=NYC&departure_date=2027-01-09&return_date=2027-01-16&adults=1
{
  "success": true,
  "flights": [
    {
      "resultId": "4a6feb6150d2ae7261e2efe22f626a51-sponsored",
      "type": "fsr",
      "bookingOptions": [
        "…"
      ],
      "bookingOptionsBuckets": [
        "…"
      ],
      "fsrData": {
        "fspId": "9990374",
        "sponsoredResultTrackUrl": "…",
        "trackUrl": "…",
        "trackUrl2": "…",
        "adKey": "4a6feb6150d2ae7261e2efe22f626a511",
        "sponsoredView": "…",
        "companyName": "American Airlines, Inc."
      },
      "isSaved": false,
      "tripId": "4a6feb6150d2ae7261e2efe22f626a51",
      "featuredBookingOptions": [
        "…"
      ],
      "ratesTableBookingOptions": [
        "…"
      ],
      "shareableId": "4a6feb6150d2ae7261e2efe22f626a51",
      "shareableUrl": "https://www.kayak.com/flights/SFO-NYC/2026-12-12/2026-12-19/f4a6feb6150d2ae7261e…",
      "legs": [
        "…"
      ],
      "totalBookingOptions": 4,
      "totalDistinctFares": 4,
      "hasHackerFares": false,
      "enableSaveForLater": false,
      "viewRank": 0,
      "adContentId": "ab1f760698f697eaf5e5f1d26749c30f",
      "adPlacementCode": "9990374",
      "totalProviders": 1
    }
  ],
  "providers": [
    {
      "displayName": "American Airlines",
      "logoUrls": [
        "…"
      ],
      "providerQualityScore": {
        "badgeType": "AIRLINE",
        "badgeText": "Airline"
      },
      "id": "AA"
    }
  ],
  "airlines": [
    {
      "logoUrl": {
        "url": "https://content.r9cdn.net/rimg/provider-logos/airlines/v/AA.png?crop=false&width…",
        "urlType": "absolute"
      },
      "name": "American Airlines",
      "airlineFeeUrl": {
        "url": "https://www.aa.com/web/i18n/travel-info/baggage/checked-baggage-policy.html",
        "urlType": "absolute"
      },
      "id": "AA"
    }
  ],
  "airports": [
    {
      "displayName": "Newark",
      "fullDisplayName": "Newark",
      "cityCode": "NYC",
      "cityName": "Newark",
      "id": "EWR"
    }
  ],
  "legs": [
    {
      "duration": 320,
      "segments": [
        "…"
      ],
      "arrival": "2026-12-12T16:35:00",
      "departure": "2026-12-12T08:15:00",
      "id": "SFOEWR1797062400000UA16421"
    }
  ],
  "segments": [
    {
      "airline": "UA",
      "flightNumber": "648",
      "origin": "EWR",
      "destination": "SFO",
      "arrival": "2026-12-19T09:39:00",
      "departure": "2026-12-19T06:00:00",
      "equipmentTypeName": "Boeing 757",
      "duration": 399,
      "id": "1797660000000UA64801000439"
    }
  ],
  "filters": {
    "airlines": {
      "id": "airlines",
      "items": [
        "…"
      ]
    },
    "airports": {
      "filterGroups": [
        "…"
      ]
    },
    "sameair": {
      "items": [
        "…"
      ]
    },
    "layoverair": {
      "id": "layoverair",
      "items": [
        "…"
      ]
    },
    "providers": {
      "id": "providers",
      "items": [
        "…"
      ]
    },
    "cabin": {
      "id": "cabin",
      "items": [
        "…"
      ]
    },
    "layoverdur": {
      "values": [
        0
      ],
      "minSelected": 0,
      "maxSelected": 30,
      "leftRange": 0,
      "rightRange": 1396,
      "minRange": 0,
      "maxRange": 1396
    },
    "price": {
      "values": [
        517
      ],
      "minSelected": 0,
      "maxSelected": 30,
      "leftRange": 517,
      "rightRange": 7717,
      "averagePrice": {
        "price": 988,
        "currency": "USD",
        "localizedPrice": "$988"
      },
      "count": [
        2
      ],
      "formattedValues": [
        "$517"
      ],
      "maxCount": 160,
      "minRange": 517,
      "maxRange": 7717
    },
    "stops": {
      "id": "stops",
      "items": [
        "…"
      ]
    },
    "legdur": {
      "values": [
        383
      ],
      "minSelected": 0,
      "maxSelected": 30,
      "leftRange": 383,
      "rightRange": 2585,
      "minRange": 383,
      "maxRange": 2585
    },
    "alliance": {
      "items": [
        "…"
      ]
    },
    "equipment": {
      "items": [
        "…"
      ]
    },
    "eqmodel": {
      "items": [
        "…"
      ]
    },
    "whisky": {
      "items": [
        "…"
      ]
    },
    "specificleg": {
      "specificLeg": true
    },
    "bfc": {
      "items": [
        "…"
      ]
    },
    "cfc": {
      "items": [
        "…"
      ]
    },
    "currency": {
      "items": [
        "…"
      ]
    },
    "landing": {
      "combineUsing": "intersection",
      "items": [
        "…"
      ]
    },
    "takeoff": {
      "combineUsing": "intersection",
      "items": [
        "…"
      ]
    },
    "wifi": {
      "id": "wifi",
      "items": [
        "…"
      ]
    },
    "baditin": {
      "id": "baditin",
      "items": [
        "…"
      ]
    },
    "airportchange": {
      "id": "airportchange",
      "items": [
        "…"
      ]
    },
    "redeye": {
      "id": "redeye",
      "items": [
        "…"
      ]
    },
    "virtualinterline": {
      "id": "virtualinterline",
      "items": [
        "…"
      ]
    },
    "split": {
      "id": "split",
      "items": [
        "…"
      ]
    },
    "hidebasic": {
      "items": [
        "…"
      ]
    }
  },
  "sort_options": {
    "depart_a": {
      "price": {
        "price": 613,
        "currency": "USD",
        "localizedPrice": "$613"
      },
      "duration": "8h 55m"
    },
    "depart_b": {
      "price": {
        "price": 2307,
        "currency": "USD",
        "localizedPrice": "$2,307"
      },
      "duration": "8h 32m"
    },
    "arrive_b": {
      "price": {
        "price": 951,
        "currency": "USD",
        "localizedPrice": "$951"
      },
      "duration": "9h 27m"
    },
    "arrive_a": {
      "price": {
        "price": 617,
        "currency": "USD",
        "localizedPrice": "$617"
      },
      "duration": "8h 14m"
    },
    "bestflight_a": {
      "price": {
        "price": 706,
        "currency": "USD",
        "localizedPrice": "$706"
      },
      "duration": "6h 09m"
    },
    "co2_a": {
      "price": {
        "price": 849,
        "currency": "USD",
        "localizedPrice": "$849"
      },
      "duration": "5h 56m"
    },
    "duration_b": {
      "price": {
        "price": 517,
        "currency": "USD",
        "localizedPrice": "$517"
      },
      "duration": "15h 12m"
    },
    "duration_a": {
      "price": {
        "price": 980,
        "currency": "USD",
        "localizedPrice": "$980"
      },
      "duration": "5h 51m"
    },
    "price_a": {
      "price": {
        "price": 517,
        "currency": "USD",
        "localizedPrice": "$517"
      },
      "duration": "15h 12m"
    },
    "price_b": {
      "price": {
        "price": 7717,
        "currency": "USD",
        "localizedPrice": "$7,717"
      },
      "duration": "9h 08m"
    },
    "arriveReturn_b": {
      "price": {
        "price": 1138,
        "currency": "USD",
        "localizedPrice": "$1,138"
      },
      "duration": "9h 53m"
    },
    "arriveReturn_a": {
      "price": {
        "price": 908,
        "currency": "USD",
        "localizedPrice": "$908"
      },
      "duration": "6h 04m"
    },
    "departReturn_b": {
      "price": {
        "price": 1138,
        "currency": "USD",
        "localizedPrice": "$1,138"
      },
      "duration": "9h 53m"
    },
    "departReturn_a": {
      "price": {
        "price": 732,
        "currency": "USD",
        "localizedPrice": "$732"
      },
      "duration": "7h 58m"
    }
  },
  "price_prediction": {
    "pricePrediction": {
      "prediction": "UNDECIDED",
      "daysHorizon": 0,
      "priceChange": {
        "price": 0,
        "currency": "USD",
        "localizedPrice": "$0"
      }
    }
  },
  "flight_alert_data": {
    "priceAlertEnabledForQuery": true
  },
  "bucketing_info": {
    "type": "BRANDED_FARES"
  },
  "search_metadata": {
    "origin": "SFO",
    "destination": "NYC",
    "departure_date": "2026-12-12",
    "return_date": "2026-12-19",
    "passengers": {
      "adults": 1,
      "children": 0,
      "infants_in_seat": 0,
      "infants_on_lap": 0
    },
    "cabin": "economy",
    "sort": "best",
    "currency": "USD",
    "locale": "en-US",
    "search_id": "2QBiIZTIFX",
    "view_id": "df3b7847-8605-4429-b151-046e1454dc4c",
    "page": 1,
    "page_size": 50,
    "status": "complete",
    "filtered_count": 794,
    "total_count": 1589,
    "has_more": true,
    "poll_attempts": 10,
    "attempts": 1,
    "response_time_ms": 31093
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 11 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
flightsobject[]
providersobject[]
airlinesobject[]
airportsobject[]
legsobject[]
segmentsobject[]
sort_optionsobject
price_predictionobject
flight_alert_dataobject
bucketing_infoobject
search_metadataobject