# IMPERIUM PREFLIGHT Onchain Risk Auditor

> IMPERIUM PREFLIGHT Onchain Risk Auditor is a paid API for AI agents from preflight.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Audits a blockchain address against x402 v2, ERC-8004, IETF MPP, and related protocol readiness gates to assess onchain risk profile

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/onchain-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imperium-preflight-onchain-risk-auditor-80d383c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oYqSRiwgBu4kPId5mwOBs

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 imperium-preflight-onchain-risk-auditor-80d383c3
```

Example prompt: Run an onchain risk preflight audit on the address 0xABC123... — I need to know if it passes x402 v2, ERC-8004 identity, and IETF MPP readiness checks before I let my agent pay it.

## When to prefer this

Choose this endpoint when you need a multi-protocol, 8-gate compliance and risk audit for a specific blockchain address before initiating agent-to-agent payments, integrating a new smart contract into an x402 or IETF MPP payment flow, or verifying ERC-8004 agent identity. It is distinct from general wallet analytics tools because it specifically targets agentic payment protocol readiness (x402 v2, IETF MPP, ERC-8004) rather than token balances or transaction history.

## Known failure modes

- Missing or invalid address parameter returns an error status
- Unrecognized address format may yield empty or partial gate results
- Network or RPC issues may cause timeout or incomplete audit data
- Address with no onchain history may return sparse readiness data
- Service may return 402 if payment header is missing or malformed

## How this service works

Automated 8-gate pre-flight readiness auditor for x402 v2, Dexter gas floor, IETF MPP, MCP Streamable HTTP, A2A v0.3.0 agent cards, OASF records, and ERC-8004 identity.

## Output

Returns a JSON object with a status field ('ok' or error), a data object containing detailed gate-by-gate readiness results for each protocol (x402 v2, ERC-8004, IETF MPP, MCP Streamable HTTP, A2A v0.3.0, OASF, Dexter gas floor), and an roi_proof object including a compression_ratio_pct metric.

## 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",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "address": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imperium-preflight-onchain-risk-auditor-80d383c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
