概要
Active and closed strategies for a wallet, each with a live valuation,
realized APY, fee/rebalance rollups, and a positions[] array. USDC
values are decimal dollars.
Endpoint
GET https://earn-api.quicknode.dev/functions/v1/api/v1/strategies
Authorization
Include the published apikey header. This read request is public and does not require a SIWE signature.
パラメータ
| Parameter | 場所 | 種類 | Required | 説明 |
|---|---|---|---|---|
| wallet | クエリ | 文字列 | はい | Owner wallet address. |
Example request
curl --request GET \
--url 'https://earn-api.quicknode.dev/functions/v1/api/v1/strategies?wallet=0x1234567890abcdef1234567890abcdef12345678' \
--header 'Accept: application/json' \
--header 'apikey: <EARN_PUBLIC_API_KEY>'
回答
| Field | 種類 | Required | 説明 |
|---|---|---|---|
| strategies | array<object> | はい | Active and in-progress strategies owned by the wallet. |
| closedStrategies | array<object> | はい | Closed strategies owned by the wallet. |
| strategies[].id | 文字列 | はい | Strategy UUID. |
| strategies[].wallet_address | 文字列 | はい | Lowercased owner address. |
| strategies[].name | 文字列 | はい | Strategy name. |
| strategies[].capital_usdc | 番号 | はい | Configured capital in decimal US dollars. |
| strategies[].delta_pct | 番号 | はい | Same-chain APY threshold in percentage points. |
| strategies[].cross_chain_delta_pct | 番号 | いいえ | Cross-chain APY threshold; `0` inherits `delta_pct`. |
| strategies[].delta_confirmations | 整数 | はい | Required consecutive threshold confirmations. |
| strategies[].max_positions | 整数 | はい | Maximum vault positions. |
| strategies[].min_tvl_usd | 番号 | はい | Minimum vault TVL in decimal US dollars. |
| strategies[].min_liquidity_usd | 番号 | はい | Minimum vault liquidity in decimal US dollars. |
| strategies[].min_liquidity_entry_multiplier | 番号 | はい | Liquidity multiplier for new entries. |
| strategies[].chain_id | 整数 | はい | Legacy primary chain ID. |
| strategies[].chain_ids | string | null | はい | Comma-separated authoritative chain IDs. |
| strategies[].apy_smoothing_minutes | 整数 | はい | APY smoothing window in minutes. |
| strategies[].hidden_vault_keys | array<string> | はい | Vault keys hidden from the strategy. |
| strategies[].status | 文字列 | はい | Strategy lifecycle status. |
| strategies[].active | ブール値 | はい | Whether the strategy is active. |
| strategies[].created_at | 文字列 | はい | Creation timestamp. |
| strategies[].updated_at | 文字列 | はい | Last-update timestamp. |
| strategies[].first_deposit_at | string | null | はい | First-deposit timestamp. |
| strategies[].deactivated_at | string | null | はい | Deactivation timestamp. |
| strategies[].final_value_usdc | number | null | はい | Final strategy value in decimal US dollars. |
| strategies[].final_realized_apy | number | null | はい | Final realized APY percentage. |
| strategies[].covered | ブール値 | いいえ | Whether the strategy uses OpenCover coverage. |
| strategies[].coverage_activated_at | string | null | いいえ | Coverage activation timestamp. |
| strategies[].total_value_usdc | 番号 | はい | Live position value in decimal US dollars. |
| strategies[].pending_bridge_value_usdc | 番号 | はい | Value in pending bridges. |
| strategies[].pending_bridges_count | 整数 | はい | Pending bridge count. |
| strategies[].net_value_usdc | 番号 | はい | Live value plus pending bridge value. |
| strategies[].realized_apy | number | null | はい | Annualized realized APY percentage. |
| strategies[].live_apy | number | null | いいえ | Five-minute value-weighted position APY. |
| strategies[].strategy_apy | number | null | いいえ | Value-weighted APY at the configured smoothing window. |
| strategies[].positions | array<object> | はい | Live-valued vault positions. |
| strategies[].positions[].id | 文字列 | はい | Position identifier. |
| strategies[].positions[].strategy_id | string | null | いいえ | Owning strategy UUID. Present only on list responses. |
| strategies[].positions[].vault_name | string | null | はい | Vault display name, or null when unavailable. |
| strategies[].positions[].vault_address | 文字列 | はい | Vault contract address. |
| strategies[].positions[].protocol | string | null | はい | Vault protocol name, or null when unavailable. |
| strategies[].positions[].chain_id | 整数 | いいえ | Chain where the vault is deployed. Absent on closed-strategy list positions. |
| strategies[].positions[].shares_raw | string | null | はい | Raw ERC-4626 share balance. |
| strategies[].positions[].usdc_value | 番号 | はい | Position value in decimal US dollars. |
| strategies[].positions[].entry_apy | 番号 | はい | APY percentage at entry. |
| strategies[].positions[].initial_usd_value | number | null | いいえ | USDC deposited into the position, in decimal dollars. Absent on closed-strategy list positions. |
| strategies[].positions[].paused | ブール値 | いいえ | Whether the position is paused. Absent on closed positions. |
| strategies[].rebalance_count | 整数 | はい | Completed rebalance count. |
| strategies[].total_fees_usdc | 番号 | はい | Total fees in decimal US dollars. |
Example response
This abbreviated response uses synthetic wallet and strategy data:
{
"strategies": [
{
"id": "b7c1e2d3-0000-4000-8000-000000000001",
"wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
"name": "My USDC Strategy",
"capital_usdc": 1000,
"chain_ids": "8453,42161",
"status": "active",
"positions": [
{
"vault_name": "Seamless USDC Vault",
"chain_id": 8453,
"usdc_value": 600.25
}
]
}
],
"closedStrategies": [
{
"id": "c8d2f1a4-0000-4000-8000-000000000002",
"name": "Closed USDC Strategy",
"status": "closed"
}
]
}
HTTP responses
| ステータス | 説明 |
|---|---|
| 200 | The wallet's active and closed strategies. |
| 400 | Missing or invalid `wallet` address. |
| 429 | Rate limit exceeded. `Retry-After` (seconds) tells you when to retry. Reads, feedback, and push writes are keyed per IP; create/update/delete are keyed per wallet+IP; deposit/withdraw/claim calldata is keyed per strategy+IP. |
| 500 | Internal server error. |
OpenAPI source
This page is based on operation listStrategies in the Earn OpenAPI 3.1 specification.