International, one way, 1 adult, 1 child, 1 infant
DEL-DXB · one way · 1 adult, 1 child, 1 infant
International one way for 1 adult, 1 child, 1 infant: search, reprice the cheapest fare, then the ancillaries and the seat map of the itinerary, book it on hold (no payment), read the booking details and release the hold. One search segment; one group, journey_indexes [0]; reprice takes one item.
▸1. SearchPOST /flights/search180 options
What this step returned: 180 options(click to expand)
- 180 options in 1 group(s): journey_indexes [0] has 180 options
- Options by number of flights: 1 flight: 15, 2 flights: 161, 3 flights: 4
- Airlines in the reply: AI (62 flights), QR (44 flights), IX (30 flights), EK (28 flights), H1 (26 flights), GF (20 flights), EY (16 flights), WY (16 flights), SV (14 flights), SG (13 flights), ET (12 flights), UL (11 flights), TK (10 flights), XY (8 flights), BA (8 flights), MS (6 flights), LH (5 flights), KU (4 flights), SQ (4 flights), AZ (2 flights), J2 (2 flights), FZ (2 flights), CX (2 flights), LX (2 flights), LO (1 flights), HY (1 flights)
- 1013 fare options in total; 106 distinct fare families (fare_ref)
- Cheapest adult total: 4,830 (Economy Classic)
- Fares with a meal included (has_meal): 457; with a free seat: 174
- Fares with check-in baggage included: 927; hand baggage only: 83; no baggage stated: 3
- Fares whose attributes differ between flights (varies_by_segment): 762; ask detail=segment to see them per flight
- Refundability: PARTIALLY_REFUNDABLE 804, NON_REFUNDABLE 191, not stated 18
- 99 distinct fare rules in fare_rules; 494 fares without a rule known at search
- Reply carries valid_till (option_id and price_id expire then); request: 1 adult, 1 child, 1 infant, cabin_class 1
Request body
HTTP 200 · 15431 ms · complete request body (collapsible viewer)
{
"segments": [
{
"from": "DEL",
"to": "DXB",
"date": "2026-11-20"
}
],
"adult": 1,
"child": 1,
"infant": 1,
"cabin_class": 1
}Reply
HTTP 200 · 15431 ms · complete response body (collapsible viewer)
{
"search_id": "a972c84e-df42-4d12-adc6-841472b48f93",
"status": "completed",
"valid_till": "2026-10-21T01:24:43+05:30",
"fare_rules": {
"fr_1": {
"cancellation": [
{
"allowed": true,
"amount": 0,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure"
}
],
"date_change": [
{
"allowed": true,
"amount": 0,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
},
"fr_3": {
"cancellation": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "NON REFUNDABLE"
}
],
"date_change": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "NON CHANGEABLE"
}
]
},
"fr_4": {
"cancellation": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "NON REFUNDABLE"
}
],
"date_change": [
{
"allowed": true,
"amount": 6995,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
},
"fr_5": {
"cancellation": [
{
"allowed": true,
"amount": 6120,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Before departure"
}
],
"date_change": [
{
"allowed": true,
"amount": 3060,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "Reissue"
}
]
},
"fr_7": {
"cancellation": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 3,
"unit": "HOURS"
},
"text": "Non refundable"
},
{
"allowed": true,
"amount": 0,
"from": {
"value": 3,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
],
"date_change": [
{
"allowed": false,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 3,
"unit": "HOURS"
},
"text": "Non changeable"
},
{
"allowed": true,
"amount": 0,
"from": {
"value": 3,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
]
},
"fr_8": {
"cancellation": [
{
"allowed": true,
"amount": 17175,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
],
"date_change": [
{
"allowed": true,
"amount": 8590,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
]
},
"fr_9": {
"cancellation": [
{
"allowed": true,
"amount": 13360,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
],
"date_change": [
{
"allowed": true,
"amount": 0,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
]
},
"fr_10": {
"cancellation": [
{
"allowed": true,
"amount": 0,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
],
"date_change": [
{
"allowed": true,
"amount": 0,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
},
"text": "PerTicket"
}
]
}
},
"results": [
{
"journey_indexes": [
0
],
"options": [
{
"option_id": "6be8737f-21a5-47ef-b1b4-e31aeb99ab8b",
"segments": [
{
"segment_index": 0,
"journey_index": 0,
"segment_id": "DEL_BOM_AI_2995",
"from": "DEL",
"to": "BOM",
"airline_code": "AI",
"airline_name": "Air India",
"aircraft_type": "Airbus A320neo",
"flight_number": "2995",
"stops": 1,
"departure_time": "2026-11-20T10:00:00",
"departure_terminal": "3",
"arrival_time": "2026-11-20T12:25:00",
"arrival_terminal": "2",
"duration": 145,
"connecting_time": 220
},
{
"segment_index": 1,
"journey_index": 0,
"segment_id": "BOM_DXB_AI_2217",
"from": "BOM",
"to": "DXB",
"airline_code": "AI",
"airline_name": "Air India",
"aircraft_type": "Airbus A320neo",
"flight_number": "2217",
"departure_time": "2026-11-20T16:05:00",
"departure_terminal": "2",
"arrival_time": "2026-11-20T17:55:00",
"arrival_terminal": "1",
"duration": 110,
"connecting_time": 220
}
],
"fare_options": [
{
"price_id": "e25bde13-4c02-4b07-b3ef-9798e78754c1",
"fare_rules": {
"0": "fr_1"
},
"adult": {
"fare": {
"base_fare": 115500,
"yq": 6070,
"yr": 330,
"other_taxes": 8336,
"total_fare": 130236,
"net_fare": 130236,
"pax_count": 1
},
"fare_ref": "Published",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "Y",
"fare_basis": "YIATA1AI",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 35
}
}
},
"child": {
"fare": {
"base_fare": 86625,
"yq": 6070,
"yr": 330,
"other_taxes": 6893,
"total_fare": 99918,
"net_fare": 99918,
"pax_count": 1
},
"fare_ref": "Published",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "Y",
"fare_basis": "YIATA1AI",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 35
}
}
},
"infant": {
"fare": {
"base_fare": 11550,
"yr": 330,
"other_taxes": 594,
"total_fare": 12474,
"net_fare": 12474,
"pax_count": 1
},
"fare_ref": "Published",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "Y",
"fare_basis": "YIATA1AI",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 35
}
}
},
"varies_by_segment": true
},
{
"price_id": "f3a7fc47-3f1d-4b11-947e-81622b1a7abb",
"adult": {
"fare": {
"base_fare": 112110,
"yq": 6070,
"other_taxes": 23573,
"total_fare": 142083,
"net_fare": 142083,
"pax_count": 1
},
"fare_ref": "Publish",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Premium Economy",
"booking_class": "R",
"fare_basis": "RIATA1AI",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 35
}
}
},
"child": {
"fare": {
"base_fare": 84085,
"yq": 6070,
"other_taxes": 18529,
"total_fare": 109014,
"net_fare": 109014,
"pax_count": 1
},
"fare_ref": "Publish",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Premium Economy",
"booking_class": "R",
"fare_basis": "RIATA1AI",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 35
}
}
},
"infant": {
"fare": {
"base_fare": 11210,
"other_taxes": 2078,
"total_fare": 13618,
"net_fare": 13618,
"pax_count": 1
},
"fare_ref": "Publish",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Premium Economy",
"booking_class": "R",
"fare_basis": "RIATA1AI",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 35
}
}
},
"varies_by_segment": true
}
]
},
{
"option_id": "1d8f165b-62c4-4bdd-814d-bcf6dc6a85b7",
"segments": [
{
"segment_index": 0,
"journey_index": 0,
"segment_id": "DEL_AUH_EY_219",
"from": "DEL",
"to": "AUH",
"airline_code": "EY",
"airline_name": "Etihad Airways",
"aircraft_type": "Boeing 781",
"flight_number": "219",
"stops": 1,
"departure_time": "2026-11-20T04:25:00",
"departure_terminal": "3",
"arrival_time": "2026-11-20T06:55:00",
"arrival_terminal": "A",
"duration": 150,
"connecting_time": 140
},
{
"segment_index": 1,
"journey_index": 0,
"segment_id": "AUH_XNB_EY_5418",
"from": "AUH",
"to": "XNB",
"airline_code": "EY",
"airline_name": "Etihad Airways",
"aircraft_type": "BUS",
"flight_number": "5418",
"departure_time": "2026-11-20T09:15:00",
"departure_terminal": "A",
"arrival_time": "2026-11-20T11:15:00",
"duration": 120,
"connecting_time": 140
}
],
"fare_options": [
{
"price_id": "a1f068f7-70c0-4c37-a788-6560ed82574c",
"fare_rules": {
"0": "fr_3"
},
"has_meal": true,
"adult": {
"fare": {
"base_fare": 18970,
"other_taxes": 3190,
"total_fare": 22160,
"net_fare": 22160,
"pax_count": 1
},
"fare_ref": "ECONOMY BASIC",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "E",
"fare_basis": "EKN20H6K",
"baggage": {
"hand": {
"kg": 7
}
}
},
"child": {
"fare": {
"base_fare": 14230,
"other_taxes": 2953,
"total_fare": 17183,
"net_fare": 17183,
"pax_count": 1
},
"fare_ref": "ECONOMY BASIC",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "E",
"fare_basis": "EKN20H6K",
"baggage": {
"hand": {
"kg": 7
}
}
},
"infant": {
"fare": {
"base_fare": 2850,
"other_taxes": 143,
"total_fare": 2993,
"net_fare": 2993,
"pax_count": 1
},
"fare_ref": "ECONOMY BASIC",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "E",
"fare_basis": "EKN20H6K",
"baggage": {
"hand": {
"kg": 7
}
}
},
"varies_by_segment": true
},
{
"price_id": "ba3d0699-bd4e-4f74-b3b1-c0db93740f0b",
"fare_rules": {
"0": "fr_4"
},
"has_meal": true,
"adult": {
"fare": {
"base_fare": 20290,
"other_taxes": 3256,
"total_fare": 23546,
"net_fare": 23546,
"pax_count": 1
},
"fare_ref": "ECONOMY VALUE",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "E",
"fare_basis": "EKN20V6K",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 25
}
}
},
"child": {
"fare": {
"base_fare": 15220,
"other_taxes": 3002,
"total_fare": 18222,
"net_fare": 18222,
"pax_count": 1
},
"fare_ref": "ECONOMY VALUE",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "E",
"fare_basis": "EKN20V6K",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 25
}
}
},
"infant": {
"fare": {
"base_fare": 3045,
"other_taxes": 153,
"total_fare": 3198,
"net_fare": 3198,
"pax_count": 1
},
"fare_ref": "ECONOMY VALUE",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "E",
"fare_basis": "EKN20V6K",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 25
}
}
},
"varies_by_segment": false
},
{
"price_id": "6e40fd6a-94ad-471f-84ca-24798178f616",
"fare_rules": {
"0": "fr_5"
},
"has_meal": true,
"has_free_seat": true,
"adult": {
"fare": {
"base_fare": 24025,
"other_taxes": 3443,
"total_fare": 27468,
"net_fare": 27468,
"pax_count": 1
},
"fare_ref": "ECONOMY COMFORT",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "E",
"fare_basis": "EKN20C6K",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 30
}
}
},
"child": {
"fare": {
"base_fare": 18020,
"other_taxes": 3142,
"total_fare": 21162,
"net_fare": 21162,
"pax_count": 1
},
"fare_ref": "ECONOMY COMFORT",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "E",
"fare_basis": "EKN20C6K",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 30
}
}
},
"infant": {
"fare": {
"base_fare": 3605,
"other_taxes": 181,
"total_fare": 3786,
"net_fare": 3786,
"pax_count": 1
},
"fare_ref": "ECONOMY COMFORT",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "E",
"fare_basis": "EKN20C6K",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 30
}
}
},
"varies_by_segment": false
},
"… 2 more (open the viewer)"
]
},
{
"option_id": "432807b7-0752-4ae0-9719-fdc08f366af9",
"segments": [
{
"segment_index": 0,
"journey_index": 0,
"segment_id": "DEL_DXB_H1_9004",
"from": "DEL",
"to": "DXB",
"airline_code": "H1",
"airline_name": "Hahn Air",
"aircraft_type": "Boeing 737",
"flight_number": "9004",
"departure_time": "2026-11-20T07:45:00",
"departure_terminal": "3",
"arrival_time": "2026-11-20T10:10:00",
"arrival_terminal": "1",
"duration": 235
}
],
"fare_options": [
{
"price_id": "208b931f-28ff-43d1-bd4c-68d2c92de7a7",
"adult": {
"fare": {
"base_fare": 40064.45,
"yq": 3222.44,
"other_taxes": 1137.33,
"total_fare": 48420.05,
"net_fare": 48420.05,
"pax_count": 1
},
"fare_ref": "Economy",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "K",
"baggage": {
"checkin": {
"pieces": 1
}
}
},
"child": {
"fare": {
"base_fare": 40064.45,
"yq": 3222.44,
"other_taxes": 1137.33,
"total_fare": 48420.05,
"net_fare": 48420.05,
"pax_count": 1
},
"fare_ref": "Economy",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "K",
"baggage": {
"checkin": {
"pieces": 1
}
}
},
"infant": {
"fare": {
"base_fare": 4947.4,
"total_fare": 5136.96,
"net_fare": 5136.96,
"pax_count": 1
},
"fare_ref": "Economy",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "K",
"baggage": {
"checkin": {
"pieces": 0
}
}
},
"varies_by_segment": false
},
{
"price_id": "87988eeb-1b1f-44f6-9639-28bf83e25121",
"fare_rules": {
"0": "fr_7"
},
"adult": {
"fare": {
"base_fare": 33520,
"yq": 3244,
"yr": 1000,
"other_taxes": 2656,
"total_fare": 41901,
"net_fare": 41901,
"pax_count": 1
},
"fare_ref": "Spicejet Economy Class",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "K",
"fare_basis": "KOWSG",
"baggage": {
"checkin": {
"kg": 60,
"pieces": 2
}
}
},
"child": {
"fare": {
"base_fare": 33520,
"yq": 3244,
"yr": 1000,
"other_taxes": 2656,
"total_fare": 41901,
"net_fare": 41901,
"pax_count": 1
},
"fare_ref": "Spicejet Economy Class",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "K",
"fare_basis": "KOWSG",
"baggage": {
"checkin": {
"kg": 60,
"pieces": 2
}
}
},
"infant": {
"fare": {
"base_fare": 3825,
"other_taxes": 192,
"total_fare": 4017,
"net_fare": 4017,
"pax_count": 1
},
"fare_ref": "Spicejet Economy Class",
"refundable_type": "NON_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "K",
"fare_basis": "KOWSG"
},
"varies_by_segment": false
}
]
},
"… 1 more (open the viewer)"
]
}
]
}This view shows 4 of the 180 options in the reply, chosen so that each of these is present. The fare_rules table shows the 8 rules these options point at, of 99 in the reply. For the entire JSON, open the raw record.
- An option with one flight (a direct flight). → group 0: option 7 (H1 9004 DEL-DXB)
- An option with two flights (a connection). → group 0: option 0 (AI 2995 DEL-BOM + AI 2217 BOM-DXB)
- An option where a flight is operated by another airline than the one selling it (operating_airline_code present). → group 0: option 9 (TK 7751 DEL-IST + TK 758 IST-DXB)
- An option with at least one fare that includes a meal (has_meal true). → group 0: option 4 (EY 219 DEL-AUH + EY 5418 AUH-XNB)
Keys and what they mean
Request
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| segments[] | array | required, 1 to 6 | must read | The legs you search: one for one way, two for a return (second from the destination back), up to six for a multi-city trip. |
| segments[].from | string | required | must read | Departure airport, IATA code. |
| segments[].to | string | required | must read | Arrival airport, IATA code. |
| segments[].date | date | required | must read | Departure date, YYYY-MM-DD, local to the departure airport. |
| adult | integer | required, 1 to 9 | must read | Adults travelling. child and infant default to 0; an infant needs an adult. |
| cabin_class | integer | optional | useful | 1 economy (default), 2 premium economy, 3 business, 4 first. |
| detail | string | optional | useful | journey (default) or segment. segment adds segments[] inside every fare option with the fare attributes per flight. |
| include_fare_rules | boolean | optional, default true | informational | false leaves fare_rules out of the reply and off every fare; smaller reply. |
| Total: 8 keys | ||||
Reply
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| search_id | string | always | informational | Id of this search, for support questions. |
| valid_till | datetime | always | must read | Until when an option_id and price_id of this reply can be sent to reprice. After it, search again. |
| fare_rules | object | unless include_fare_rules is false | useful | Every distinct fare rule of the reply keyed by id (fr_1, fr_2, …). Fares point at them; ids mean nothing outside this reply. |
| results[] | array | always | must read | One group per set of journeys the fares cover. Pick one option and one fare from each group until every journey of your request is covered. |
| results[].journey_indexes | array of integer | always | must read | Which journeys of your request this group's fares cover: [0] onward only, [1] return only, [0, 1] a combined fare for both. |
| results[].options[].option_id | string | always | must read | Names the flights of this option. Send it to reprice with the price_id of the chosen fare. |
| results[].options[].segments[] | array | always | must read | The flights of this option in order, each named by (journey_index, segment_index); segment_index restarts at 0 in every journey. |
| results[].options[].segments[].operating_airline_code | string | only on a codeshare | useful | The airline that flies the aircraft when it differs from airline_code, the airline selling the seat. Show it to the traveller. |
| results[].options[].fare_options[] | array | always | must read | The fares sold on exactly these flights. Each prices the whole option once; no amount appears anywhere else. |
| results[].options[].fare_options[].price_id | string | always | must read | Names this fare. Send it to reprice with the option_id. |
| results[].options[].fare_options[].adult | object | always | must read | What this fare gives an adult: fare (the price for the whole option), fare_ref, refundable_type, cabin_class, booking_class, fare_basis, baggage. child and infant appear only when requested. |
| results[].options[].fare_options[].adult.fare.total_fare | number | always | must read | What the traveller pays for one adult on this option, taxes included. |
| results[].options[].fare_options[].adult.fare.net_fare | number | always | must read | What you pay us for one adult: total_fare less your commission. |
| results[].options[].fare_options[].adult.baggage | object | when the airline states it | useful | Allowance included in the fare: hand and checkin, each {kg} and/or {pieces}. Absent = not stated. |
| results[].options[].fare_options[].fare_rules | object | when a rule is known at search | useful | Journey index → id in the top-level fare_rules. A missing index has no rule known at search; the reprice reply carries the final rules. |
| results[].options[].fare_options[].varies_by_segment | boolean | always | informational | true when a later flight of this fare differs from the first in cabin, meal, booking class, fare basis or baggage. Ask detail=segment to see them per flight. |
| Total: 16 keys | ||||
Errors this call answers with (3)
| HTTP | code | message | detail | when |
|---|---|---|---|---|
| 401 | 9001 | Authentication required | Invalid token | Missing, expired or foreign token; also when the API cannot be reached. |
| 400 | 5100 | Invalid search request | cabin_class must be 1 (economy), 2 (premium), 3 (business), or 4 (first) | errors[] has field cabin_class, rule one_of. Same for fare_types and the engine's own checks (dates, airport codes, pax counts). |
| 500 | 9000 | Something went wrong |
Questions developers ask (4)
- What do I send to reprice for a domestic return?
- Two items: one option and one fare from group [0] (onward) and one from group [1] (return). An international return has one group [0, 1] and one item.
- Why does commission not appear on my fares?
- Zero amounts are left out. commission appears only when a commission rule applies to your account; net_fare is then total_fare less it.
- How long can I use an option_id and price_id?
- Until valid_till of the search reply. After it, search again.
- What does varies_by_segment true mean?
- A later flight of the fare differs from the first in cabin, meal, booking class, fare basis or baggage. Send detail=segment to see every flight.
▸2. RepricePOST /flights/reprice1 items
What this step returned: 1 items(click to expand)
- 1 item(s) sent: option ef82c5e9… / price 7c8d686b…
- Repriced option on journey_indexes [0]: 2 flights (QR 4781 DEL-DOH, QR 1006 DOH-DXB); multi-flight reprice: yes
- Fare Economy Classic PARTIALLY_REFUNDABLE: adult total 19,961, net 19,961; segments[] in the reply: no (detail=journey)
- Price unchanged since search (no messages)
- Booking requirements: hold allowed True, passport mandatory True, GST mandatory False, PAN applicable False, DOB adult/child/infant True/True/True
- Price for the whole booking: total 43,600, net 43,600; itinerary_id expires at valid_till
- 1 fare rule(s) in the reply
Request body
HTTP 200 · 1626 ms · complete request body (collapsible viewer)
{
"items": [
{
"option_id": "ef82c5e9-dc85-41f9-937c-25dcf4d69b41",
"price_id": "7c8d686b-ac48-41f1-92dd-b1224d692512"
}
]
}Reply
HTTP 200 · 1626 ms · complete response body (collapsible viewer)
{
"itinerary_id": "44bd28df-3bbe-4f04-a0c2-cb6c58092166",
"valid_till": "2026-10-21T01:09:45+05:30",
"fare_rules": {
"fr_1": {
"cancellation": [
{
"allowed": true,
"amount": 13290,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
}
}
],
"date_change": [
{
"allowed": true,
"amount": 7595,
"from": {
"value": 0,
"unit": "HOURS"
},
"to": {
"value": 365,
"unit": "DAYS"
}
}
]
}
},
"results": [
{
"journey_indexes": [
0
],
"option_id": "ef82c5e9-dc85-41f9-937c-25dcf4d69b41",
"segments": [
{
"segment_index": 0,
"journey_index": 0,
"from": "DEL",
"to": "DOH",
"airline_code": "QR",
"airline_name": "Qatar Airways",
"operating_airline_code": "6E",
"operating_airline_name": "IndiGo Airlines",
"aircraft_type": "Airbus A321",
"flight_number": "4781",
"departure_time": "2026-11-20T16:10:00",
"departure_terminal": "3",
"arrival_time": "2026-11-20T18:20:00",
"duration": 280,
"connecting_time": 825,
"next_day": 1
},
{
"segment_index": 1,
"journey_index": 0,
"from": "DOH",
"to": "DXB",
"airline_code": "QR",
"airline_name": "Qatar Airways",
"aircraft_type": "Airbus A359",
"flight_number": "1006",
"departure_time": "2026-11-21T08:05:00",
"arrival_time": "2026-11-21T10:25:00",
"arrival_terminal": "1",
"duration": 80,
"connecting_time": 825,
"next_day": 1
}
],
"fare": {
"price_id": "7c8d686b-ac48-41f1-92dd-b1224d692512",
"fare_rules": {
"0": "fr_1"
},
"adult": {
"fare": {
"base_fare": 4830,
"yq": 6359,
"yr": 2088,
"airline_gst": 664,
"other_taxes": 3779,
"total_fare": 19961,
"net_fare": 19961,
"pax_count": 1
},
"fare_ref": "Economy Classic",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "N",
"fare_basis": "NJR4I1RIIN",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 25
}
}
},
"child": {
"fare": {
"base_fare": 3620,
"yq": 6359,
"yr": 2088,
"airline_gst": 604,
"other_taxes": 3779,
"total_fare": 18691,
"net_fare": 18691,
"pax_count": 1
},
"fare_ref": "Economy Classic",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "N",
"fare_basis": "NJR4I1RIIN",
"baggage": {
"hand": {
"kg": 7
},
"checkin": {
"kg": 25
}
}
},
"infant": {
"fare": {
"base_fare": 725,
"yq": 1899,
"yr": 2088,
"airline_gst": 236,
"total_fare": 4948,
"net_fare": 4948,
"pax_count": 1
},
"fare_ref": "Economy Classic",
"refundable_type": "PARTIALLY_REFUNDABLE",
"cabin_class": "Economy",
"booking_class": "N",
"fare_basis": "NJR4I1RIIN",
"baggage": {
"hand": {
"kg": 7
}
}
},
"varies_by_segment": true
}
}
],
"booking_requirements": {
"is_gst_mandatory": false,
"pan_applicable": false,
"passport_mandatory": true,
"dob_applicable": {
"adt": true,
"chd": true,
"inf": true
},
"is_hold": true,
"firstname_length": 50,
"lastname_length": 50,
"firstname_min_length": 2,
"lastname_min_length": 2,
"seat_mandatory": false,
"meal_mandatory": false,
"baggage_mandatory": false
},
"price": {
"adult": {
"base_fare": 4830,
"yq": 6359,
"yr": 2088,
"airline_gst": 664,
"other_taxes": 3779,
"total_fare": 19961,
"net_fare": 19961,
"pax_count": 1
},
"child": {
"base_fare": 3620,
"yq": 6359,
"yr": 2088,
"airline_gst": 604,
"other_taxes": 3779,
"total_fare": 18691,
"net_fare": 18691,
"pax_count": 1
},
"infant": {
"base_fare": 725,
"yq": 1899,
"yr": 2088,
"airline_gst": 236,
"total_fare": 4948,
"net_fare": 4948,
"pax_count": 1
},
"total": {
"base_fare": 9175,
"yq": 14617,
"yr": 6264,
"airline_gst": 1504,
"other_taxes": 7558,
"total_fare": 43600,
"net_fare": 43600,
"pax_count": 3
}
}
}Keys and what they mean
Request
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| items[] | array | required, one per group | must read | One item per search group you chose from: one for a one way or a combined return, two for a domestic return (one per direction). |
| items[].option_id | string | required | must read | The option_id from the search reply. |
| items[].price_id | string | required | must read | The price_id of the chosen fare of that option. An option_id or price_id not in a current search answers 400 with errors[] (search again). |
| Total: 3 keys | ||||
Reply
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| itinerary_id | string | always | must read | Names the repriced itinerary. Send it to ancillaries, seat map and book. |
| valid_till | datetime | always | must read | Until when the itinerary_id can be booked. After it, book answers 410: reprice again. |
| results[] | array | always | must read | One entry per item sent: journey_indexes, option_id, the flights (segments) and the one fare, priced again. |
| results[].segments[] | array | always | must read | The flights in order, each named by (journey_index, segment_index); segment_index restarts at 0 in every journey. |
| results[].fare | object | always | must read | The fare in the shape of search: price_id, per passenger type (adult, child, infant) the fare_ref, refundable_type, cabin_class, booking_class, fare_basis, baggage and fare, and fare_rules ids. |
| price.total | object | always | must read | The price in the components of search: base_fare, yq, yr, airline_gst, booking_fee, commission, other_taxes, total_fare (what the traveller pays), net_fare (what you pay us), pax_count, and the baggage stated in the fare. For the whole booking. |
| price.adult (child, infant) | object | always (child, infant when requested) | useful | The price in the components of search: base_fare, yq, yr, airline_gst, booking_fee, commission, other_taxes, total_fare (what the traveller pays), net_fare (what you pay us), pax_count, and the baggage stated in the fare. For one passenger of that type. |
| booking_requirements | object | always | must read | What book must carry: is_gst_mandatory, pan_applicable, passport_mandatory, dob_applicable (adt, chd, inf), name lengths, and whether a seat, meal or bag is mandatory. |
| booking_requirements.is_hold | boolean | always | must read | true when this fare may be booked on hold (book with is_hold true); false: book directly, paid at once. |
| fare_rules | object | when known | useful | The cancellation and date-change rules the fares point at, keyed by id (fr_1, …): bands with allowed, amount or percent, the window (from, to) and the airline's text. |
| messages[] | array | only when the price changed | must read | One entry per repriced option whose price changed since search: type FARE_ALERT, option_id, old_value, new_value. Show the new price before booking. |
| Total: 11 keys | ||||
Errors this call answers with (6)
| HTTP | code | message | detail | when |
|---|---|---|---|---|
| 401 | 9001 | Authentication required | Invalid token | |
| 400 | 5100 | Invalid search request | option_id and price_id are required | Also 'each review item needs option_id and price_id'. |
| 404 | 5103 | Flight not found | option_id or price_id not in a stored search. | |
| 410 | 5102 | Search results have expired | ||
| 502 | 5001 | The airline or supplier could not complete the request | Reprice failed at the airline. | |
| 504 | 5002 | A supplier or service did not answer in time |
Questions developers ask (2)
- The price changed. What now?
- messages has a FARE_ALERT with old_value and new_value for that option_id. Show the new price to the traveller before booking; the itinerary is priced at the new value.
- Until when can I book?
- valid_till of the reprice reply: the airline's session for this itinerary. Book before it or reprice again.
▸3. AncillariesPOST /flights/ancillaries0 items
What this step returned: 0 items(click to expand)
- 2 flight(s) in segments[]: (journey 0, segment 0) QR 4781 DEL-DOH; (journey 0, segment 1) QR 1006 DOH-DXB
- No bags offered on this itinerary
- No meals offered on this itinerary
- No other items offered on this itinerary
- Flights with nothing offered: (journey 0, segment 0), (journey 0, segment 1)
Request body
HTTP 200 · 581 ms · complete request body (collapsible viewer)
{
"itinerary_id": "44bd28df-3bbe-4f04-a0c2-cb6c58092166"
}Reply
HTTP 200 · 581 ms · complete response body (collapsible viewer)
{
"itinerary_id": "44bd28df-3bbe-4f04-a0c2-cb6c58092166",
"segments": [
{
"journey_index": 0,
"segment_index": 0,
"airline_code": "QR",
"flight_number": "4781",
"from": "DEL",
"to": "DOH"
},
{
"journey_index": 0,
"segment_index": 1,
"airline_code": "QR",
"flight_number": "1006",
"from": "DOH",
"to": "DXB"
}
],
"baggage": [],
"meal": [],
"other": []
}Keys and what they mean
Request
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| itinerary_id | string | required | must read | The itinerary_id from reprice. An expired one answers 404: reprice again. |
| Total: 1 keys | ||||
Reply
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| segments[] | array | always | useful | The flights of the itinerary, each named by (journey_index, segment_index), with airline_code, flight_number, from and to. |
| baggage[] | array | always (empty when none) | must read | Extra bags per journey: journey_index and items. A bag covers every flight of its journey, so it has no segment_index. |
| meal[] | array | always (empty when none) | must read | Meals per flight: journey_index, segment_index and items. |
| other[] | array | always (empty when none) | useful | Other items per flight (priority check-in, bundles): journey_index, segment_index and items. |
| <list>[].items[] | array | always | must read | What can be bought: code (send it to book), label (show it), price (per passenger, INR). |
| Total: 5 keys | ||||
Errors this call answers with (4)
| HTTP | code | message | detail | when |
|---|---|---|---|---|
| 401 | 9001 | Authentication required | Invalid token | |
| 400 | 5100 | Invalid search request | itinerary_id is required | errors[]: field itinerary_id, rule required. |
| 404 | 5104 | Itinerary not found or expired | Unknown or expired itinerary_id. | |
| 502 | 5001 | The airline or supplier could not complete the request |
Questions developers ask (1)
- How do I send a bag and a meal on book?
- A bag with its code and journey_index; a meal, seat or other item with its code, journey_index and segment_index, exactly as this reply gave them.
▸4. Seat mapPOST /flights/seat-map0 seats
What this step returned: 0 seats(click to expand)
- 0 flight(s) with a seat map of 2 in the itinerary:
- No seats returned for this itinerary
- Errors: seat map on errorDetails dropped: not a flight of this itinerary
Request body
HTTP 200 · 445 ms · complete request body (collapsible viewer)
{
"itinerary_id": "44bd28df-3bbe-4f04-a0c2-cb6c58092166"
}Reply
HTTP 200 · 445 ms · complete response body (collapsible viewer)
{
"itinerary_id": "44bd28df-3bbe-4f04-a0c2-cb6c58092166",
"segments": [
{
"journey_index": 0,
"segment_index": 0,
"airline_code": "QR",
"flight_number": "4781",
"from": "DEL",
"to": "DOH"
},
{
"journey_index": 0,
"segment_index": 1,
"airline_code": "QR",
"flight_number": "1006",
"from": "DOH",
"to": "DXB"
}
],
"seats": [],
"errors": [
"seat map on errorDetails dropped: not a flight of this itinerary"
]
}Keys and what they mean
Request
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| itinerary_id | string | required | must read | The itinerary_id from reprice. |
| Total: 1 keys | ||||
Reply
| key | type | when present | importance | meaning |
|---|---|---|---|---|
| segments[] | array | always | useful | The flights of the itinerary, each named by (journey_index, segment_index), with airline_code, flight_number, from and to. |
| seats[] | array | always (empty when the airline gives no map) | must read | One seat map per flight: journey_index, segment_index, aircraft_type, total_seats and seats. |
| seats[].seats[] | array | always | must read | Every seat: code (send it to book), desc (e.g. 3A, show it), row, column, amount (price; 0 = free), tax, is_available. |
| seats[].seats[].window / aisle / middle | boolean | always | useful | Where the seat is in its row. |
| seats[].seats[].exit_row / leg_room / infant / near_wings / reclining | boolean | always | useful | Seat features. A passenger with an infant needs a seat with infant true; exit rows have rules of their own. |
| Total: 5 keys | ||||
Errors this call answers with (4)
| HTTP | code | message | detail | when |
|---|---|---|---|---|
| 401 | 9001 | Authentication required | Invalid token | |
| 400 | 5100 | Invalid search request | itinerary_id is required | |
| 404 | 5104 | Itinerary not found or expired | ||
| 502 | 5001 | The airline or supplier could not complete the request |