Free South African financial data as JSON
TradeAnswers publishes 74 South African reference datasets as plain JSON files that any website, spreadsheet or app can read: the SARB repo rate, CPI inflation, rand exchange rates, SARS tax tables, TFSA and retirement limits, exchange control allowances, credit ratings and more. There is no key, no sign-up and no rate limit, and every file is free to reuse under CC BY 4.0 with a link back to its source page.
Start with the catalogue: https://www.tradeanswers.co.za/api/v1/index.json
Popular datasets
| Dataset | Endpoint | Figures current at |
|---|---|---|
| SARB Repo Rate History | /api/v1/sarb-repo-rate-history.json | 2026-11-19 |
| South African Inflation (CPI) History | /api/v1/south-african-inflation-cpi-history.json | 2026-11-19 |
| Rand Exchange Rate History | /api/v1/rand-exchange-rate-history.json | 2026-11-19 |
| SARS Income Tax Tables | /api/v1/sars-income-tax-tables.json | 2026-11-19 |
| Tax-Free Savings Account Limits | /api/v1/tax-free-savings-account-limits.json | 2026-11-19 |
| Exchange Control Allowances | /api/v1/exchange-control-allowances.json | 2026-11-19 |
| South African Credit Ratings History | /api/v1/south-african-credit-ratings-history.json | 2026-11-29 |
| South African GDP Growth History | /api/v1/south-african-gdp-growth-history.json | 2026-12-02 |
| South African Unemployment Rate History | /api/v1/south-african-unemployment-rate-history.json | 2026-11-15 |
| South African Fuel Price and Levies | /api/v1/south-african-fuel-price-levies.json | 2026-12-02 |
| Capital Gains Tax Rates and Exclusions | /api/v1/capital-gains-tax-rates-and-exclusions.json | 2026-11-19 |
| Retirement Fund Contribution Limits | /api/v1/retirement-fund-contribution-limits.json | 2026-11-19 |
All 74 datasets are listed in the catalogue, one for each page in Data & Reference. Each endpoint has the same name as its page, so /sarb-repo-rate-history.html becomes /api/v1/sarb-repo-rate-history.json.
What a file contains
Every file has the same structure: the dataset name, title and description, the TradeAnswers page it comes from, the CSV download, the date its figures were last checked, the primary sources named on that page, the licence and a ready-made attribution line, followed by the tables. Each table has a title, its column names and its rows, in the same order as on the page.
{
"dataset": "sarb-repo-rate-history",
"title": "SARB Repo Rate History",
"source_page": "https://www.tradeanswers.co.za/sarb-repo-rate-history.html",
"figures_current_at": "2026-11-19",
"licence": "CC BY 4.0",
"attribution": "Source: TradeAnswers (…)",
"tables": [
{ "title": "Recent decisions",
"columns": ["Effective from", "Change", "Repo rate", "Prime"],
"rows": [["19 November 2026", "No change (4 votes to 3)", "7.25%", "10.75%"], …] }
]
}Values are kept as they appear on the page, so percentages and rand amounts stay as text such as 7.25% or R17,820; plain numbers are returned as numbers.
How to use it
In JavaScript, on any website:
fetch("https://www.tradeanswers.co.za/api/v1/sarb-repo-rate-history.json")
.then(r => r.json())
.then(d => console.log(d.tables[0].rows[0]));In Google Sheets, the CSV is the simplest route: =IMPORTDATA("https://www.tradeanswers.co.za/data/sarb-repo-rate-history.csv").
From the command line: curl https://www.tradeanswers.co.za/api/v1/index.json
The files can be read from any domain (they send an Access-Control-Allow-Origin: * header) and are cached for a day, so check figures_current_at rather than polling often.
Licence and attribution
The data is free to use, including commercially, under CC BY 4.0. Credit TradeAnswers and link to the source page, for example: Source: TradeAnswers, SARB Repo Rate History with a link to the page. The full terms are on the Press & Data Licence page, and the method behind every table is set out in how we compile our data.
Updates and versions
The JSON files are rebuilt from the same tables as the pages whenever a figure changes, and each change is dated on the updates log. The structure of version 1 will not change in a way that breaks existing code; new fields may be added. Every release of the full dataset is also archived on Zenodo with a permanent DOI: 10.5281/zenodo.24361561.
Frequently asked questions
Do I need an API key?
No. The files are static JSON, free to read from any website or app, with no key, sign-up or rate limit.
Can I use the data commercially?
Yes, under CC BY 4.0, as long as you credit TradeAnswers and link to the source page.
How current is the data?
Each file states the date its figures were last checked in figures_current_at, and files are rebuilt whenever a figure on the page changes.
Is there a CSV version?
Yes. Every dataset is also available as a CSV file, linked in each JSON file and on its page. The whole collection, CSV and JSON, is also on GitHub at github.com/tradeanswers/south-africa-financial-data, rebuilt every night from this API.