Discover/resbank API
live

resbank APIresbank.co.za

Retrieve live and historical SARB financial data: prime rate, repo rate, SABOR, ZARONIA, CPI, PPI, ZAR exchange rates, and gold prices via 12 endpoints.

Endpoint health
verified 2d ago
get_selected_historical_rates
get_ppi
get_sabor_rate
get_zaronia_rate
get_prime_rate_history
12/12 passing latest checkself-healing
Endpoints
12
Updated
21d ago

What is the resbank API?

The resbank.co.za API provides 12 endpoints covering South Africa's key monetary and economic indicators sourced from the South African Reserve Bank. You can fetch the current prime lending rate via get_prime_rate — returning the value, ISO date, and SARB timeseries code — as well as historical rate series, ZAR exchange rates against major currencies, inflation metrics, overnight benchmark rates, and London gold prices in both USD and ZAR.

Try it

No input parameters required.

api.parse.bot/scraper/925c9a29-048a-4c99-90a2-3e7a8de06ae4/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/925c9a29-048a-4c99-90a2-3e7a8de06ae4/get_prime_rate' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace resbank-co-za-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: SARB Statistics SDK — bounded, re-runnable; every call capped."""
from parse_apis.south_african_reserve_bank_sarb_statistics_api import SARB, RateNotFound

client = SARB()

# Fetch the current prime lending rate — single-item typed access.
prime = client.rates.get_prime()
print(f"Prime Rate: {prime.value}% as of {prime.date}")

# Fetch the repo rate (SARB Policy Rate).
repo = client.rates.get_repo()
print(f"Repo Rate: {repo.value}% ({repo.formatted_value})")

# List recent prime rate history observations, capped at 5 items.
for obs in client.rateobservations.list_prime_history(limit=5):
    print(f"  {obs.period}: {obs.value}%")

# Get all current market indicators, capped at 3.
for indicator in client.marketindicators.list_all(limit=3):
    print(f"{indicator.name}: {indicator.value} (trend: {indicator.up_down})")

# Get CPI inflation — typed error catch around the call.
try:
    cpi = client.marketindicators.get_cpi()
    print(f"CPI: {cpi.value}% for period {cpi.date}")
except RateNotFound as exc:
    print(f"CPI not available: {exc}")

# Get historical exchange rates — composite resource.
historical = client.historicalrateses.get()
print(f"Daily FX rates: {len(historical.daily_exchange_rates)} items")
print(f"Monthly indicators: {len(historical.monthly_indicators)} items")

print("exercised: rates.get_prime / rates.get_repo / rateobservations.list_prime_history / marketindicators.list_all / marketindicators.get_cpi / historicalrateses.get")
All endpoints · 12 totalmissing one? ·

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.

Input

No input parameters required.

