X402 · Position Risk
What does this borrow or withdrawal do to my health factor? Read the Aave V3 or Morpho position for any wallet, apply the action and return the health factor after, the cushion to liquidation and one go / caution / no_go.
GET https://app.gtxagent.com/x402/position-risk
0.03 USDC on Base · payTo 0x2eb3e9ee27debc7c66045881c9fc0932f575a480
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"action": "borrow",
"amount": "100000000000",
"venue": "aave-v3",
"wallet": "0x4200000000000000000000000000000000000006"
}{
"action": {
"amount_usd": 1000,
"cushion_after_pct": 54.95,
"health_factor_after": 2.22,
"kind": "borrow",
"note": "borrowing increases the debt; the threshold is the account-level weighted value",
"verdict": "go"
},
"now": {
"collateral_usd": 4820.11,
"cushion_pct": 58.5,
"debt_usd": 998.35,
"health_factor": 2.41,
"threshold_pct": 86
}
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 65 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 692 ms |
| Paid calls (30d, on-chain) | 1 calls · 1 buyers |
| Facilitator-reported (30d) | 1 calls · 1 payers (CDP Bazaar) |
How to call
GET https://app.gtxagent.com/x402/position-risk · input in query · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"venue": {
"type": "string",
"description": "aave-v3 or morpho-blue"
},
"wallet": {
"type": "string",
"description": "0x wallet whose position is read"
},
"action": {
"type": "string",
"description": "none (default), borrow or withdraw"
},
"amount": {
"type": "string",
"description": "USD base units (1e8); 1000 USDC = 100000000000"
}
}
}Output schema
{
"type": "object"
}curl -i -X GET 'https://app.gtxagent.com/x402/position-risk?venue=aave-v3&wallet=0x4200000000000000000000000000000000000006&action=borrow&amount=100000000000'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs