Coverage
Data available for USDZAR
Three datasets cover the rand. Its daily ranges are large for a currency, so even daily data gives a backtest plenty to work with.
| Data | What it is | Granularity | Delivery | Plan | Details |
|---|---|---|---|---|---|
| Daily history / time series | One row per day: OHLC mid, closing bid and ask, or an official fixing | 1 day | API and CSV/Parquet file | Full history on Free (1-day delay); same-day close on Starter | Product page |
| Intraday OHLC bars | Bars built from bid, ask or mid prices | 1 second to 1 hour | API and file | 1-hour bars on Free; 1-minute on Starter; 1-second and bid/ask on Pro | Product page |
| Tick bid/ask | Every bid and ask update, millisecond timestamps | Each quote | API and file | 1 year on Pro; full history on Business | Product page |
Sample data
Sample data preview
The rand isn't in our free ECB file. Request a sample and we'll send USDZAR bars in the standard schema.
Schema
Schema
USDZAR intraday bars use these fields. Rand spreads are wide by G10 standards, so average_spread is worth keeping in your cost model.
| Field | Type | Description |
|---|---|---|
symbol |
string | Pair, e.g. GBPUSD |
interval |
string | 1s, 1m, 5m, 15m, 1h |
timestamp |
string | Bar start time, ISO 8601 UTC |
price_side |
string | mid, bid or ask |
open |
number | First price in the bar |
high |
number | Highest price |
low |
number | Lowest price |
close |
number | Last price |
tick_count |
integer | Price updates in the bar (optional) |
vwap |
number | Tick-weighted average price (optional) |
average_spread |
number | Mean ask minus bid in the bar, for cost modelling (optional) |
API
Get it by API
An early access example: one day of USDZAR minute bars.
curl (example)
curl -G "https://api.marketdata.co/v1/forex/bars" \
-H "Authorization: Bearer $MARKETDATA_API_KEY" \
--data-urlencode "symbol=USDZAR" \
--data-urlencode "interval=1m" \
--data-urlencode "start=2026-11-18T00:00:00Z" \
--data-urlencode "end=2026-11-19T00:00:00Z"
Python (example)
import os
import requests
import pandas as pd
resp = requests.get( # USDZAR minute bars, Johannesburg morning
"https://api.marketdata.co/v1/forex/bars",
headers={"Authorization": f"Bearer {os.environ['MARKETDATA_API_KEY']}"},
params={"symbol": "USDZAR", "interval": "1m",
"start": "2026-11-18T00:00:00Z", "end": "2026-11-19T00:00:00Z"},
timeout=30,
)
resp.raise_for_status()
bars = pd.DataFrame(resp.json()["results"])
bars["timestamp"] = pd.to_datetime(bars["timestamp"], utc=True)
jhb = bars[bars["timestamp"].dt.hour.between(7, 10)]
print(jhb["close"].iloc[-1] / jhb["close"].iloc[0] - 1)
South Africa runs on UTC+2, so the Python tab's 07:00 to 10:00 UTC window is the Johannesburg morning.
Datasets
Get it as a file
USDZAR files are priced per pair:
- Formats: CSV and Parquet
- Daily OHLC history: $19 per pair, all years
- 1-minute mid bars: $29 per pair, full history, bid and ask sides included
- Ticks: $3 per pair per month
If you're testing the gold link, pair this with our GC futures data, which uses the same UTC timestamps.
Use cases
About US Dollar / South African Rand (for traders)
USDZAR is the number of South African rand one US dollar buys. The rand is one of the most liquid emerging-market currencies and also one of the most volatile, often used by global funds as a quick way to trade EM risk.
South Africa exports gold, platinum group metals and coal, so commodity prices feed into the rand. Domestic politics, power shortages and South African Reserve Bank decisions add their own moves, and so do global risk swings: in a sell-off, USDZAR tends to jump.
Local trading follows Johannesburg hours, UTC+2 with no daylight saving. London is also a big centre for rand trading. Overnight liquidity is thin.
Expect fat tails. Political events, such as the surprise replacement of the finance minister in December 2015, have moved the rand several percent in a day. A strategy tuned on calm periods can fail badly on those dates.
For cost modelling, use bid and ask sides rather than mids. On a mid-based backtest, a short-term USDZAR strategy can look profitable when the spread alone would have eaten the edge, especially around the 17:00 New York rollover.
Pricing
Pricing
These are the forex plan rows for USDZAR:
| Free $0 | Starter $29/mo | Pro $79/mo | Business $249/mo | |
|---|---|---|---|---|
| Daily OHLC | Full history, 1-day delay | Same-day close, bid/ask closes | As Starter | As Starter, commercial use |
| Intraday bars | 1-hour bars, last 30 days | 1-minute bars, 5 years | 1-second bars, bid and ask sides | As Pro, commercial use |
| Tick bid/ask | No | No | 1 year of history | Full history |
Full plan details are on the pricing page.
FAQ
Frequently asked questions
How far back does USDZAR data go?
We'll publish rand start dates per resolution before launch. The Free plan is planned to include full daily history with a one-day delay.
Why is the rand so volatile?
It's freely traded, very liquid for an EM currency and exposed to commodities, local politics and global risk at once. Funds often use it as a proxy for EM sentiment, which adds to the swings.
Is the rand in the free ECB file?
No, that sample covers eight major currencies. Request a sample for USDZAR rows.
Can I download USDZAR data into Excel?
Yes, USDZAR files come as CSV, which opens in Excel or Google Sheets. Use Parquet for tick data.
Is there a free USDZAR sample?
Not yet. Use the request button and we'll send USDZAR bars from a recent week, bid and ask sides included.
Keep reading