Exchange API · v1
Introduction/Overview

RandCrypto API

A GraphQL API for the exchange: market data, account balances, orders, conversions, and withdrawals. It’s the same API the RandCrypto app itself trades on.

POST https://api.randcrypto.co.za/graphql
Request an API keyLog in to the app, or contact the desk to get access to production keys.

1. A user session token — obtained by logging in to the RandCrypto app. Required to create or manage API keys.

2. An API key — created with an explicit set of permissions, then exchanged for a short-lived session JWT via Authenticate with API Key. This is the credential an integration should hold day to day; it can do exactly what its permissions allow, nothing more.

API keys can be scoped to move funds — placing orders, converting currency, sending a withdrawal. Read the Permissions page before granting anything beyond read access to an integration.