Using the API
Partners can quote and create swaps from their own app, add a commission and receive signed webhooks. The full reference is on the developers page.
Updated
The API is JSON over HTTPS. Your app can list coins, get rates and limits, lock fixed quotes, create orders and follow them. Payouts go straight to your user's address. The full reference is on the developers page, and a machine-readable description is at /api/v1/openapi.json.
What you need
- An API key, sent in the
x-api-keyheader. Keys are issued to partners: see the partner portal. - Your user's IP address in the
x-user-ipheader on every request, so the country rules apply to your user and not to your server. - A webhook URL, if you want us to tell your server when an order changes. Webhooks are signed with HMAC-SHA256, so you can check that they came from us.
Your commission
You can add a commission of up to 2% inside the rate. Your users see it in the fee breakdown, next to our spread.
Testing
A build running in simulation mode is a full sandbox. The same endpoints work, every network is simulated and no real coins move. Developer helpers can send a test deposit to an order and mine blocks so it confirms.
Requests are rate limited per IP address. Errors come back as JSON with a code and a plain message, listed on the developers page.