Yam Endpoints
Last updated
Last updated
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.
GET
https://api.yam.finance/price
Example https://api.yam.finance/price
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
Name | Type | Description |
---|---|---|
GET
https://api.yam.finance/treasury
Example https://api.yam.finance/treasury
GET
https://api.yam.finance/apr
Example https://api.yam.finance/apr
{start-date}*
Range start date
{end-date}*
String
Range end date