Skip to main content
GET
Track Positions - Lending Wallets

Authorizations

x-api-key
string
header
default:API_KEY
required

Headers

x-amberdata-blockchain-id
enum<string>
default:polygon-mainnet
required

[Optional] The id of the blockchain for which you want protocol data from. Defaults to ethereum-mainnet if not specified. Use the Information Protocols API to view the supported protocol and blockchain id combinations.

Available options:
ethereum-mainnet,
polygon-mainnet,
avalanche-mainnet,
arbitrum-mainnet,
optimism-mainnet

Path Parameters

protocolId
enum<string>
default:aavev3
required
Available options:
aavev2,
aavev3,
compoundv2,
compoundv3,
makerdao
address
string
default:0x884d6fa3a4b349880486ad4d7c833ca968c785d8
required

The address for which the portfolio summary is desired. Example address is for aavev3 plus polygon-mainnet only.

Query Parameters

timeFormat
enum<string>
default:hr

[Optional] Time format of the timestamps in the return payload.

Available options:
milliseconds,
ms,
iso,
iso8601,
hr,
human_readable
endDate
string

[Optional] If provided, returns the balances of the address at this date. Enables historical look-back of the portfolio.
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Warning] Cannot be combined with blockNumber, use only one, either endDate or blockNumber.

blockNumber
integer<int32>

[Optional] If provided, returns the balances of the address when this block was finalized. Enables historical look-back of the portfolio.
[Warning] Cannot be combined with endDate, use only one, either blockNumber or endDate.

Response

200 - application/json

200

status
integer
default:0
Example:

200

title
string
Example:

"OK"

description
string
Example:

"Successful request"

payload
object