# MioDio Meridian Risk Passport

> MioDio Meridian Risk Passport is a paid API for AI agents from meridian.miodiollc.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-12-02).

Fetches an Aave v3 DeFi risk snapshot for an EVM address, returning health factor, collateral, debt, and liquidation distance on Base or Ethereum.

## Facts

- Endpoint: GET https://meridian.miodiollc.com/v1/risk/:address?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/miodio-meridian-risk-passport-2dedd85d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-nw5DnXnaOmYn8SFONqPx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability miodio-meridian-risk-passport-2dedd85d
```

Example prompt: Before I sign this transaction, pull up the Aave v3 risk passport for 0xAbC123...def on Base — I need to see the health factor, collateral, debt, and how far it is from liquidation.

## When to prefer this

Use this endpoint when an AI agent needs a pre-sign DeFi safety check specifically for Aave v3 positions on Base or Ethereum. It is purpose-built for agent workflows that must assess liquidation risk, collateral health, and debt levels before signing or submitting a transaction. Prefer it over generic on-chain data APIs when you need a structured, decision-ready risk summary at low cost (~$0.005 USDC) with predictable error semantics and x402 micropayment support.

## Known failure modes

- 400 invalid_address: the address is not a valid EVM address (not 0x-prefixed or malformed hex)
- 400 unsupported_chain: chain parameter is not 'base' or 'ethereum'
- 402 payment required: x402 micropayment not completed or insufficient USDC balance
- 200 with status 'partial': one or more upstream Aave RPC reads failed; partial data returned, still billed
- 200 with status 'error': all upstream reads failed; not billed
- Unexpected 5xx: upstream infrastructure error; not charged

## How this service works

Pre-sign check: agents call Meridian before they sign. MioDio Meridian Aave v3 risk card for an EVM address: health factor, collateral, debt and liquidation distance (~$0.005 USDC Exact on Base). Errors: 400 invalid_address or unsupported_chain (chain must be base or ethereum), 402 payment required, failed upstream reads return 200 with status partial/error (unexpected 5xx is not charged). MioDio x402 DeFi. Terms: https://meridian.miodiollc.com/terms

## Output

Returns a structured risk passport containing the Aave v3 position snapshot: health factor, total collateral (USD), total debt (USD), liquidation threshold, and distance to liquidation, plus status (ok/partial), chain, address, and timestamp. If upstream reads fail partially, status is 'partial' with an errors array; full failures return status 'error'. No charge on unexpected 5xx.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Call before you sign. EVM address (checksummed or 0x-prefixed hex) to snapshot on Aave v3"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "Aave v3 read chain (public RPC). Defaults to base. Independent of the USDC payment network."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "product",
      "version",
      "status",
      "address",
      "chain",
      "as_of",
      "disclaimer",
      "aave_v3",
      "hooks"
     ],
     "properties": {
      "as_of": {
       "type": "string"
      },
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string"
      },
      "hooks": {
       "type": "object"
      },
      "errors": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "status": {
       "enum": [
        "ok",
        "partial"
       ],
       "type": "string"
      },
      "aave_v3": {
       "type": [
        "object",
        "null"
       ]
      },
      "address": {
       "type": "string"
      },
      "product": {
       "type": "string",
       "const": "mio_dio_defi_risk_passport"
      },
      "version": {
       "type": "string"
      },
      "disclaimer": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/miodio-meridian-risk-passport-2dedd85d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from meridian.miodiollc.com](https://www.zero.xyz/host/meridian.miodiollc.com/llms.txt)
