Introduction
Welcome to the Nexchange API documentation. The API lets you integrate instant crypto exchange functionality — including non-custodial DeFi swaps — into your application without managing order books or liquidity.
What you can build
- Instant swaps — crypto-to-crypto exchange with floating or fixed rates
- DeFi orders — non-custodial cross-chain swaps, including RFQ fixed-rate and limit orders
- Embedded exchange — a ready-made widget for browser integrations
- Partner economics — referral attribution and dynamic markup
No end-user registration is required; orders are created for anonymous users and attributed to your partner account.
Base URL
https://api.n.exchange/en/api/v2
All v2 endpoints require an API key — see Authentication. The machine-readable OpenAPI spec lives at api.n.exchange/docs/v2 (schema: /en/api/v2/schema/).
API versions
| Version | Status | Docs |
|---|---|---|
| v2 | Recommended for all new integrations — simplified flat responses, clearer naming | This site + Swagger UI |
| v1 | Legacy, still operational | Swagger UI · Migration guide |
How an exchange works
- Quote —
GET /rate/for the pair the user wants; show the price (Rates & Pricing). - Create —
POST /orders/with the quote'srate_id; get back adeposit_address. - Pay — the user sends funds to the deposit address within the payment window.
- Track — follow the order to
COMPLETEDvia polling or webhooks; statuses are defined in Order Lifecycle.
The Quickstart walks this end-to-end in five minutes.
Support
- 🌐 Website: n.exchange
- 📧 All inquiries (technical, partnership, compliance): support@n.exchange