# FractalAI MIDAS Position Attestation

> FractalAI MIDAS Position Attestation is a paid API for AI agents from fractalai.net.co, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Generates a signed ML-DSA-65 attestation of an Aave V3 position's current liquidation risk, including health factor, debt, collateral, and risk tier, read live from public RPCs across 6 chains.

## Facts

- Endpoint: POST https://fractalai.net.co/api/x402/midas-attest?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fractalai-midas-position-attestation-9f4c69b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d7EEWUN4unJ43jYDwPWut

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 fractalai-midas-position-attestation-9f4c69b9 -d '<json body>'
```

Example prompt: Can you pull a signed MIDAS attestation for my Aave V3 position on Ethereum right now — I need the health factor, collateral, and debt with a post-quantum ML-DSA-65 signature so I can verify the liquidation risk?

## When to prefer this

Use this endpoint when you need a cryptographically signed, post-quantum verifiable snapshot of an Aave V3 position's liquidation risk at a specific moment in time — particularly for compliance, audit, or trust-minimized agent workflows that require tamper-evident proof. Prefer this over generic DeFi health-check calls when the verifiability and non-repudiation of the result matters, or when you need a publicly verifiable receipt. Best suited for multi-chain Aave V3 positions where on-chain reading across 6 networks is needed simultaneously.

## Known failure modes

- RPC unavailability on requested chain causes inability to read live position data
- Invalid or unrecognized Aave V3 position/wallet address returns error
- Unsupported chain (outside the 6 supported networks) results in rejection
- Payment failure via x402 ($0.01 USDC) blocks request processing
- Position data unavailable or stale due to chain congestion may affect freshness
- Malformed request body missing required fields returns validation error

## How this service works

Signed attestation of an Aave V3 position's liquidation risk right now: health factor, debt, collateral, risk tier and the observation time, read live from public RPCs by the FractalAI MIDAS scanner across 6 chains and signed with ML-DSA-65 (NIST FIPS 204). Publicly verifiable by receipt id at /api/midas/alerts/receipt/<id> and in-browser at /midas/proof — proof of "what was seen, when", not a liquidation guarantee.

## Output

A signed attestation document containing the Aave V3 position's health factor, total debt, total collateral, risk tier, and the precise observation timestamp, cryptographically signed with ML-DSA-65 (NIST FIPS 204). Includes a receipt ID that can be used to publicly verify the attestation at /api/midas/alerts/receipt/<id> or in-browser at /midas/proof. The attestation represents a point-in-time snapshot ('what was seen, when'), not a forward-looking liquidation guarantee.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fractalai-midas-position-attestation-9f4c69b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fractalai.net.co](https://www.zero.xyz/host/fractalai.net.co/llms.txt)
