FX-Port API

Introduction

FX-Port is a unified travel API for flights, hotels, eSIMs and more — one integration, many suppliers, best available prices.

FX-Port is a unified travel API. One integration gives you flights, hotels, eSIMs, and more, sourced across many suppliers and returned with the best available prices — no per-supplier code.

  • Flights — search, price, book, hold/pay across GDS, NDC, LCC, and direct airlines. Available now.
  • Hotels — global hotel inventory. Live; docs landing shortly.
  • eSIMs — data packages in 190+ countries. Live; docs landing shortly.
  • More products are on the way.

Work in progress. FX-Port is actively expanding: more suppliers, more GDS/NDC connections, and new products. We aim to avoid breaking changes — any breaking or major change ships under a new API version so your current integration keeps working. Have feedback, a feature request, or found a bug? Email us at [email protected].

API keys can trigger real financial debits. A Read+Write key creates bookings and charges your agency balance. Never expose keys in front-end code, mobile apps, or public repos — always call the API from your backend. See Authentication for the full security guide.

Get API access in minutes

There is no approval queue, no agreement to sign, and no deposit required to start building. Self-serve from day one:

Create an account — sign up at fx-port.com/register. Takes about a minute.

Generate your API keys — open the API page in your dashboard and create a key. Start with a sandbox key (fxp_test_) to build and test for free.

Start building — your first search call works immediately. See the quick start below.

Sandbox is free and unlimited to explore. You only need a funded balance when you want to issue real bookings with a fxp_live_ key — see Environments.

Base URL

https://api.fx-port.com

All paths are prefixed with /api/v1/. One URL for all environments — live vs sandbox is determined by your API key prefix (fxp_live_ or fxp_test_).

Where to start

Quick start (flights, in 3 calls)

SearchPOST /api/v1/get_flights. Save suppliers[0].searchId and an offer id.

PricePOST /api/v1/flights/price_flight with that search_id and offer_id. Required before booking.

BookPOST /api/v1/flights/book_flight with booking_type: "issue", the passengers, and contact details. Tickets are issued immediately.

# 1. Search
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",
    "cabin_class": "economy",
    "passengers": {
      "adults": 1
    }
  }'

Continue with the full Flight booking flow →

Built with AI tools?

Point your AI coding assistant at these machine-readable files for accurate, up-to-date context:

URLContent
/llms.txtPage index — titles, URLs, descriptions (lightweight)
/llms-full.txtFull documentation text

Contact

Questions, feedback, or issues? Email the developer team at [email protected]. Get your API keys at fx-port.com/dashboard/api.

On this page