Saudi Central Bank (SAMA) Exchange Rate API
Official Saudi Central Bank (SAMA) (Saudi Arabia) monthly average exchange rates as JSON: 12 currencies, history back to 2009. The published SAR rates required for tax, audits, and compliant invoicing.
About Saudi Central Bank (SAMA)
The Saudi Central Bank (SAMA) publishes riyal exchange rates monthly — period averages and end-of-period values for 12 currencies — with the riyal itself pegged to the US dollar at 3.75 since 1986. SAMA offers no machine-readable feed of its own, so this series is sourced from the KAPSARC open-data mirror of SAMA’s table and typically trails the calendar by about two months.
- Official website: www.sama.gov.sa
- Official rate publication: Exchange rates — KAPSARC open-data mirror
Quick start
One request for the pair you need — EUR to SAR at the official Saudi Central Bank (SAMA) rate:
curl "https://allratestoday.com/api/v1/central-bank/sama/latest?source=EUR&target=SAR" \
-H "Authorization: Bearer art_live_your_key" Or the bank's full published table:
curl "https://allratestoday.com/api/v1/central-bank/sama/latest" \
-H "Authorization: Bearer art_live_your_key" On paid plans, any historical date or a time series:
curl "https://allratestoday.com/api/v1/central-bank/sama/history?source=EUR&target=SAR&from=2025-01-01" \
-H "Authorization: Bearer art_live_your_key" Latest published rates (2026-06-30)
The most recent table as published by Saudi Central Bank (SAMA) — exactly what the /latest endpoint returns right now. Values are SAR per 1 unit of each currency:
Download this table: Excel (.xlsx) CSV (paid plan required)
One row per currency per publication date. Up to one year per download.
| Base | Quote | Type | Rate |
|---|---|---|---|
AUD | SAR | close | 2.5758671691385 |
AUD | SAR | monthly_average | 2.63205404391809 |
BRL | SAR | close | 0.724498765523559 |
BRL | SAR | monthly_average | 0.731625565702254 |
CHF | SAR | close | 4.63592688818998 |
CHF | SAR | monthly_average | 4.6936388907394 |
CNY | SAR | close | 0.552729857572648 |
CNY | SAR | monthly_average | 0.553434825178344 |
EUR | SAR | close | 4.27274636822692 |
EUR | SAR | monthly_average | 4.31918711966172 |
GBP | SAR | close | 4.96328323248097 |
GBP | SAR | monthly_average | 5.00106159149281 |
INR | SAR | close | 0.0396415765021359 |
INR | SAR | monthly_average | 0.039495523814247 |
JPY | SAR | close | 0.0231195671940353 |
JPY | SAR | monthly_average | 0.0233358383613183 |
KRW | SAR | close | 0.00243269566548509 |
KRW | SAR | monthly_average | 0.00245694424966144 |
THB | SAR | close | 0.112856213951403 |
THB | SAR | monthly_average | 0.113974409631228 |
TRY | SAR | close | 0.0805 |
TRY | SAR | monthly_average | 0.0812 |
USD | SAR | close | 3.75 |
USD | SAR | monthly_average | 3.75 |
Node.js / TypeScript client
A dedicated zero-dependency npm package wraps these endpoints — sama-exchange-rate:
npm install sama-exchange-rate import { getRate } from 'sama-exchange-rate';
const pair = await getRate('EUR', 'SAR', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date); Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.
Why use the official Saudi Central Bank (SAMA) rate?
Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in Saudi Arabia and beyond typically require the official rate published by Saudi Central Bank (SAMA) for a given date — a fixed, citable number that never changes after publication. This API serves those published tables with the bank's own rate_date on every response; weekends and holidays return the most recent published date, which is the rate compliance rules require you to apply.
Pairs the bank doesn't print directly are resolved from its table (inverse or cross via SAR) and explicitly flagged "derived": true — so what the bank printed and what was computed are never confused.
Endpoints
GET /api/v1/central-bank/sama/latest— latest table or single pair (all plans)GET /api/v1/central-bank/sama/{YYYY-MM-DD}— the table for any date (paid plans)GET /api/v1/central-bank/sama/history— time series, up to 5,000 rows (paid plans)GET /api/v1/central-bank/sama/availability— publication calendar: the dates the bank actually published (all plans)
Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once a month, so caching a published table locally makes a small quota go far.
Frequently asked questions
Is there an API for Saudi Central Bank (SAMA) exchange rates?
Yes — this one. Official monthly average SAR rates as clean JSON, latest table on every plan including free.
How often are the rates updated?
Saudi Central Bank (SAMA) publishes monthly averages — one averaged rate per calendar month, published once the month has closed; the API ingests each new table shortly after publication (latest: 2026-06-30).
Are these the official rates?
Yes — ingested from Saudi Central Bank (SAMA)'s own published data, served unmodified with the bank's publication date. Anything computed rather than published is flagged derived.
Saudi Central Bank (SAMA) rates, one API key
Latest table on every plan. History back to 2009 on paid plans. No credit card to start.
Get Free API Key Read the Docs