API
Developers > API
Last updated
Developers > API
Last updated
For authentication, users need to use the Bearer authentication scheme by adding the following header to their request: Authorization -> Bearer <token>
.
To request full access to the APIs please fill out this form.
Idle's smart contracts are deployed on multiple networks, hence users should use the appropriate endpoint to retrieve the information needed
Ethereum https://api.idle.finance
Polygon zkEVM https://api-zkevm.idle.finance
Optimism https://api-optimism.idle.finance
GET
api.idle.finance
return all the network pools for both Best Yield and Yield Tranches vaults.
Name | Type | Description |
---|---|---|
GET
api.idle.finance
return the total value locked (TVL) per underlying token.
GET
api.idle.finance
return historical daily data for Best Yield vaults in a given calendar range.
The query string params are:
start
: filter results from a specific timestamp
end
: filter results to a specific timestamp
isRisk
(true/false): if true returns only results for risk-adjusted strategy (deprecated), if false returns only results for Best Yield vaults
frequency
: seconds between two records
order
(asc/desc): order results by timestamp
limit
: limit results
Return historical daily data for the Best Yield DAI vault from 22 July 2020 to 24 July 2020 in descending order.
Return the latest data for Best Yield DAI vault.
Return the available Yield Tranches on Polygon zkEVM
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
<token>*
Authentication using Bearer token
<token>*
String
Authentication using Bearer token
<address>*
String
Underlying token address
<params>
String
Params to filter data
frequency
86400
Seconds in one day
<token>*
String
Authentication using Bearer token