Una valuta
One currency at every bank in Egypt, the Central Bank rate, and the best bank to buy from and to sell to.
GET
https://api.geneh.app/v1/rates/{currency}Dal piano FreeParametri di percorso
| Campo | Tipo | Descrizione |
|---|---|---|
currency obbligatorio | string | Three-letter currency code in any case. |
Risposta
| Campo | Tipo | Descrizione |
|---|---|---|
currency | string | |
unit | number | Prices are EGP for this many units. |
updated_at | string | |
cbe | object or null | The Central Bank rate, a reference that is never ranked. |
cbe.buy | number or null | |
cbe.sell | number or null | |
cbe.updated_at | string | |
best | object | `sell`: the cheapest bank to buy from. `buy`: the bank that pays the most. |
best.sell | object or null | |
best.sell.bank | string | |
best.sell.rate | number or null | |
best.buy | object or null | |
best.buy.bank | string | |
best.buy.rate | number or null | |
banks | object[] | |
banks[].bank | string | |
banks[].provider | string | |
banks[].buy | number or null | |
banks[].sell | number or null | |
banks[].transfer | object | The transfer (non-cash) rate when the bank publishes a different one. |
banks[].transfer.buy | number or null | |
banks[].transfer.sell | number or null | |
banks[].unit | number | |
banks[].updated_at | string | When this price last changed. |
banks[].checked_at | string | When we last checked it. |
Errori
| 400 | Something in the request is wrong. The message says what. |
| 401 | missing_key, bad_key or wrong_environment. |
| 404 | We have nothing for this. |
| 429 | too_fast (per second), quota_exceeded (per day, resets at midnight UTC) or blocked (too many wrong keys). Wait Retry-After seconds. |