Один фонд
One fund's latest price and its prices over the past year (within your plan's history).
GET
https://api.geneh.app/v1/funds/{id}Від тарифу ProПараметри шляху
| Поле | Тип | Опис |
|---|---|---|
id обов'язково | string |
Відповідь
| Поле | Тип | Опис |
|---|---|---|
source | string | |
instrument | string | |
buy | number or null | |
sell | number or null | |
value | number or null | The latest unit price. |
currency | string | |
unit | number | |
updated_at | string | |
details | object | |
history | object[] | |
history[].at | string | |
history[].value | number or null |
Помилки
| 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. |