List a strategy's recent trades
Returns the trades settled against one strategy, newest first and paged by `cursor`. With `market=1`, a 1inch Aqua range returns the trades of its whole market.
Authorization
ApiKeyAuth Your API key. Authorizing a swap or opening a market takes a key issued to your integration, and the shared key the docs fill in reads and quotes only.
In: header
Path Parameters
The chain's numeric id, for example 8453 for Base. GET /api/vaults/chains lists them.
The strategy id, as a decimal uint256 or as 32-byte hex. A Uniswap V4 strategy's id is its pool id.
Query Parameters
The previous page's nextCursor. A block timestamp in seconds also works and returns the rows older than it.
1 returns the trades of every range in this 1inch Aqua range's market.
Rows per page, 0 to 200, default 15, and a 400 outside that range. 0 needs stats=true and returns the stats alone.
aqua keeps the rows a 1inch Aqua venue settled, so a page can be short, and v4 returns the Uniswap V4 pool's swaps that used Aqua0 liquidity, one row per swap. When omitted, every settlement row is listed.
With venue=v4, set to true to add stats: the swap count and per-token volume over windowSeconds.
A trailing window in seconds, 1 to 2592000 (30 days), or all. With stats=true only, and every swap counts when omitted.
Response Body
application/json
application/json
curl -X GET "https://example.com/api/vaults/strategies/1/string/trades"{ "chainId": 8453, "strategyId": "38960560214548620419581884607967218229413556116830054641371650059665611327033", "trades": [ { "timestamp": 1791928941, "source": "v4", "venueKind": "v4", "type": "swap-out", "netToStrategy": null, "amount0": "399999999999998", "amount1": "997878", "token0": "0x4200000000000000000000000000000000000006", "token1": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "underlyingAsset": null, "underlyingSymbol": null, "usd": 0.997878, "vaultOrAdapter": "0x5aef2c787afc743d20fd632d66391b2ccd5c68c0", "venue": "0x5aef2c787afc743d20fd632d66391b2ccd5c68c0", "wallet": "0x4444444444444444444444444444444444444444", "walletKnown": true, "txHash": "0xb04c0f11826277f6f64c97ac92257afa6f8646ca56835eab163f680c45ebe426" }, { "timestamp": 1791928941, "source": "venue", "venueKind": "v4", "type": "venue-settle", "netToStrategy": "399759999999999", "amount0": null, "amount1": null, "token0": null, "token1": null, "underlyingAsset": "0x4200000000000000000000000000000000000006", "underlyingSymbol": "WETH", "usd": 0.9781678587599344, "vaultOrAdapter": "0x256218a93992256f47c4735e1fc070d90eaea263", "venue": "0x5aef2c787afc743d20fd632d66391b2ccd5c68c0", "wallet": "0x4444444444444444444444444444444444444444", "walletKnown": true, "txHash": "0xb04c0f11826277f6f64c97ac92257afa6f8646ca56835eab163f680c45ebe426" } ], "nextCursor": "eyJqc29uIjp7InRpbWVzdGFtcCI6IjE3OTE5Mjg4NDkiLCJpZCI6IjB4MWJhZmI4OTQwMzYxYTFmNTU1ZTIxMDVhYTQyZDliMDljY2E4ZDVmZTFiMzc2NzU4ZWQ2NzU5MTRhNDJiOGZiMi00MSJ9fQ"}{ "error": "string", "code": "string", "message": "string", "details": {}, "requestId": "string"}