Get a single strategy overview

Returns full state and metadata for one maker strategy identified by chain, maker, application, and strategy hash.

GEThttps://api.1inch.com/aqua/v1.0/strategies/overview/{chainId}/{maker}/{app}/{strategyHash}
Supported on:
EthereumBaseBNB ChainArbitrumAvalancheZKsyncGnosisOptimismPolygonLineaSonicUnichainRobinhood Chain

Parameters

chainId
* number (Enum)path
maker
* string path
app
* string path
strategyHash
* string path

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/overview/{chainId}/{maker}/{app}/{strategyHash}';

  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

StrategyOverviewResponseDto object
strategyBytes
* string
strategyBytesOmittedReason
* string (Enum)
SIZE_EXCEEDS_LIMIT
strategyBytesSize
* number
tokens
* array
items
StrategyOverviewTokenDto object
address
* string
meta
* object
allOf[0]
TokenMetaDto object
decimals
* number
symbol
* string
name
* string
logoURI
string
initialBalance
* any
allOf[0]
TokenInitialBalanceDto object
raw
* string
usd
* number
currentBalance
* any
allOf[0]
TokenCurrentBalanceDto object
raw
* string
usd
* number
wallet
* any
allOf[0]
WalletDto object
balance
* any
allOf[0]
WalletBalanceDto object
raw
* string
usd
* number
allowance
* string
decimals
* number
returnedAmount
* object
allOf[0]
TokenReturnedAmountDto object
raw
* string
usd
* number
status
* string (Enum)
open
closed
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
classification
* any
allOf[0]
StrategyOverviewClassificationDto object
type
* string (Enum)
concentrated
pegged
xyc
unknown
state
* string (Enum)
active
illiquidity
closed
feePercent
* number
openedAt
* number
closedAt
* number
priceRange
* object
allOf[0]
PriceRangeDto object
min
* string
max
* string
minUsd
* number
maxUsd
* number
quoteSymbol
* string
openingPrice
* object
allOf[0]
OpeningPriceDto object
value
* string
usd
* number
quoteSymbol
* string
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
  "strategyBytes": "0x0000000000000000000000001234...",
  "strategyBytesOmittedReason": "SIZE_EXCEEDS_LIMIT",
  "strategyBytesSize": 128,
  "tokens": [
    {
      "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "meta": {
        "decimals": 18,
        "symbol": "USDC",
        "name": "USD Coin",
        "logoURI": "https://tokens.1inch.io/0xa0b86991.png"
      },
      "initialBalance": {
        "raw": "1000000000000000000",
        "usd": 1234.56
      },
      "currentBalance": {
        "raw": "500000000000000000",
        "usd": 617.28
      },
      "wallet": {
        "balance": {
          "raw": "500000000000000000",
          "usd": 617.28
        },
        "allowance": "500000000000000000"
      },
      "decimals": 18,
      "returnedAmount": {
        "raw": "1000000000000000000",
        "usd": 1234.56
      }
    }
  ],
  "status": "open",
  "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
      }
    }
  },
  "classification": {
    "type": "concentrated",
    "state": "active",
    "feePercent": 0.05
  },
  "openedAt": 1705312800,
  "closedAt": null,
  "priceRange": {
    "min": "1234.56",
    "max": "5678.90",
    "minUsd": 1800,
    "maxUsd": 1900,
    "quoteSymbol": "USDC"
  },
  "openingPrice": {
    "value": "2345.67",
    "usd": 1893,
    "quoteSymbol": "USDC"
  }
}

Did you find what you need?