Skip to main content
GET
/
strategies
/
{id}
Get strategy details
curl --request GET \
  --url https://api.deframe.io/strategies/{id} \
  --header 'x-api-key: <api-key>'
{
  "_id": "507f1f77bcf86cd799439011",
  "name": "Aave USDC Lending",
  "slug": "aave-usdc-lending",
  "protocol": "Aave",
  "network": "ethereum",
  "asset": {
    "symbol": "USDC",
    "contract": "0xb794F5eA0ba39494cE839613fffBA74279579268",
    "decimals": 6
  },
  "paused": false,
  "apy": 0.0525,
  "grossAPY": 0.0525,
  "netAPY": 0.0498,
  "tvl": "1000000000"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain from your Deframe dashboard.

Path Parameters

id
string
required

Strategy ID or slug

Response

Strategy details retrieved

DeFi yield strategy details

_id
string
required
Example:

"507f1f77bcf86cd799439011"

name
string
required
Example:

"Aave USDC Lending"

slug
string
required
Example:

"aave-usdc-lending"

protocol
string
required
Example:

"Aave"

network
string
required
Example:

"ethereum"

asset
object
required
paused
boolean
required
Example:

false

apy
number

Current APY as a decimal (e.g. 0.0525 = 5.25%). This is the base protocol rate before any fee adjustments.

Example:

0.0525

grossAPY
number | null

APY before performance fees are deducted, as a decimal. May be null when not applicable.

Example:

0.0525

netAPY
number | null

APY after performance fees are deducted, as a decimal. May be null when not applicable.

Example:

0.0498

tvl
string

Total Value Locked

Example:

"1000000000"