W

Workers · Health

by Workers

GETbase

$0.001

per call · USD Coin on base

Borrower health-factor lookup by EVM address. Returns current health factor, collateral, debt, and protocol across all monitored lending markets.

Endpoint

GET https://liquita-x402-edge.liquita.workers.dev/v1/health/:address

1

Calls / 30d

1

Unique payers / 30d

Aug 13

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://liquita-x402-edge.liquita.workers.dev/v1/health/:address", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://liquita-x402-edge.liquita.workers.dev/v1/health/:address" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "address": "0xabc...123",
  "positions": [
    {
      "chain": "base",
      "collateral_usd": 12500,
      "debt_usd": 11500,
      "health_factor": 1.05,
      "protocol": "aave_v3"
    }
  ]
}

Payment details

Pay to0x6ede3258bce2ef32f9bb614c781818b4efd0e765
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
Networksbase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Workers & similar services