GET /strategies
🔹 Get All Strategies
🌐 Endpoint
GET https://client.deframe.io/v1/strategies
📝 Overview
Retrieve a list of all available lending strategies across different protocols and networks.
🔑 Authentication
This API requires authentication using an API key. Include your API key in the request headers:
x-api-key: YOUR_API_KEY📦 Response
Returns a JSON object containing:
data: Array of strategy objects with the following properties:protocol: The lending protocol (e.g. "Aave")asset: Contract address of the strategy assetassetName: Token symbol (e.g. "USDT", "DAI")network: Network name (e.g. "polygon", "gnosis")networkId: Network chain IDimplementationSelector: Protocol implementation identifierstartDate: Strategy launch dateunderlyingAsset: Contract address of the underlying tokenassetDecimals: Number of decimals for the strategy assetunderlyingDecimals: Number of decimals for the underlying tokenid: Unique strategy identifierfee: Strategy fee percentagemetadata: Object containing localized risk, volatility and description informationlogourl: URL for the token logo image
pagination: Object containing pagination details:totalRecords: Total number of recordsoffset: Current offsetlimit: Records per pagetotalPages: Total number of pagespage: Current page numberhasPrevPage: Whether previous page existshasNextPage: Whether next page existsprevPage: Previous page numbernextPage: Next page number
Example Response:
{
"data": [
{
"protocol": "Aave",
"asset": "0x6ab707Aca953eDAeFBc4fD23bA73294241490620",
"assetName": "USDT",
"network": "polygon",
"networkId": "137",
"implementationSelector": "AavePolygon",
"startDate": "2022-03-11T13:42:00.000Z",
"underlyingAsset": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
"assetDecimals": 6,
"underlyingDecimals": 6,
"id": "Aave-USDT-polygon",
"fee": "10",
"metadata": {
"PT": {
"risk": "baixo",
"volatility": "baixo",
"description": "Protocol Description"
},
"EN": {
"risk": "low",
"volatility": "low",
"description": "Protocol Description"
}
},
"logourl": "logourl.png"
}
],
"pagination": {
"totalRecords": 5,
"offset": 0,
"limit": 10,
"totalPages": 1,
"page": 1,
"hasPrevPage": false,
"hasNextPage": false,
"prevPage": null,
"nextPage": null
}
}Last updated