---
title: "Safa Bank Exchange Rate API: ILS Buy and Sell Rates as JSON"
description: "Safa Bank's counter board (shekel pairs) rates for 3 currencies against the Israeli new shekel, read hourly from the bank's own page and served as JSON with the Palestine Monetary Authority official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/safa-bank-exchange-rate-api/
source: AllRatesToday (https://allratestoday.com/) — Markdown mirror of the page above; index of all pages at https://allratestoday.com/llms.txt
generated: 2026-11-15T19:05:02.117Z
---

Safa Bank is a Palestinian Islamic bank based in Ramallah. Its exchange-rate page lists buy and sell rates in shekels for the US dollar, the Jordanian dinar and the euro. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Palestine Monetary Authority official rate and with other banks in Palestine, and the calls that return them.

## What the Safa Bank board shows

- **3 currencies against the Israeli new shekel**: EUR, JOD and USD. Every value is ILS per 1 unit of the foreign currency.
- **The counter board (shekel pairs) pair.** Palestine has no currency of its own: banks hold accounts in the Israeli shekel, the Jordanian dinar and the US dollar, and their boards quote each of these as a pair (USD/ILS, JOD/ILS, USD/JOD). Shekel-priced pairs are shown here. The Palestine Monetary Authority official rate is shown next to each row.
- **USD on 15 November 2026**: Safa Bank bought at 3.15 and sold at 3.203 ILS, a spread of 1.67%. The Palestine Monetary Authority official rate was 3.1802, so the bank's mid sat -0.12% from it.
- **The bank's own timestamp.** The page prints a last-updated stamp (`2026-11-12` on the board above), returned as `bank_updated_at` next to our `captured_at`.
- **Every day's board is kept permanently, from 12 November 2026.** Read one past day with `?date=`, or a range for one currency with the `/history` endpoint (paid plans).

## Spreads across the board

On the 15 November 2026 board the spreads were JOD 1.67%, USD 1.67%, EUR 1.67%. Spread is (sell − buy) ÷ mid: what a round trip through the bank costs, before any fees. The API returns it on every row as `spread_pct`, so you can rank currencies or alert when a bank widens its board.

## USD at Safa Bank and other banks in Palestine

USD on the 2 boards AllRatesToday reads in Palestine, all captured on 15 November 2026 (the Palestine Monetary Authority official rate was 3.1802):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| **Safa Bank** | 3.15 | 3.203 | 1.67% | -0.12% |
| Palestine Islamic Bank | 3.162 | 3.233 | 2.22% | +0.54% |

Safa Bank had the narrowest USD spread of the 2. One call to `/api/v1/bank-rates/ps` returns every board in the table at once.

## Get the board (REST)

You need an API key; the [free key](https://allratestoday.com/register/) works. The full board:

```
curl "https://allratestoday.com/api/v1/bank-rates/ps/safaps" \
  -H "Authorization: Bearer art_live_your_key"
```

What comes back (the 15 November 2026 board, first three rows):

```
{
  "bank": "safaps",
  "name": "Safa Bank",
  "country": "ps",
  "quote_ccy": "ILS",
  "bank_updated_at": "2026-11-12",
  "basis": "Counter board (shekel pairs)",
  "captured_at": "2026-11-15T11:53:35.529Z",
  "rates": [
    {"ccy":"EUR","buy":3.49,"sell":3.5488,"mid":3.5194,"spread_pct":1.671,"official":3.523,"vs_official_pct":-0.102},
    {"ccy":"JOD","buy":4.4492,"sell":4.524,"mid":4.4866,"spread_pct":1.667,"official":4.4918,"vs_official_pct":-0.116},
    {"ccy":"USD","buy":3.15,"sell":3.203,"mid":3.1765,"spread_pct":1.669,"official":3.1802,"vs_official_pct":-0.116}
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

One currency, with the row fields at the top level:

```
curl "https://allratestoday.com/api/v1/bank-rates/ps/safaps?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"
```

```
{
  "bank": "safaps",
  "name": "Safa Bank",
  "country": "ps",
  "quote_ccy": "ILS",
  "bank_updated_at": "2026-11-12",
  "basis": "Counter board (shekel pairs)",
  "captured_at": "2026-11-15T11:53:35.529Z",
  "ccy": "USD",
  "buy": 3.15,
  "sell": 3.203,
  "mid": 3.1765,
  "spread_pct": 1.669,
  "official": 3.1802,
  "vs_official_pct": -0.116,
  "disclaimer": "Retail buy/sell rates as displayed on each bank’s own website at capture time, quoted as home currency per 1 unit of foreign currency. Indicative only: banks change these through the day, apply them at the counter or in-app, and they are not official or reference rates. For the rate a regulation names, use the central-bank endpoints.",
  "attribution": {
    "source": "Board rates published by Safa Bank on its own website, collected by AllRatesToday",
    "bank_url": "https://www.safabank.ps/ar/Article/91/%D8%A3%D8%B3%D8%B9%D8%A7%D8%B1-%D8%A7%D9%84%D8%B5%D8%B1%D9%81",
    "url": "https://allratestoday.com/bank-exchange-rate-api/ps/safaps/",
    "terms": "Public pages that show the rates need a visible link to allratestoday.com"
  }
}
```

The board as it stood on a past day:

```
curl "https://allratestoday.com/api/v1/bank-rates/ps/safaps?date=2026-11-12" \
  -H "Authorization: Bearer art_live_your_key"
```

One currency over a date range, one row per day (paid plans; add `&format=csv`, `xml` or `xlsx` for a file):

```
curl "https://allratestoday.com/api/v1/bank-rates/ps/safaps/history?ccy=USD&from=2026-11-12&to=2026-11-15" \
  -H "Authorization: Bearer art_live_your_key"
```

## JavaScript

```
npm install @allratestoday/sdk
```

```
import { AllRatesToday } from '@allratestoday/sdk';

const client = new AllRatesToday({ apiKey: 'art_live_your_key' });

// Safa Bank's USD row
const r = await client.bankRates('ps', { bank: 'safaps', ccy: 'USD' });
console.log(`Safa Bank buys USD at ${r.buy}, sells at ${r.sell} ILS`);

// The board as it stood on a past day
const past = await client.bankRates('ps', { bank: 'safaps', date: '2026-11-12' });
console.log(past.snapshot_date, past.rates.length);
```

## Python

```
import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/ps/safaps",
    headers={"Authorization": "Bearer art_live_your_key"},
    timeout=10,
)
r.raise_for_status()
for row in r.json()["rates"]:
    print(row["ccy"], row["buy"], row["sell"], row["spread_pct"])
```

## Board rate or official rate?

The Palestine Monetary Authority rate is the one tax, accounting and customs rules in Palestine name; nobody transacts at it. Safa Bank's board is the price a customer actually gets. The API puts both on every row: `official` is the central bank's rate for the same currency and `vs_official_pct` is how far the bank's mid sits from it. Use the board to show customers a real price, compare banks for a remittance, or keep a dated record of what the bank quoted; use the [Palestine Monetary Authority endpoint](https://allratestoday.com/central-bank-rates-api/pma/) when a rule asks for the official rate.

## FAQ

### Where do the Safa Bank rates come from?

From the bank's own public rates page (https://www.safabank.ps/ar/Article/91/%D8%A3%D8%B3%D8%B9%D8%A7%D8%B1-%D8%A7%D9%84%D8%B5%D8%B1%D9%81), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Safa Bank shows, with the mid, the spread and the Palestine Monetary Authority rate added.

### Are these the official ILS exchange rates?

No. They are Safa Bank's retail prices for customers. The official rate in Palestine is the Palestine Monetary Authority rate, which the API returns as `official` on each row where the central bank has one, and in full from the central-bank endpoint.

### How often is the Safa Bank board updated?

AllRatesToday reads the page every hour. The bank's own last-updated stamp is returned as `bank_updated_at`, so you can tell a fresh read of an unchanged board from a new board.

### Can I get Safa Bank rates for a past date?

Yes, from 12 November 2026 onward; every day's board is kept permanently. Add `?date=YYYY-MM-DD` for one day: the response is the board captured that day, or the nearest earlier day within five days, with `date_requested` and `snapshot_date` added. For a range, `/history?ccy=USD&from=…&to=…` returns one row per day as JSON, CSV, XML or XLSX on paid plans.

### Do I need an API key?

Yes. Commercial bank boards need an API key; any plan works, the free key included, and each call counts against the plan. Public pages or widgets that show the rates need a visible link to allratestoday.com.

## Safa Bank rates, as JSON

Free API key, hourly board captures, the official rate alongside.

 [Get your free API key](https://allratestoday.com/register/)

## Related

- [Safa Bank live board rates](https://allratestoday.com/bank-exchange-rate-api/ps/safaps/)
- [All banks in Palestine side by side](https://allratestoday.com/bank-exchange-rate-api/ps/)
- [Palestine Monetary Authority official rates API](https://allratestoday.com/central-bank-rates-api/pma/)
- [Palestine Islamic Bank exchange rate API guide](https://allratestoday.com/blog/palestine-islamic-bank-exchange-rate-api/)
- [Every bank exchange rate API guide, by country](https://allratestoday.com/blog/bank-exchange-rate-api-guides/)
- [Commercial bank rates API: every bank and country](https://allratestoday.com/bank-exchange-rate-api/)
