DeFi position and wallet risk snapshot on Base: token balances, account flags, and live…
DeFi position and wallet risk snapshot on Base: token balances, account flags, and live Aave v3 collateral, debt, borrowing power, and health factor read directly from the protocol at a specific block, plus derived risk metrics — net equity, LTV utilization,…
by orcpin.dev · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
DeFi position and wallet risk snapshot on Base: token balances, account flags, and live Aave v3 collateral, debt, borrowing power, and health factor read directly from the protocol at a specific block, plus derived risk metrics — net equity, LTV utilization, leverage multiplier, health-factor band, and collateral drawdown tolerance (how far collateral can fall before liquidation). For agents assessing portfolio exposure and liquidation risk.
Tags: Orcpin Wallet Data · data · defi · aave · liquidation-risk · bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-08
{
"address": "0x0000000000000000000000000000000000000001"
}{
"address": "0x0000000000000000000000000000000000000001",
"as_of": "block",
"block_number": 12345678,
"chain": "Base",
"chain_id": 8453,
"data": {
"aave_v3": {
"available": true,
"available_borrows": "200000000",
"current_liquidation_threshold_bps": 8300,
"has_position": true,
"health_factor": "2.5",
"loan_to_value_bps": 8000,
"no_outstanding_debt": false,
"pool": "0xA238Dd80C259a72e81d7e4664a9801593F98d1c5",
"total_collateral": "1500000000",
"total_debt": "500000000"
},
"account": {
"is_contract": false,
"transaction_count": 42
},
"derived": {
"aave": {
"collateral_drawdown_tolerance_pct": 60,
"health_factor_band": "safe",
"leverage_multiplier": 1.5,
"ltv_utilization_pct": 41.7,
"net_equity": {
"currency": "USD",
"decimals": 8,
"formatted": "10.0",
"raw": "1000000000"
},
"note": "Computed from Aave v3 protocol values. Formulas: GET /methodology. Factual math, not advice.",
"unused_borrow_power": {
"currency": "USD",
"decimals": 8,
"formatted": "2.0",
"raw": "200000000"
}
},
"activity_tier": "active",
"gas_runway": {
"assumed_gas_units": 21000,
"est_tx_cost_wei": "210000000000",
"gas_price_wei": "10000000",
"simple_transfers_affordable": 4761
},
"note": "Heuristic metrics derived from on-chain facts. Formulas: GET /methodology. Not advice.",
"wallet_type": "eoa"
},
"native_balance": {
"formatted": "0.001",
"symbol": "ETH",
"wei": "1000000000000000"
},
"token_balances": [
{
"contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"decimals": 6,
"formatted": "1.0",
"raw": "1000000",
"symbol": "USDC"
}
]
},
"disclaimer": "Informational snapshot. See /terms.",
"schema_version": "1.1.0",
"sources": [
"public_rpc",
"on_chain_read",
"aave_v3_pool"
],
"timestamp": "2026-06-18T12:00:00.000Z"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/26805.jsonfor the price and payment options. - Pay. Call
GET https://orcpin.dev/v1/defi-snapshot. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.05 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.05 | 0x8B1CF12e7efe6AEA59cD1124eBbe7709E3Ac6085 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x8B1CF12e7efe6AEA59cD1124eBbe7709E3Ac6085",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"amountUsd": 0.05,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"address": {
"type": "string"
},
"block_number": {
"type": "integer"
},
"data": {
"properties": {
"aave_v3": {
"type": "object"
}
},
"type": "object"
},
"disclaimer": {
"type": "string"
},
"schema_version": {
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"address": "string",
"block_number": 0,
"data": {
"aave_v3": {}
},
"disclaimer": "string",
"schema_version": "string",
"sources": [
"string"
]
},
"type": "string"
}Examples
curl -X GET 'https://orcpin.dev/v1/defi-snapshot'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://orcpin.dev/v1/defi-snapshot", {
"method": "GET"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.request("GET", "https://orcpin.dev/v1/defi-snapshot")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- orcpin.dev
- Endpoint
- https://orcpin.dev/v1/defi-snapshot
- Machine-readable
/resources/26805.json