Response
{
  "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 Rate Endpoints

get_prime_rate and get_repo_rate each return a single current observation with five fields: date (ISO YYYY-MM-DD), name, value (numeric percentage), formatted_value (with % symbol), and timeseries_code (the SARB's internal series identifier). Their history counterparts — get_prime_rate_history and get_repo_rate_history — return a data array ordered newest-first, where each element carries Period (ISO datetime), Timeseries, Description, Value, FormatNumber, and FormatDate. These series are useful for tracking rate cycle timing or building yield-curve models against other data sources.

Benchmark Overnight Rates and Inflation

get_sabor_rate returns the South African Benchmark Overnight Rate and get_zaronia_rate returns the ZARONIA (South African Rand Overnight Index Average). Both share the same nine-field schema: Date, Name, Value, UpDown (an integer direction flag of -1, 0, or 1), SectionId, SectionName, TimeseriesCode, FormatDate, and FormatNumber. get_cpi and get_ppi use the same schema to expose headline CPI for all urban areas and the 12-month PPI percentage change respectively.

Exchange Rates and Market Overview

get_exchange_rates returns ZAR spot rates against USD, GBP, EUR, and JPY plus the nominal effective exchange rate index, each object carrying Name, Date, Value, UpDown, TimeseriesCode, and format fields. get_current_market_rates aggregates money market, capital market, exchange rate, and gold price indicators in a single call, with a SectionId and SectionName on each object for grouping. get_selected_historical_rates splits output into two arrays — monthly_indicators and daily_exchange_rates — giving a longer-horizon view of selected rates and effective indices.

Gold Price

get_gold_price returns a data array with the London gold price per fine ounce averaged from the AM and PM fixings, denominated in both USD and ZAR. Each object follows the standard market rate schema with Name, Date, Value, UpDown, SectionId, SectionName, TimeseriesCode, and format fields.

Reliability & maintenanceVerified

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.

Last verified
2d ago
Latest check
12/12 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Displaying live prime and repo rates in a South African mortgage calculator
  • Alerting users when SARB policy rate changes using get_repo_rate_history deltas
  • Tracking ZAR/USD and ZAR/EUR movements for a currency conversion tool
  • Feeding CPI and PPI data into inflation-adjusted return calculations
  • Monitoring ZARONIA and SABOR overnight rates for short-term funding models
  • Building a gold price dashboard showing USD and ZAR valuations side by side
  • Backtesting interest rate strategies using historical prime rate series
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does the South African Reserve Bank publish an official developer API?+
The SARB publishes economic data and statistical releases on its website at resbank.co.za, but it does not offer a documented public REST API for programmatic access. The Parse API surfaces this data in a structured JSON format across 12 endpoints.
What does the UpDown field mean in the rate and inflation endpoints?+
UpDown is an integer direction flag that indicates whether the value moved up (1), down (-1), or was unchanged (0) relative to the previous observation. It appears on get_cpi, get_ppi, get_sabor_rate, get_zaronia_rate, get_exchange_rates, get_gold_price, and the market rate endpoints.
How granular is the historical data — is daily granularity available for all series?+
Daily granularity is available for prime rate history (get_prime_rate_history), repo rate history (get_repo_rate_history), and daily exchange rates within get_selected_historical_rates. The monthly_indicators array in get_selected_historical_rates provides monthly-frequency data for other selected series.
Does the API cover JIBAR rates or other money market benchmarks beyond SABOR and ZARONIA?+
Dedicated JIBAR endpoints are not currently included. The API covers prime rate, repo rate, SABOR, ZARONIA, CPI, PPI, ZAR exchange rates, and gold prices. get_current_market_rates does include broader money market and capital market rate objects, though without individual named endpoints for each. You can fork this API on Parse and revise it to add a dedicated JIBAR or other money market endpoint.
Is there a way to filter exchange rates to a specific currency pair, such as ZAR/EUR only?+
No filtering parameters are currently exposed — get_exchange_rates returns all available currency pairs in a single array (USD, GBP, EUR, JPY, and the nominal effective rate index). Client-side filtering by the Name or TimeseriesCode field is the current approach. You can fork the API on Parse and revise it to add a currency parameter that filters the returned array.
Page content last updated . Spec covers 12 endpoints from resbank.co.za.
Related APIs in FinanceSee all →
rba.gov.au API
Access Reserve Bank of Australia data including CPI inflation (current and historical), housing and business lending rates, AUD exchange rates, monetary policy/cash rate changes, and the RBA balance sheet.
data.rbi.org.in API
Access India's official monetary policy data including real-time money market operations, historical rates by date or month, and RBI reference rates. Retrieve the latest financial data releases directly from the Reserve Bank of India's official sources to monitor interest rates, liquidity operations, and market benchmarks.
euribor-rates.eu API
Access current and historical Euribor 6-month interest rates to track lending benchmarks and analyze rate trends over time. Monitor real-time rate changes and retrieve past data to inform financial decisions and pricing strategies.
bcra.gob.ar API
Access regulations, communications, and news from Argentina's Central Bank while retrieving real-time monetary variables and economic indicators. Search BCRA communications by type, date, or number, and monitor the latest financial statistics and homepage data all in one place.
argenstats.com API
Access Argentina's key economic indicators including the EMAE activity index, inflation (IPC), dollar exchange rates (BLUE, CCL, MEP, OFICIAL, and more), country risk, employment, and poverty levels. Retrieve current values, historical series, and forecasting event listings from ArgenStats.
nab.com.au API
Get current NAB home loan, personal loan, and credit card rates along with product details, then calculate repayments or compare lending options across their full product range. Access live interest rates, business lending information, and rates hub data to make informed borrowing decisions.
jse.co.za API
Access live JSE stock prices, company profiles, and market indices from the Johannesburg Stock Exchange. Search SENS announcements and view comprehensive market statistics to stay informed on JSE activity.
hkab.org.hk API
Access real-time Hong Kong HIBOR interest rates and daily exchange rates to stay updated on key financial benchmarks. Get the latest market highlights and rate information directly from the Hong Kong Association of Banks to inform your financial decisions.