Open-jaw searches
Search two non-reversed flight segments with the segments array.
Use exactly two segments instead of origin, destination, departure_date, and return_date
for an open-jaw itinerary.
Multi-destination search is not currently listed in the public API documentation or Postman collection. It will be documented in a future release.
Each segment requires:
| Field | Description |
|---|---|
origin | Departure IATA airport code |
destination | Arrival IATA airport code |
date | Local departure date (YYYY-MM-DD) |
Open jaw
Outbound arrives at one airport; return departs from another.
{
"segments": [
{
"origin": "ALG",
"destination": "CDG",
"date": "2026-09-15"
},
{
"origin": "ORY",
"destination": "ALG",
"date": "2026-09-22"
}
],
"cabin_class": "economy",
"passengers": { "adults": 1 }
}FX-Port identifies this as open-jaw because the second segment is not the exact reverse of the first.
Response example
The top-level searchType is "OPEN_JAW" (see Search response essentials
for the full field reference), and each offer's itinerary has one entry per segment you sent, in
the same order, each carrying its own direction:
{
"success": true,
"searchType": "OPEN_JAW",
"suppliers": [
{
"success": true,
"results": {
"totalOffers": 178,
"offers": [
{
"itinerary": [
{ "direction": "outbound", "segments": [{ "departure": { "airportCode": "ALG" }, "arrival": { "airportCode": "CDG" } }] },
{ "direction": "return", "segments": [{ "departure": { "airportCode": "ORY" }, "arrival": { "airportCode": "ALG" } }] }
]
}
]
}
}
]
}Note the second direction departs ORY, not CDG — that's the open jaw.
cURL
curl --request POST \
--url https://api.fx-port.com/api/v1/get_flights \
--header 'Authorization: Bearer fxp_live_YOUR_KEY' \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{ "origin": "ALG", "destination": "CDG", "date": "2026-09-15" },
{ "origin": "ORY", "destination": "ALG", "date": "2026-09-22" }
],
"cabin_class": "economy",
"passengers": { "adults": 1 }
}'Each selected supplier receives both open-jaw segments.