resbank APIresbank.co.za ↗
Retrieve South African Reserve Bank data including prime rate, repo rate, CPI, PPI, exchange rates, gold prices, SABOR, and ZARONIA via a single API.
What is the resbank API?
This API exposes 13 endpoints covering key South African Reserve Bank financial indicators, from the most recent prime lending rate via get_prime_rate to historical repo rate observations via get_repo_rate_history. Each endpoint returns structured data including SARB timeseries codes, ISO dates, numeric values, and direction indicators, making it straightforward to integrate South African monetary policy and market data into applications.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/925c9a29-048a-4c99-90a2-3e7a8de06ae4/get_prime_rate' \ -H 'X-API-Key: $PARSE_API_KEY'
Returns the most recent prime lending rate, including the value, date, timeseries code, and formatted percentage string. The prime rate is the benchmark rate at which private banks lend to the public. Updated daily on business days.
No input parameters required.
{
"type": "object",
"fields": {
"date": "string — ISO date (YYYY-MM-DD)",
"name": "string — rate name",
"value": "number — rate as a percentage",
"formatted_value": "string — percentage with % symbol",
"timeseries_code": "string — SARB timeseries identifier"
},
"sample": {
"data": {
"date": "2026-06-10",
"name": "Prime lending rate",
"value": 10.5,
"formatted_value": "10.5%",
"timeseries_code": "MMRD000A"
},
"status": "success"
}
}About the resbank API
Interest Rates
get_prime_rate and get_repo_rate each return a single current reading with fields for date, value, formatted_value, name, and timeseries_code. The repo rate reflects the Monetary Policy Committee's current policy stance; the prime rate is derived from it. Their history counterparts — get_prime_rate_history and get_repo_rate_history — return arrays of daily observations ordered newest-first, each carrying Period, Timeseries, Description, Value, FormatNumber, and FormatDate. If you only need the specific dates when a rate level changed (not every daily observation), get_rate_change_periods accepts a rate parameter of prime or repo and returns a periods array with from_date, to_date, and value, plus coverage_start and rate_name.
Overnight Benchmarks and Inflation
get_sabor_rate returns the South African Benchmark Overnight Rate and get_zaronia_rate returns the ZARONIA rate. Both share the same response shape: Date, Value, UpDown, SectionId, SectionName, TimeseriesCode, FormatDate, and FormatNumber. The UpDown integer field (-1, 0, or 1) indicates direction relative to the prior reading. Inflation is covered by get_cpi (headline CPI for all urban areas) and get_ppi (12-month PPI percentage change), both updated monthly and returning the same field set.
Exchange Rates and Market Data
get_exchange_rates returns current ZAR rates against USD, GBP, EUR, and JPY, plus the nominal effective exchange rate index. get_selected_historical_rates splits its response into two arrays: daily_exchange_rates (ZAR per USD, GBP, EUR) and monthly_indicators (nominal and real effective exchange rate indices, real prime lending rate). get_current_market_rates aggregates money market, capital market, exchange rate, and gold price indicators in one call, each object including a SectionName grouping field useful for categorizing results. get_gold_price isolates the London gold fix in both USD and ZAR, averaged from AM and PM fixings.
The resbank API is a managed, monitored endpoint for resbank.co.za — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when resbank.co.za changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official resbank.co.za API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Displaying the current prime and repo rates on a South African personal finance dashboard
- Backtesting lending models using full daily prime rate history from get_prime_rate_history
- Tracking ZAR/USD, ZAR/GBP, and ZAR/EUR movements via get_exchange_rates for forex risk monitoring
- Monitoring CPI and PPI trends monthly to inform inflation-linked bond or salary adjustment calculations
- Alerting on rate changes by polling get_rate_change_periods to detect new from_date entries
- Incorporating SARB SABOR and ZARONIA benchmark rates into overnight funding cost models
- Charting the London gold price in ZAR alongside exchange rates using get_gold_price and get_exchange_rates
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 200 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
| Team | $300/mo | 20,000 | 300 req/min |
| Company | $1,000/mo | 100,000 | 500 req/min |
Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.