Environments
Live vs sandbox environments. One base URL, environment determined by API key prefix.
There is one base URL for all environments:
https://api.fx-port.comThe environment is determined entirely by the API key prefix — there are no separate URLs.
| Key prefix | Environment | Behaviour |
|---|---|---|
fxp_live_ | Live | Real agency data; debits real balance; real bookings |
fxp_test_ | Sandbox | Isolated test bookings; no real charges; balance endpoints return empty |
Getting API keys
Create keys in the FX-Port dashboard at fx-port.com/dashboard/api.
Both sandbox and live keys can have Read or Read+Write permissions:
| Permission | Sandbox key use | Live key use |
|---|---|---|
| Read | Search, price, get quotes, retrieve bookings | Same |
| Read+Write | Search + create test bookings, pay, cancel | Search + real bookings, real balance debit |
Postman collections
Pre-built collections with every endpoint, auto-wired test scripts, and randomised (Latin/ASCII)
passenger names. Download, import into Postman, set your API key as the api_key variable, and
every request is ready to run. The collections contain no API keys — add your own.
Flights collection
Search, price, book, hold/pay, cancel, get booking, get ticket, airports.
eSIMs collection
Package catalog, compatible devices, orders, topups, usage, bookings, and installation instructions.
Account collection
Balances, financial ledger, and booking history.
Suppliers collection
Discover enabled suppliers and capabilities.
Direct links:
- FX-Port-Flights.postman_collection.json
- FX-Port-eSIMs.postman_collection.json
- FX-Port-Account.postman_collection.json
- FX-Port-Suppliers.postman_collection.json
Get your API keys at fx-port.com/dashboard/api — sandbox keys are free.