zaref serves the South African Reserve Bank closing yields on the government benchmark bonds as clean JSON. Two benchmarks are covered: the R2030, an 8 percent coupon maturing in 2030, and the R209, a 6.25 percent coupon maturing in 2036. Together they mark the short and long ends of the domestic yield curve.
Every response carries the coupon rate, maturity year and closing yield to maturity for each benchmark, the SARB timeseries code behind it (MMRD708A and MMRD709A), the reference date the yields closed on and the SARB source URL. Values are swept from the SARB WebIndicators API every South African business day, alongside the repo rate, ZARONIA and FX. If a publication is ever missed the response says so rather than serving a stale number silently.
SARB closing yields on the R2030 and R209 South African government benchmark bonds, key reference points for the domestic yield curve.
Clean price of a fixed-rate bond from face value, coupon and years to maturity, at a given yield (defaults to the live R2030 benchmark yield).
Parameters: face_value, coupon_percent, years_to_maturity, yield_percent, payments_per_year
No account, no API key. Paid endpoints reply HTTP 402 with exact payment requirements; an x402 client pays USDC on Base (about two seconds to settle) and retries automatically. Invalid input is rejected free with a 400 before any payment is challenged. See the x402 quickstart.
South African repo and prime rate API South Africa fuel price API SARS income tax tables API South Africa VAT API and free calculator South African public holidays API