Skip to Content
LandedFXDocs

Quickstart

Get a key, price your first route, and read the result.

Get an API key

Get a free key on landedfx.com, or straight from the API:

curl -X POST https://api.landedfx.com/api/v1/keys \
  -H "content-type: application/json" \
  -d '{ "name": "Ada Obi", "email": "ada@acme.com" }'

The key is shown once. Send it as the x-api-key header. Using an AI coding tool? Connect the MCP server and it can do this for you.

Quote a transfer

curl -X POST https://api.landedfx.com/api/v1/quotes \
  -H "x-api-key: $LANDEDFX_KEY" \
  -H "content-type: application/json" \
  -d '{ "from": "KES:mpesa", "to": "USDC:base", "amount": "150000" }'

Read the result

FieldMeaning
amountOutWhat lands, in the to asset
idealAmountOutWhat the amount would buy at mid-market with nothing charged
allInBpsTotal cost against mid-market, in basis points (62.6 bps = 0.626%)
route.stepsEach leg, with its own cost and whether it's executable
alternativesUp to four next-best routes
confidencehigh, medium or low, with reasons

Act on it

Quotes expire after 60 seconds (expiresAt). Re-quote before you execute. Swap legs can be executed through POST /swap/quotes.

On this page