ToolAssay

Use when an agent must check if a wallet's loans are near liquidation

Use when an agent must check if a wallet's loans are near liquidation. Input: address, optional chain (base, ethereum, arbitrum, all). Output: JSON per chain Aave v3 collateral, debt, borrowing power, LTV, health factor and liquidation distance %; Compound v3 supplied/borrowed base asset and isLiquidatable; summary with the lowest health factor. Read from contracts. Example: ?address=0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1

Answeringour last check, 2026-11-26
7 of 7checks answered this week
29 msmedian answer time
$0.003listed price per call
$0.003price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://1gateway.dev/v1/defi/health

CategoryMarket data
Provider host1gateway.dev
Networkseip155:137, eip155:143, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days2 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.003 27 ms
2026-11-25 valid payment request 402$0.003 16 ms
2026-11-24 valid payment request 402$0.003 26 ms
2026-11-23 valid payment request 402$0.003 39 ms
2026-11-22 valid payment request 402$0.003 41 ms
2026-11-21 valid payment request 402$0.003 33 ms
2026-11-20 valid payment request 402$0.003 29 ms
2026-11-19 valid payment request 402$0.003 31 ms
2026-11-18 valid payment request 402$0.003 18 ms
2026-11-17 valid payment request 402$0.003 18 ms
2026-11-16 valid payment request 402$0.003 27 ms
2026-11-15 valid payment request 402$0.003 39 ms
2026-11-14 valid payment request 402$0.003 32 ms
2026-11-13 valid payment request 402$0.003 18 ms
2026-11-12 valid payment request 402$0.003 26 ms
2026-11-11 valid payment request 402$0.003 16 ms
2026-11-10 valid payment request 402$0.003 26 ms
2026-11-09 valid payment request 402$0.003 41 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "address": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1",
    "chain": "all"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "address": {
              "description": "EVM wallet (EIP-55 checksum if mixed case). Bad address \u2192 400 before payment (not charged)",
              "pattern": "^0x[0-9a-fA-F]{40}$",
              "type": "string"
            },
            "chain": {
              "description": "Chain to check (default all)",
              "enum": [
                "base",
                "ethereum",
                "arbitrum",
                "all"
              ],
              "type": "string"
            }
          },
          "required": [
            "address"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": true,
          "properties": {
            "address": {
              "type": "string"
            },
            "asOf": {
              "type": "string"
            },
            "cache": {
              "type": "string"
            },
            "chains": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "method": {
              "additionalProperties": true,
              "properties": {
                "aave": {
                  "type": "string"
                },
                "compound": {
                  "type": "string"
                },
                "notCovered": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "notes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "positions": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "aave": {
                    "type": "null"
                  },
                  "chain": {
                    "type": "string"
                  },
                  "checkedCompoundMarkets": {
                    "type": "array"
                  },
                  "compound": {
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "summary": {
              "additionalProperties": true,
              "properties": {
                "anyLiquidatable": {
                  "type": "boolean"
                },
                "hasPositions": {
                  "type": "boolean"
                },
                "lowestAaveHealthFactor": {
                  "type": "null"
                },
                "totalAaveCollateralUsd": {
                  "type": "integer"
                },
                "totalAaveDebtUsd": {
                  "type": "integer"
                }
              },
              "type": "object"
            }
          },
          "required": [
            "address",
            "chains",
            "summary",
            "positions",
            "asOf",
            "cache",
            "method",
            "notes"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON