GET /strategies/:id
🔹 Get Strategy Details
🌐 Endpoint
GET https://client.deframe.io/v1/strategies/:id
📝 Overview
Retrieve detailed information about a specific strategy, including current rates, terms, and conditions.
🔑 Authentication
This API requires authentication using an API key. Include your API key in the request headers:
x-api-key: YOUR_API_KEY📋 Path Parameters
id
string
Unique identifier for strategy
Aave-USDT-polygon
📦 Response
Returns a JSON object containing:
data: Strategy object 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 tokenisActive: Boolean indicating if strategy is currently activefee: Strategy fee percentagemetadata: Object containing localized risk, volatility and description informationlogourl: URL for the token logo imagespotPosition: Current market position informationapy: Current annual percentage yieldinceptionApy: APY at strategy inceptionavgApy: Average APY since inception
marketConditions: Current market metricsmaxLTV: Maximum loan-to-value ratioliquidationThreshold: Threshold for liquidationavailableLiquidity: Available liquidity in the pool
Example Response:
❌ Error Responses
401
Unauthorized - Invalid or missing API key
404
Strategy not found
429
Too many requests - Rate limit exceeded
500
Internal server error
Example Error Response:
Last updated