FlightsFlight Search
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.
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.