Overview
VALR is a South African cryptocurrency exchange that offers a comprehensive API for market data, account management, and trading. The API supports REST and WebSocket connections for real-time data. Public market data is accessible without authentication, while trading operations require an API key with HMAC signing.
Beginner Tip
VALR public endpoints like /v1/public/{currencyPair}/marketsummary give you live market data without needing an API key, which is a great way to explore the API before implementing authentication. When you do add auth, follow the HMAC signature guide in the VALR docs carefully.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET https://api.valr.com/v1/public/BTCZAR/marketsummary
- Result
- HTTP 200 · application/json · 316 bytes · compressed
- Response time
- 27 ms (median of 3) · fastest 26 ms
- Transport
- TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
- Browser CORS
- No Access-Control-Allow-Origin header — call it from a server, not the browser
- Served by
- n/a
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| currencyPair | string | BTCZAR |
| askPrice | string | 1046808 |
| bidPrice | string | 1046807 |
| lastTradedPrice | string | 1046809 |
| previousClosePrice | string | 1067603 |
| baseVolume | string | 5.54900548 |
| quoteVolume | string | 5882636.99121495 |
| highPrice | string | 1070590 |
| lowPrice | string | 1042677 |
| created | string (date) | 2026-08-10T19:49:31.598Z |
| changeFromPrevious | string | -1.94 |
| markPrice | string | 1046808 |
Captured Response
Captured from a real request to https://api.valr.com/v1/public/BTCZAR/marketsummary on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
{
"currencyPair": "BTCZAR",
"askPrice": "1046808",
"bidPrice": "1046807",
"lastTradedPrice": "1046809",
"previousClosePrice": "1067603",
"baseVolume": "5.54900548",
"quoteVolume": "5882636.99121495",
"highPrice": "1070590",
"lowPrice": "1042677",
"created": "2026-08-10T19:49:31.598Z",
"changeFromPrevious": "-1.94",
"markPrice": "1046808"
} Field Reference
currencyPair The trading pair for the market summary (e.g., BTCZAR) askPrice The lowest price at which sellers are willing to sell bidPrice The highest price at which buyers are willing to buy lastTradedPrice Price of the most recent completed trade highPrice Highest trade price in the last 24 hours Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://api.valr.com/v1/public/BTCZAR/marketsummary";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
How This API Fails
We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.
Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Binance
⭐ Beginner's PickBinance Spot API provides real-time and historical market data for thousands of cryptocurrency trading pairs on the world's largest crypto exchange by volume.
BitcoinAverage
BitcoinAverage aggregates price data from dozens of global cryptocurrency exchanges to produce weighted average prices for Bitcoin and other digital assets.
Bitfinex
Bitfinex is a professional cryptocurrency exchange offering one of the most comprehensive trading APIs for both spot and margin markets.
Bitmex
BitMEX is a derivatives exchange specializing in perpetual swaps and futures contracts for Bitcoin and other cryptocurrencies.
1inch
⭐ Beginner's Pick1inch is a decentralized exchange (DEX) aggregator that finds the best swap routes across protocols like Uniswap, SushiSwap, and Curve.