Get user positions
get
Authorizations
Path parameters
userAddressstringRequiredPattern:
^0x[a-fA-F0-9]{40}$
Query parameters
apyIntervalstring · enumOptionalDefault:
7day
Possible values: Responses
200
Default Response
application/json
301
Default Response
application/json
get
GET //v1/portfolio/positions/{userAddress} HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
{
"mainnet": [
{
"vaultAddress": "text",
"protocolName": "text",
"protocolLogo": "https://example.com",
"vaultName": "text",
"balanceUsd": "text",
"balanceNative": "text",
"balanceLp": "text",
"unclaimedUsd": "text",
"unclaimedNative": "text",
"apy": {
"base": 1,
"rewards": 1,
"total": 1
},
"asset": {
"name": "text",
"assetAddress": "text",
"assetCaip": "text",
"symbol": "text",
"decimals": 1
}
}
],
"arbitrum": [
{
"vaultAddress": "text",
"protocolName": "text",
"protocolLogo": "https://example.com",
"vaultName": "text",
"balanceUsd": "text",
"balanceNative": "text",
"balanceLp": "text",
"unclaimedUsd": "text",
"unclaimedNative": "text",
"apy": {
"base": 1,
"rewards": 1,
"total": 1
},
"asset": {
"name": "text",
"assetAddress": "text",
"assetCaip": "text",
"symbol": "text",
"decimals": 1
}
}
],
"optimism": [
{
"vaultAddress": "text",
"protocolName": "text",
"protocolLogo": "https://example.com",
"vaultName": "text",
"balanceUsd": "text",
"balanceNative": "text",
"balanceLp": "text",
"unclaimedUsd": "text",
"unclaimedNative": "text",
"apy": {
"base": 1,
"rewards": 1,
"total": 1
},
"asset": {
"name": "text",
"assetAddress": "text",
"assetCaip": "text",
"symbol": "text",
"decimals": 1
}
}
],
"polygon": [
{
"vaultAddress": "text",
"protocolName": "text",
"protocolLogo": "https://example.com",
"vaultName": "text",
"balanceUsd": "text",
"balanceNative": "text",
"balanceLp": "text",
"unclaimedUsd": "text",
"unclaimedNative": "text",
"apy": {
"base": 1,
"rewards": 1,
"total": 1
},
"asset": {
"name": "text",
"assetAddress": "text",
"assetCaip": "text",
"symbol": "text",
"decimals": 1
}
}
],
"base": [
{
"vaultAddress": "text",
"protocolName": "text",
"protocolLogo": "https://example.com",
"vaultName": "text",
"balanceUsd": "text",
"balanceNative": "text",
"balanceLp": "text",
"unclaimedUsd": "text",
"unclaimedNative": "text",
"apy": {
"base": 1,
"rewards": 1,
"total": 1
},
"asset": {
"name": "text",
"assetAddress": "text",
"assetCaip": "text",
"symbol": "text",
"decimals": 1
}
}
],
"gnosis": [
{
"vaultAddress": "text",
"protocolName": "text",
"protocolLogo": "https://example.com",
"vaultName": "text",
"balanceUsd": "text",
"balanceNative": "text",
"balanceLp": "text",
"unclaimedUsd": "text",
"unclaimedNative": "text",
"apy": {
"base": 1,
"rewards": 1,
"total": 1
},
"asset": {
"name": "text",
"assetAddress": "text",
"assetCaip": "text",
"symbol": "text",
"decimals": 1
}
}
],
"unichain": [
{
"vaultAddress": "text",
"protocolName": "text",
"protocolLogo": "https://example.com",
"vaultName": "text",
"balanceUsd": "text",
"balanceNative": "text",
"balanceLp": "text",
"unclaimedUsd": "text",
"unclaimedNative": "text",
"apy": {
"base": 1,
"rewards": 1,
"total": 1
},
"asset": {
"name": "text",
"assetAddress": "text",
"assetCaip": "text",
"symbol": "text",
"decimals": 1
}
}
]
}