South African Rand (ZAR) Currency API
The South African Rand is the currency of Africa's most industrialized economy and a major producer of gold, platinum, and other minerals. Managed by the South African Reserve Bank, the ZAR is the most traded African currency in global forex markets. ZAR exchange rates are influenced by commodity prices, SARB policy decisions, and emerging market risk sentiment.
The South African Rand Currency API allows you to:
- Convert ZAR (South African Rand) to any of 170+ supported currencies
- Get real-time ZAR exchange rates
- Access ZAR conversion rates via simple REST API
- Premium plan required for ZAR currency pairs
From 5,079 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 245ms | 266ms | 326ms | 470ms | 926ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/convertcurrency GET
https://api.api-ninjas.com/v1/convertcurrency
Parameters
haverequiredCurrency you currently hold. For example,
ZAR.wantrequiredCurrency you want to convert to. For example,
USD.amountrequiredAmount of currency to convert.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON object with the following fields or an error if the request is unsuccessful.
old_amountThe original amount provided in the request.
old_currencyThe original currency code (e.g.
ZAR).new_currencyThe target currency code (e.g.
USD).new_amountThe converted amount in the target currency.
Related ZAR Currency Pairs
| Pair | From | To |
|---|---|---|
| USD/ZAR | United States Dollar | South African Rand |
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/convertcurrency?have=ZAR&want=USD&amount=1000Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/convertcurrency?have=ZAR&want=USD&amount=1000" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed above, you can still make API calls by using any HTTP request library and following the documentation above.