Chain · ID 42161

Arbitrum DeFi API

Arbitrum is the leading Ethereum L2 by TVL. Query lending positions, yield markets, and vault strategies across 5 protocols.

5 supported protocols

Morpho logo

Morpho

Permissionless lending with curated vaults and isolated markets

Aave logo

Aave

Lending and borrowing with health factor monitoring

Pendle logo

Pendle

Yield trading with Principal Tokens, Yield Tokens, and LP positions

Compound logo

Compound

Lending protocol with per-market base assets and collateral

Midas logo

Midas

Tokenized institutional investment strategies

Example query

Query the first 3 of 5 protocols on Arbitrum in a single request.

arbitrum-positions.graphql
query {
  walletPositions(inputs: [
    { protocol: "morpho", chainId: 42161, walletAddress: "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6" }
    { protocol: "aave", chainId: 42161, walletAddress: "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6" }
    { protocol: "pendle", chainId: 42161, walletAddress: "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6" }
  ]) {
    data {
      ... on MorphoWalletPositions {
        protocol
        walletAddress
      }
      ... on AaveWalletPositions {
        protocol
        walletAddress
      }
      ... on PendleWalletPositions {
        protocol
        walletAddress
      }
    }
    errors { protocol error { code message } }
  }
}
Try in Playground →

Other chains

Ethereum7 protocolsBase7 protocolsOptimism3 protocols