Build with AI
Connect Claude, Cursor, ChatGPT or any MCP client to live LandedFX quotes, market data, vaults and these docs.
LandedFX runs a remote MCP server. Connect it to your AI tool and it can price real routes, read live corridors and vaults, and look things up in these docs while it writes your integration.
https://api.landedfx.com/mcpIt uses Streamable HTTP. A key is optional: without one, everything works except quotes, rate locks and carry pricing, which take a key or an x402 payment. Send the key as the x-api-key header, or as Authorization: Bearer <key>. Calls through MCP count against your key exactly like direct API calls.
No key yet? Ask your assistant to "get me a free LandedFX API key". It calls get_free_api_key with your name and email, and shows the key once.
Connect your tool
claude mcp add --transport http landedfx https://api.landedfx.com/mcp \
--header "x-api-key: $LANDEDFX_KEY"Pay per call with x402
Agents don't need an API key at all. Call a priced endpoint without one and LandedFX answers 402 Payment Required with x402 payment terms: USDC on Base. An x402 client signs the payment and retries, and the response comes back as normal. The payment settles only when the call succeeds.
| Endpoint | Price per call |
|---|---|
POST /api/v1/quotes | $0.01 |
POST /api/v1/forwards | $0.02 |
POST /api/v1/carry/quotes | $0.01 |
import { wrapFetchWithPayment } from '@x402/fetch';
import { x402Client } from '@x402/core/client';
import { ExactEvmScheme } from '@x402/evm/exact/client';
const client = new x402Client().register('eip155:8453', new ExactEvmScheme(signer));
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay('https://api.landedfx.com/api/v1/quotes', {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({ from: 'KES:mpesa', to: 'USDC:base', amount: '150000' }),
});Requests that send an API key are never charged this way; they use the key's plan.
Naira risk watchdog
GET /api/v1/risk/ngn (and the naira_risk tool) returns today's naira risk level, calm, watch or step_aside, with the reasons. Every 30 minutes it reads three market signals in code (the naira's 24-hour move, the street premium over the official index, and how fast futures price the naira to fall) and the latest naira headlines, which TypeSafe Jev judges for relevance, direction and policy change. Fixed rules in code set the level. The naira carry strategy, once live, is built to step out of naira exposure at step_aside.
Tools
| Tool | What it does | Key |
|---|---|---|
quote_transfer | Price every route between two assets at a size: best route, alternatives, all-in cost, confidence | Yes |
list_currencies | Coverage, or one currency's live rate and rails | |
get_p2p_ads | P2P ads that can fill an order at a size, after screening | |
market_overview | Live cost of every corridor, or one corridor's history | |
quote_swap | Best of Relay and NEAR Intents for a token swap, executable on request | |
list_swap_assets | Tokens and chains the swap layer routes | |
track_swap | Status of a swap | |
naira_derivatives | cNGN index, futures curve and options chain | |
naira_risk | Today's naira risk level from the watchdog, with reasons and the headlines AI read | |
lock_rate | Price a naira rate lock | Yes |
price_carry | Compare naira carry strategies | Yes |
get_vaults | Vaults, one vault's state, a wallet's position, or history | |
build_vault_transaction | Build a deposit or withdrawal for the user's wallet to sign | |
vault_deposit_route | Deposit into a vault from any token on any chain | |
search_docs | Search these docs and the API reference | |
read_doc | Read a docs page as Markdown | |
get_free_api_key | Issue a free API key by name and email | |
get_usage | Your plan and usage this month | Yes |
Nothing moves funds. Swap and vault tools only return transactions for the user's own wallet to sign.
Try asking
- "What does it cost to send 150,000 KES over M-Pesa and land USDC on Base right now?"
- "Which corridor is cheapest to off-ramp $1,000 today?"
- "Write a Next.js route that quotes NGN to USDC with LandedFX and shows the route steps."
- "Add a LandedFX vault deposit button to my app for Privy smart wallets."
Docs for LLMs
Every page here is also plain Markdown, for tools that read docs directly:
/llms.txt: an index of every page and endpoint./llms-full.txt: all of the docs in one file.- Any page with
.mdadded, such as/guides/vaults.md. - The OpenAPI spec:
api.landedfx.com/openapi.json.