$0.05
per call · USD Coin on Base
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.
Endpoint
GET https://orcpin.dev/v1/defi-snapshot1
Calls / 30d
1
Unique payers / 30d
Aug 17
Last called
exact
Payment scheme
Call this service
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://orcpin.dev/v1/defi-snapshot", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://orcpin.dev/v1/defi-snapshot?address=0x0000000000000000000000000000000000000001" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"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"
}Payment details
0x8b1cf12e7efe6aea59cd1124ebbe7709e3ac6085USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of DeFi and the homepage with a featured placement.
More from Orcpin & similar services
Orcpin · Endpoint Reliability
orcpin.dev
x402 endpoint reliability pre-flight: factual service-delivery measurements of a target x402 endpoint before an agent pays it — reachability/uptime rate, valid-402 rate, response latency (p50/p95/p99), last status, and sampled paid delivery verification. Facts only (no trust score, no 'scam' label). Check whether an endpoint is live and delivers before spending on it.
Orcpin · Wallet Snapshot
orcpin.dev
On-chain wallet snapshot on Base: native ETH and tracked ERC-20 token balances (USDC, WETH) plus account flags (contract status, transaction count) and derived metrics (wallet type, activity tier, gas runway), anchored to a specific block. Factual wallet balance and holdings lookup for AI agents — portfolio and on-chain data API.
Orcpin · Wash Sale Status
orcpin.dev
Wash-sale preflight for trading agents: evaluates a proposed buy against the operator's realized-loss sales across ALL accounts (caller-supplied) for the 61-day IRC §1091 window — would_trigger with the matched loss sales, an honest clear, or insufficient_data naming the gap. Tax status with the rule cited, never advisability; a disallowed loss defers, not forfeits. Exact-ticker v1; nothing stored. Agent account silos can't see the cross-account window — this check can.