Yam Endpoints
You can send requests to the yam API for accessing data we have on various yam projects. Check the endpoints sections below to know more about what exists and is maintained on the API. In the future we will require an API key for special requests access, check back later for that!
Questions? feel free to send us a message on the telegram channel.
Token Price
Get Yam token price.
GET
https://api.yam.finance/price
Example https://api.yam.finance/price
Token Price Average
Get Yam token average price from a range of dates.
GET
https://api.yam.finance/price-avg/{start-date}/{end-date}
Example https://api.yam.finance/price-avg/2022-06-01/2022-07-01
Accessible at https://yam.finance/#/values
Path Parameters
Name | Type | Description |
---|---|---|
{start-date}* | Range start date | |
{end-date}* | String | Range end date |
Yam Treasury
Get treasury assets, assets balances and their values.
GET
https://api.yam.finance/treasury
Example https://api.yam.finance/treasury
Yam Farm APR
Get Farm LP APR.
GET
https://api.yam.finance/apr
Example https://api.yam.finance/apr
Last updated