Positions

Query aggregated DeFi positions across organizations, wallets and chains.

Get Positions

get

Retrieve aggregated DeFi protocol positions. Positions represent interactions with DeFi protocols with net value, collateral, debt, and other metrics.

Supports filtering by wallet, chain, time range, market, and protocol.

Authorizations
x-api-KeystringRequired

API key for authentication

Query parameters
chain_idintegerOptional

Blockchain network ID (e.g., 1 for Ethereum mainnet, 137 for Polygon)

Example: 1
chainstringOptional

Blockchain network name (alternative to chain_id)

Example: ethereum
walletstringOptional

Wallet address to filter by

Example: 0x1234567890123456789012345678901234567890Pattern: ^0x[a-fA-F0-9]{40}$
from_datestring · date-timeOptional

Start date for time range filter (ISO 8601 format)

Example: 2024-01-01T00:00:00Z
to_datestring · date-timeOptional

End date for time range filter (ISO 8601 format)

Example: 2024-12-31T23:59:59Z
from_blockstringOptional

Start block number for filtering

Example: 18000000
to_blockstringOptional

End block number for filtering

Example: 18500000
via_proxystringOptional

Proxy contract address if interaction was through a proxy

Example: 0x0000000000000000000000000000000000000000Pattern: ^0x[a-fA-F0-9]{40}$
snapshot_modestring · enumOptional

Filter by snapshot capture mode:

  • all: All snapshot types
  • daily_only: Daily scheduled snapshots
  • interaction_only: Event-driven snapshots on wallet interactions
  • harmonized_only: Regularly scheduled harmonized snapshots
Default: allExample: allPossible values:
next_cursorstring · date-timeOptional

Pagination cursor from previous response

Example: 2024-06-15T12:00:00Z
limitinteger · min: 1 · max: 500Optional

Maximum number of results to return (capped at 500)

Default: 500Example: 100
position_idstringOptional

Unique identifier for a specific position

Example: eth_0x123...abc_0x456...def_aave_v3_0x000...000_2024-01-01T00:00:00Z
market_addressstringOptional

Protocol market/pool contract address

Example: 0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9Pattern: ^0x[a-fA-F0-9]{40}$
protocol_namestringOptional

Name of the DeFi protocol

Example: compound
validatestring · enumOptional

Enable data quality validation (returns only WARNINGS)

Example: truePossible values:
Responses
200

Successful response

application/json
get
/positions

Last updated