Skip to main content
GET
Wallet Lens

Authorizations

x-api-key
string
header
default:API_KEY
required

Headers

x-amberdata-blockchain-id
enum<string>

[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:aavev2
required
Available options:
aavev2,
aavev3,
compoundv2,
makerdao
walletAddress
string
default:0x1ec5878ffc42e6d5d80422bdd06cf0712e5611fd
required

The wallet address

Query Parameters

startDate
string<date-time>
default:2022-09-01

[Optional] Payload only includes data after this date (inclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

endDate
string<date-time>
default:2022-10-31

[Optional] Payload only includes data before this date (exclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

size
integer<int32>

[Optional] Number of records per page. If not specified, the API will default to and try to return 1000 actions under payload.data.

direction
enum<string>

[Optional] The order in which to return the results (ascending or descending). By default. records are returned in ascending order, so the oldest records are returned first.

Available options:
asc,
desc
timeFormat
enum<string>

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

Available options:
milliseconds,
ms,
iso,
iso8601,
hr,
human_readable
action
enum<string>

[Optional] Payload only includes data filtered by the action.

Available options:
Deposit,
Withdraw,
LiquidationCall,
Repay,
Borrow,
FlashLoan

Response

200 - application/json

200

status
integer
default:0
Example:

200

title
string
Example:

"OK"

description
string
Example:

"Successful request"

payload
object