| Request body |
|---|
{
"searchStartParameters": {
"cabin": "economy",
"passengers": [
"ADT"
],
"legs": [
{
"origin": {
"locationType": "airports",
"airports": [
"LAX"
]
},
"destination": {
"locationType": "airports",
"airports": [
"BOS"
]
},
"date": "2025-06-22",
"flex": "exact"
},
{
"origin": {
"locationType": "airports",
"airports": [
"BOS"
]
},
"destination": {
"locationType": "airports",
"airports": [
"LAX"
]
},
"date": "2025-06-27",
"flex": "exact"
}
]
}
}{
"searchId": "gOAiBOpnGj"
}| Responses |
|---|
200 - application/json |
400 - application/json | Bad request. |
401 - application/json Authorization errors. |
403 - application/json Request is not allowed. |
429 - application/json Rate limit exceeded. |
{
"searchId": "gcHiCo3fUc",
"cluster": "4",
"status": "complete",
"pageSize": 2,
"totalCount": 123,
"sort": {
"key": "price",
"direction": "asc"
},
"currency": "GBP",
"priceMode": "perPerson",
"passengers": {
"adults": 1,
"children": 0,
"infants": 0,
"infantsInSeat": 0,
"seniors": 0,
"students": 0,
"youth": 0
},
"results": [
{
"id": "ad4e36f9db46abb34f878812e55e1161",
"bookingOptions": [
{
"type": "regular",
"bookingUrl": "https://sandbox-en-us.kayakaffiliates.com/in?url=%2Fbook%2Fflight%3Fcode%3DgcHiCo3fUc.BZRbXb2y98ZFj024N3_sTg.55660.ad4e36f9db46abb34f878812e55e1161%26h%3D55ef0102beca%26sub%3DF3979693554398645697E03295e87839",
"providerCode": "B6",
"displayPrice": {
"price": 442,
"displayPrice": "£442"
},
"segmentFares": [
{
"segmentId": "1750604400000B614881155",
"cabin": {
"code": "economy",
"displayName": "Economy"
},
"qualityItems": [
{
"code": "wifi",
"displayName": "Streaming capable Wi-Fi"
},
{
"code": "entertainment",
"displayName": "Seatback on-demand & live TV"
},
{
"code": "power",
"displayName": "Power & USB outlets"
},
{
"code": "seat",
"displayName": "33\" seat pitch"
},
{
"code": "food",
"displayName": "Premium snacks (fee)"
}
]
},
{
"segmentId": "1751104800000B614870630",
"cabin": {
"code": "economy",
"displayName": "Economy"
},
"qualityItems": [
{
"code": "wifi",
"displayName": "Streaming capable Wi-Fi"
},
{
"code": "entertainment",
"displayName": "Seatback on-demand & live TV"
},
{
"code": "power",
"displayName": "Power & USB outlets"
},
{
"code": "seat",
"displayName": "33\" seat pitch"
},
{
"code": "food",
"displayName": "Light meal (fee)"
}
]
}
],
"fareFamilies": [
{
"id": "AN",
"displayName": "Blue",
"amenities": [
{
"code": "carryOnBag",
"restriction": "included",
"displayName": "Carry-on bag included"
},
{
"code": "checkedBag",
"restriction": "fee",
"displayName": "Checked bag fee"
},
{
"code": "seatSelection",
"restriction": "included",
"displayName": "Seat selection included"
},
{
"code": "legroom",
"restriction": "fee",
"displayName": "Extra legroom available for a fee"
},
{
"code": "change",
"restriction": "included",
"displayName": "Change fee waived"
},
{
"code": "refundable",
"restriction": "unavailable",
"displayName": "Refunds unavailable"
}
],
"legIndices": [
0,
1
]
}
],
"badges": [
{
"code": "direct",
"displayName": "Direct flight"
},
{
"code": "freeCancellation",
"displayName": "Free cancellation"
}
],
"fees": {
"basePrice": {
"price": 442,
"displayPrice": "£442"
},
"totalPrice": {
"price": 442,
"displayPrice": "£442"
},
"carryOnBag": [
{
"bagNumber": "first",
"restriction": "included",
"displayPrice": {
"price": 0,
"displayPrice": "£0"
}
}
],
"checkedBag": [
{
"bagNumber": "first",
"restriction": "fee",
"displayPrice": {
"price": 56,
"displayPrice": "£56"
}
},
{
"bagNumber": "second",
"restriction": "fee",
"displayPrice": {
"price": 80,
"displayPrice": "£80"
}
}
]
},
"cashbackDetails": {
"type": "PERCENTAGE",
"value": 5,
"cap": 25,
"currency": "GBP"
}
},
{
"type": "regular",
"bookingUrl": "https://sandbox-en-us.kayakaffiliates.com/in?url=%2Fbook%2Fflight%3Fcode%3DgcHiCo3fUc.BZRbXb2y98ZFj024N3_sTg.55660.ad4e36f9db46abb34f878812e55e1161%26h%3D55ef0102beca%26sub%3DF3979693554398645697E03295e87839",
"providerCode": "B6",
"displayPrice": {
"price": 589,
"displayPrice": "£589"
},
"segmentFares": [
{
"segmentId": "1750604400000B614881155",
"cabin": {
"code": "economy",
"displayName": "Economy"
},
"qualityItems": [
{
"code": "wifi",
"displayName": "Streaming capable Wi-Fi"
},
{
"code": "entertainment",
"displayName": "Seatback on-demand & live TV"
},
{
"code": "power",
"displayName": "Power & USB outlets"
},
{
"code": "seat",
"displayName": "33\" seat pitch"
},
{
"code": "food",
"displayName": "Premium snacks (fee)"
}
]
},
{
"segmentId": "1751104800000B614870630",
"cabin": {
"code": "economy",
"displayName": "Economy"
},
"qualityItems": [
{
"code": "wifi",
"displayName": "Streaming capable Wi-Fi"
},
{
"code": "entertainment",
"displayName": "Seatback on-demand & live TV"
},
{
"code": "power",
"displayName": "Power & USB outlets"
},
{
"code": "seat",
"displayName": "33\" seat pitch"
},
{
"code": "food",
"displayName": "Light meal (fee)"
}
]
}
],
"fareFamilies": [
{
"id": "AR",
"displayName": "Blue Refundable",
"amenities": [
{
"code": "carryOnBag",
"restriction": "included",
"displayName": "Carry-on bag included"
},
{
"code": "checkedBag",
"restriction": "fee",
"displayName": "Checked bag fee"
},
{
"code": "seatSelection",
"restriction": "included",
"displayName": "Seat selection included"
},
{
"code": "legroom",
"restriction": "fee",
"displayName": "Extra legroom available for a fee"
},
{
"code": "change",
"restriction": "included",
"displayName": "Change fee waived"
},
{
"code": "refundable",
"restriction": "included",
"displayName": "Refunds available"
}
],
"legIndices": [
0,
1
]
}
],
"badges": [
{
"code": "direct",
"displayName": "Direct flight"
}
],
"fees": {
"basePrice": {
"price": 589,
"displayPrice": "£589"
},
"totalPrice": {
"price": 589,
"displayPrice": "£589"
},
"carryOnBag": [
{
"bagNumber": "first",
"restriction": "included",
"displayPrice": {
"price": 0,
"displayPrice": "£0"
}
}
],
"checkedBag": [
{
"bagNumber": "first",
"restriction": "fee",
"displayPrice": {
"price": 56,
"displayPrice": "£56"
}
},
{
"bagNumber": "second",
"restriction": "fee",
"displayPrice": {
"price": 80,
"displayPrice": "£80"
}
}
]
}
}
],
"legs": [
{
"id": "LAXBOS1750604400000B614881"
},
{
"id": "BOSLAX1751104800000B614871"
}
]
}
],
"legs": {
"LAXBOS1750604400000B614881": {
"duration": 338,
"segments": [
{
"id": "1750604400000B614881155",
"departureDayMismatch": true
}
],
"arrivalTime": "2025-06-23T00:33:00",
"departureTime": "2025-06-22T15:55:00"
},
"BOSLAX1751104800000B614871": {
"duration": 375,
"segments": [
{
"id": "1751104800000B614870630"
}
],
"arrivalTime": "2025-06-28T13:45:00",
"departureTime": "2025-06-28T10:30:00"
}
},
"segments": {
"1750604400000B614881155": {
"airline": "B6",
"flightNumber": "1488",
"origin": "LAX",
"destination": "BOS",
"arrivalTime": "2025-06-23T00:33:00",
"departureTime": "2025-06-22T15:55:00",
"equipmentTypeName": "Airbus A318/A319/A320/A321",
"duration": 338,
"type": "flight"
},
"1751104800000B614870630": {
"airline": "B6",
"flightNumber": "1487",
"origin": "BOS",
"destination": "LAX",
"arrivalTime": "2025-06-28T13:45:00",
"departureTime": "2025-06-28T10:30:00",
"equipmentTypeName": "Airbus A318/A319/A320/A321",
"duration": 375,
"type": "flight"
}
},
"airlines": {
"B6": {
"logoUrl": "https://content.r9cdn.net/rimg/provider-logos/airlines/v/B6.png?crop=false&width=108&height=92&fallback=default1.png&_v=1d9c582b6d8f9aebe5ff965c9bb916ee",
"displayName": "JetBlue",
"airlineFeeUrl": "https://www.jetblue.com/at-the-airport/baggage-information",
"baggagePolicies": [
{
"bagType": "personal",
"restrictions": [
{
"code": "dimensions",
"description": "Up to 16 x 12 x 7in"
}
]
},
{
"bagType": "carryOn",
"restrictions": [
{
"code": "dimensions",
"description": "Up to 21 x 13 x 8in"
}
]
},
{
"bagType": "checked",
"restrictions": [
{
"code": "dimensions",
"description": "Up to 62in total"
}
]
}
]
}
},
"airports": {
"LAX": {
"displayName": "Los Angeles",
"cityName": "Los Angeles"
},
"BOS": {
"displayName": "Boston Logan Intl",
"cityName": "Boston"
}
},
"providers": {
"B6": {
"displayName": "JetBlue",
"logoUrls": {
"imageUrl": "https://content.r9cdn.net/rimg/provider-logos/airlines/v/B6.png?crop=false&width=108&height=92&fallback=default1.png&_v=1d9c582b6d8f9aebe5ff965c9bb916ee",
"horizontalImageUrl": "https://content.r9cdn.net/rimg/provider-logos/airlines/h/B6.png?crop=false&width=88&height=31&fallback=default1.png&_v=9f55326a03f81c2db69369a948b14390",
"wideHorizontalImageUrl": "https://content.r9cdn.net/rimg/provider-logos/airlines/h/B6.png?crop=false&width=102&height=18&fallback=default1.png&_v=9f55326a03f81c2db69369a948b14390"
}
}
}
}