FX-Port API
FlightsFlight Search

Basic route examples

One-way, round-trip, direct-only, and all-supplier flight searches.

One-way economy

{
  "origin": "ALG",
  "destination": "ORY",
  "departure_date": "2026-09-15",
  "cabin_class": "economy",
  "passengers": { "adults": 1 }
}

Round-trip economy

{
  "origin": "CAI",
  "destination": "DXB",
  "departure_date": "2026-09-15",
  "return_date": "2026-09-22",
  "cabin_class": "economy",
  "passengers": { "adults": 2 }
}

Direct / non-stop only

direct: true and nonstop: true are aliases; both become a zero-stop supplier filter.

{
  "origin": "ALG",
  "destination": "ORY",
  "departure_date": "2026-09-15",
  "cabin_class": "economy",
  "passengers": { "adults": 1 },
  "direct": true
}

All enabled suppliers

Omit every supplier selector. FX-Port evaluates compatibility and calls all matching enabled suppliers in parallel. New suppliers automatically join this request as FX-Port enables them.

{
  "origin": "ALG",
  "destination": "CDG",
  "departure_date": "2026-09-15",
  "return_date": "2026-09-22",
  "cabin_class": "economy",
  "passengers": { "adults": 1 }
}

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 '{
    "origin": "ALG",
    "destination": "CDG",
    "departure_date": "2026-09-15",
    "return_date": "2026-09-22",
    "cabin_class": "economy",
    "passengers": { "adults": 1 }
  }'

On this page