lattice
Developer platform

Post-quantum swaps, as an API.

Quote, create and track cross-chain swaps across 280+ assets and 20+ networks with one REST API, served over hybrid ML-KEM TLS. Your wallet is your account: sign a message, issue a key, ship.

Your API keys

Connect a wallet to begin

Your wallet is your developer identity, no email, no password. Connect, sign one message, and issue keys.

Try it

Pass your key as x-api-key. A live quote in one request:

curl
curl "https://www.latticeswap.trade/v1/rate?sendToken=USDT&sendNetwork=TRX&receiveToken=ETH&receiveNetwork=ETH&sendAmount=100" \
  -H "x-api-key: pcl_live_…"

Full endpoint reference, error codes and examples live in the docs.

Embed the swap widget

Drop the full terminal into any site with one iframe. No key needed. Add your referral code as ref and every swap made through your embed earns you 10% of its Lattice Points, forever. Optional params: from / to (SYMBOL:NETWORK) to preselect the pair, and theme=light.

html
<iframe
  src="https://www.latticeswap.trade/widget?from=BTC:BTC&to=SOL:SOL&ref=YOUR_CODE"
  width="100%" height="720" style="border:0;border-radius:16px"
  allow="clipboard-write"
></iframe>

Get your referral code on the $LATTICE page by connecting a wallet.