Get started
Response shape
Every response is enveloped:
Failures keep the envelope and replace data with error:
Branch on error.code, never on message — codes are stable, prose is not. Quote meta.requestId in any support request; it is also returned as the X-Request-Id header.
Rates are strings, not JSON numbers. "155.234000" survives a round trip exactly; 155.234 as an IEEE-754 double does not. Parse them with a decimal type, not parseFloat, if you intend to do arithmetic on them.