Aggregated maker stats across all strategies

Returns liquidity, strategy counts, and performance metrics for the maker address, optionally filtered by chain. Fees, volume and APY cover every strategy ever opened, closed ones included; liquidity and counts cover the currently open positions

GEThttps://api.1inch.com/aqua/v1.0/strategies/makers/{address}/stats
Supported on:
EthereumBaseBNB ChainAvalancheZKsyncGnosisOptimismPolygonLineaSonicUnichainRobinhoodArbitrum

Parameters

address
* string path
chainId
array query

Request Body

This request doesn’t have any request body.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const axios = require('axios');

async function httpCall() {
  const url =
    'https://api.1inch.com/aqua/v1.0/strategies/makers/{address}/stats';

  const config = {
    headers: {
      Authorization: `Bearer ${API_KEY}`,
    },
    params: {},
    paramsSerializer: {
      indexes: null,
    },
  };

  try {
    const response = await axios.get(url, config);
    console.log(response.data);
  } catch (error) {
    console.error(error);
  }
}

Returns

200
GetMakerStatsResponseDto object
liquidity
* any
allOf[0]
LiquidityDto object
shared
* any
allOf[0]
LiquidityUsdDto object
usd
* number
pullable
* any
allOf[0]
LiquidityUsdDto object
usd
* number
wallet
* any
allOf[0]
LiquidityUsdDto object
usd
* number
strategies
* any
allOf[0]
StrategiesCountDto object
open
* number
active
* number
chains
* array
items
number
performance
* any
allOf[0]
PerformanceDto object
fees
* any
allOf[0]
PerformanceFeesDto object
total
* any
allOf[0]
PerformanceFeesPeriodDto object
usd
* number
apy
* number
last24h
* any
allOf[0]
PerformanceFeesPeriodDto object
usd
* number
apy
* number
last7d
* any
allOf[0]
PerformanceFeesPeriodDto object
usd
* number
apy
* number
last30d
* any
allOf[0]
PerformanceFeesPeriodDto object
usd
* number
apy
* number
last90d
* any
allOf[0]
PerformanceFeesPeriodDto object
usd
* number
apy
* number
last180d
* any
allOf[0]
PerformanceFeesPeriodDto object
usd
* number
apy
* number
volume
* any
allOf[0]
PerformanceVolumeDto object
total
* any
allOf[0]
PerformanceVolumePeriodDto object
usd
* number
last24h
* any
allOf[0]
PerformanceVolumePeriodDto object
usd
* number
last7d
* any
allOf[0]
PerformanceVolumePeriodDto object
usd
* number
last30d
* any
allOf[0]
PerformanceVolumePeriodDto object
usd
* number
last90d
* any
allOf[0]
PerformanceVolumePeriodDto object
usd
* number
last180d
* any
allOf[0]
PerformanceVolumePeriodDto object
usd
* number
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
  "liquidity": {
    "shared": {
      "usd": 12345.67
    },
    "pullable": {
      "usd": 12345.67
    },
    "wallet": {
      "usd": 12345.67
    }
  },
  "strategies": {
    "open": 12,
    "active": 12
  },
  "chains": [1, 137],
  "performance": {
    "fees": {
      "total": {
        "usd": 12.23,
        "apy": 10.25
      },
      "last24h": {
        "usd": 12.23,
        "apy": 10.25
      },
      "last7d": {
        "usd": 12.23,
        "apy": 10.25
      },
      "last30d": {
        "usd": 12.23,
        "apy": 10.25
      },
      "last90d": {
        "usd": 12.23,
        "apy": 10.25
      },
      "last180d": {
        "usd": 12.23,
        "apy": 10.25
      }
    },
    "volume": {
      "total": {
        "usd": 25271
      },
      "last24h": {
        "usd": 25271
      },
      "last7d": {
        "usd": 25271
      },
      "last30d": {
        "usd": 25271
      },
      "last90d": {
        "usd": 25271
      },
      "last180d": {
        "usd": 25271
      }
    }
  }
}

Did you find what you need?