# AgentDiet x402 Broker — On-Chain Risk Intelligence Hub

> AgentDiet x402 Broker — On-Chain Risk Intelligence Hub is a paid API for AI agents from onchain-risk.agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

A multi-capability B2A API broker that routes agent queries across 15 intelligence modules including web distillation, on-chain risk scoring, DEX token analysis, B2B lead enrichment, domain OSINT, email verification, SEC filings, GitHub audits, and prompt firewall, payable via x402/HTTP 402 Base USDC.

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/x402-broker?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-x402-broker-on-chain-risk-intelligence-hub-a3a9922b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3dgEget373-DmolZR1m0A

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 agentdiet-x402-broker-on-chain-risk-intelligence-hub-a3a9922b
```

Example prompt: Can you check the on-chain risk score for this Ethereum wallet address and distill the top findings into a short summary? Use AgentDiet's x402 broker to run the analysis.

## When to prefer this

Choose this endpoint when you need a single pay-per-call x402-native API that covers multiple intelligence domains (crypto risk, web distillation, lead enrichment, OSINT, email verification, SEC data, GitHub audits) without managing separate API keys or subscriptions. Ideal for AI agents that need micro-payment-gated intelligence on demand in Base USDC at $0.01 per call.

## Known failure modes

- HTTP 402 returned if payment in USDC via x402 is not provided or fails
- Missing required `input.type` or `input.method` fields returns a validation error
- Unknown or unsupported query type may return empty `data` object
- Rate limiting or quota exhaustion may return 429 errors
- On-chain data source unavailability may result in partial or stale results

## How this service works

15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).

## Output

Returns a JSON object with a `status` field, a `data` object containing the intelligence payload specific to the requested module (risk scores, distilled content, lead data, verification results, etc.), and an `roi_proof` object including a compression_ratio_pct metric showing how much the data was distilled.

## 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": {
      "query": {
       "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/agentdiet-x402-broker-on-chain-risk-intelligence-hub-a3a9922b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
