How it works
Base URL
The base URL for all Revolut X Crypto Exchange REST API endpoints is:
https://revx.revolut.com/api/API endpoints
The API has two types of endpoints:
- Public endpoints include
/public/in their path and require no authentication. Use them to retrieve public market data and exchange configuration. - Authenticated endpoints cover your Revolut X account data and trading operations. Every request to them must include your API key and a signature. See Create an API key and Authenticate requests.
Make a request to a public endpoint
Because public endpoints need no credentials, you can try one straight away:
curl -X GET "https://revx.revolut.com/api/2.0/public/order-book/BTC-USD"Make an authenticated request
To make a request to an authenticated endpoint, you need:
- An API key
- The private key (
private.pem) you saved when generating signing keys. - The timestamp and signature for the specific request
A sample request might look like this:
curl "https://revx.revolut.com/api/1.0/orders/active?limit=10" \
-H "X-Revx-API-Key: {YOUR_API_KEY}" \
-H "X-Revx-Timestamp: 1783616701644" \
-H "X-Revx-Signature: wTnp+FJGGtW+Kf3zSg+R86wP2ogoC1FEFWyCmuDCaZUc4ikQmt2R1Wnnu4IThqeHl7niTxCEAm0yXL9kgQpCDg=="The X-Revx-Signature value is the Base64-encoded Ed25519 signature of the message string 1783616701644GET/api/1.0/orders/activelimit=10.
See Authenticate requests for how to construct and sign it for your own requests.
For more endpoints, operations and their details, see the API reference.