Kursverlauf
Buy and sell over time for the Central Bank (default) or one bank. `1d` has a point for every change, `1w` one an hour, longer ranges one a day. Your plan sets how far back you can go.
GET
https://api.geneh.app/v1/rates/{currency}/historyAb dem Free-TarifPfadparameter
| Feld | Typ | Beschreibung |
|---|---|---|
currency Pflicht | string | Three-letter currency code in any case. |
Abfrageparameter
| Feld | Typ | Beschreibung |
|---|---|---|
range | string | One of 1d, 1w, 1m, 1y, all. Default 1m. |
bank | string | A bank id from /v1/banks, or cbe. Default cbe. |
Antwort
| Feld | Typ | Beschreibung |
|---|---|---|
instrument | string | |
source | string | |
range | string | |
interval | string | |
points | object[] | |
points[].at | string | |
points[].buy | number or null | |
points[].sell | number or null |
Fehler
| 400 | Something in the request is wrong. The message says what. |
| 401 | missing_key, bad_key or wrong_environment. |
| 403 | plan_required: this section or this much history needs a higher plan. key_restricted: the key is limited to other websites or addresses. |
| 404 | We have nothing for this. |