You are reading v1 & v2. v1 and v2 are deprecated. They keep working and are still supported, but new integrations should use v3.
The API
REST over HTTPS, JSON in and out, with v1 and v2 endpoints side by side.
REST over HTTPS, JSON in and out. Two eras of endpoint live here: v1 under
/api/v1 and v2 under /api/v2. Both work, and most integrations use a mix,
which is why they are documented together.
Every endpoint page under API is generated from the published document for its version, so what you read matches what we serve.
Not the place to start something new
These endpoints are supported and are not going away while partners are on them. But v3 is where new work belongs, and the differences are not cosmetic. See what changed since v1 and v2.
Conventions
- Amounts are numbers
- JSON numbers, not strings. This is the one convention v3 reverses: it sends every amount as a decimal string, because a float cannot hold 8 crypto decimals without rounding.
- Currencies are our own codes
- Short codes like BTC and ETH_ARB, ours to define. The full set is on currencies.
- Errors are almost always a 400
- The status tells you little. The code in the body is what you branch on. See the error catalogue.
Where to go
- Base URLs for the two hosts and the two path prefixes.
- Authentication for the two credentials and how to get each one.
- Error catalogue for the envelope and the codes.