Aqua0
API ReferenceStrategies

Get one strategy's stats summary

Returns just the stats summary for one strategy (swap count, fees, backing LP count, deployed balance, net venue settlement, last swap time), aggregated across its vault legs. USD/APY/volume stats have no native source yet and are reported null (see the `unavailable` block).

GET
/api/vaults/strategies/marketplace/{chainId}/{strategyId}/stats

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Path Parameters

chainId*string

Numeric ID of the chain to query or act on.

strategyId*string

The strategy's numeric class ID within Aqua0's vaults.

Response Body

application/json

curl -X GET "https://example.com/api/vaults/strategies/marketplace/string/string/stats"
{  "chainId": 0,  "strategyId": "string",  "fleetLive": true,  "stats": {    "totalSwaps": 0,    "totalAquaSwaps": 0,    "totalFees": "string",    "activeMakers": 0,    "totalVirtualBalance": "string",    "netSettledToStrategy": "string",    "lastSwapTimestamp": 0,    "totalVolumeIn": null,    "totalVolumeOut": null  },  "unavailable": {    "fields": [      "string"    ],    "reason": "string"  }}
Empty