API

Get all vaults

get

Retrieves comprehensive information about all available vaults in the Mellow Protocol ecosystem. Each vault represents a smart contract that manages liquidity across different DeFi protocols. The response includes vault configurations, associated tokens, current performance metrics, and operational parameters.

Responses
chevron-right
200

Successful response containing an array of all active vaults with their complete details

application/json
idstringRequired

Unique identifier for the vault, typically combining the network and vault type

Example: ethereum-dvsteth
chain_idintegerRequired

The blockchain network ID where the vault is deployed (e.g., 1 for Ethereum mainnet)

Example: 1
addressstringRequired

The smart contract address of the vault on the blockchain

Example: 0x5E362eb2c0706Bd1d134689eC75176018385430B
symbolstringRequired

The trading symbol of the vault's LP token, used for identification in interfaces

Example: DVstETH
decimalsintegerRequired

The number of decimal places used for the vault's LP token calculations and display

Example: 18
namestringRequired

Human-readable name of the vault that describes its purpose or strategy

Example: Decentralized Validator Vault
layerstringOptional

The protocol layer or strategy type that the vault implements (e.g., lido_simple_dvt, symbiotic)

Example: lido_simple_dvt
withdraw_avg_time_secondsintegerOptional

Average time in seconds it takes to process a withdrawal from the vault

Example: 345600
collectorstringOptional

The address of the fee collector contract that receives protocol fees from the vault

Example: 0x240Fbe0790D5B25366BF88EE14AE8Dde72BfE312
pricenumberOptional

Current price of the vault's LP token in terms of the base currency

Example: 3519.90723976
aprnumber · nullableOptional

Annual Percentage Rate (APR) representing the vault's yearly yield, can be null if not applicable

Example: 2.886142857142857
tvl_usdnumberOptional

Total Value Locked in the vault converted to USD, representing the total assets under management

Example: 24991702.73953098
tvl_base_tokenstringOptional

Total Value Locked expressed in the base token's smallest units (considering decimals)

Example: 7177311992681062422621
limit_usdnumberOptional

Maximum USD value that can be deposited into the vault (deposit cap)

Example: 48398724.54674784
limit_base_tokenstringOptional

Maximum amount of base tokens that can be deposited into the vault, expressed in smallest units

Example: 13899522963290482556503
total_supplystringOptional

Total supply of the vault's LP tokens in circulation, expressed in smallest units

Example: 7100102655321765400668
get
/v1/vaults
200

Successful response containing an array of all active vaults with their complete details

Get DeFi protocol integrations

get

Retrieves information about all DeFi protocol integrations and their points distribution across different chains.

Responses
chevron-right
200

Successful response containing DeFi protocol integrations

application/json
chain_idintegerRequired

The blockchain network ID where the protocol is integrated

vault_addressstringRequired

The address of the vault contract

defi_protocol_addressstringRequired

The address of the DeFi protocol contract

user_mellow_pointsstringRequired

Points allocated in the Mellow protocol

user_symbiotic_pointsstringRequired

Points allocated in the Symbiotic protocol

user_referal_pointsstringRequired

Points earned through referrals

user_vault_balancestringRequired

Balance in the vault in smallest units

namestring · nullableOptional

Name of the protocol integration

protocolstring · nullableOptional

Protocol identifier

pool_idstring · nullableOptional

Unique identifier for the liquidity pool

urlstring · nullableOptional

URL to the protocol's interface

booststring · nullableOptional

Boost multiplier for points earning

get
/v1/defi/protocols
200

Successful response containing DeFi protocol integrations

Get user's vaults positions

get

Retrieves detailed information about a specific user's positions across all Mellow Protocol vaults. This includes their liquidity provisions, earned profits, and current holdings as a Liquidity Provider.

Path parameters
user_addressstringRequired

Ethereum address of the user (must be a valid Ethereum address)

Example: 0x1234567890123456789012345678901234567890Pattern: ^0x[a-fA-F0-9]{40}$
Responses
chevron-right
200

Successful response containing user's positions across all vaults

application/json
chain_idintegerRequired

The blockchain network ID where the vault is deployed

user_addressstringRequired

The Ethereum address of the user

user_mellow_pointsstringRequired

Points earned by the user in the Mellow protocol

user_symbiotic_pointsstringRequired

Points earned by the user in the Symbiotic protocol

user_referal_pointsstringRequired

Points earned by the user through referrals

user_vault_balancenumberRequired

User's balance in the vault in smallest units

timestampintegerRequired

Unix timestamp of when the data was last updated

vault_addressstringRequired

The smart contract address of the vault

get
/v1/users/{user_address}

Get user's vaults DeFi positions

get

Retrieves detailed information about a user's positions across all integrated DeFi protocols, including points earned, balances, and protocol-specific details.

Path parameters
user_addressstringRequired

Ethereum address of the user (must be a valid Ethereum address)

Example: 0xDB611d682cb1ad72fcBACd944a8a6e2606a6d158Pattern: ^0x[a-fA-F0-9]{40}$
Responses
chevron-right
200

Successful response containing user's positions in DeFi protocols

application/json
chain_idintegerRequired

The blockchain network ID where the protocol is integrated

vault_addressstringRequired

The address of the vault contract

defi_protocol_addressstringRequired

The address of the DeFi protocol contract

user_mellow_pointsstringRequired

Points earned in the Mellow protocol

user_symbiotic_pointsstringRequired

Points earned in the Symbiotic protocol

user_referal_pointsstringRequired

Points earned through referrals

user_vault_balancestringRequired

User's balance in the vault in smallest units

timestampintegerRequired

Unix timestamp of when the data was last updated

namestring · nullableOptional

Name of the protocol integration

protocolstring · nullableOptional

Protocol identifier (e.g., Uniswap v3, Pendle, Gearbox)

pool_idstring · nullableOptional

Unique identifier for the liquidity pool

urlstring · nullableOptional

URL to the protocol's interface for this position

booststring · nullableOptional

Boost multiplier for points earning

get
/v1/defi/users/{user_address}

Last updated