Aave V4 icon

Aave V4

Query Aave V4 DeFi protocol. Use this to: check supported chains, list hubs/spokes/reserves, get user positions/balances/supplies/borrows by wallet address, view transaction history, get exchange rates and APY history. Supports custom GraphQL queries for advanced use cases.

Custom Query → Execute Query

AI-generated

Summary

Execute a custom GraphQL query against the Aave protocol, optionally passing variables.

Inputs

  • graphqlQuery (required) — The GraphQL query string to execute.
  • graphqlVariables — Optional JSON object of variables to pass to the query.

Output shape

JSON object containing the GraphQL response

Returns the query result; errors are included in the response body.

Examples

Example 1: Query protocol health

graphqlQuery: "{ health }", graphqlVariables: "{}"

Example 2: List reserves

graphqlQuery: "{ reserves { id volume } }", graphqlVariables: "{}"

Example 3: Swap quote request

graphqlQuery: "{ getExchangeRate(from: "ETH", to: "USDC", amount: 1000 ) }", graphqlVariables: "{}"

Links

Discussion