# AgentDiet On-Chain Risk Intelligence

> AgentDiet On-Chain Risk Intelligence is a paid API for AI agents from json-repair-72343955726.us-central1.run.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-14).

Analyzes on-chain risk signals for blockchain addresses or tokens, returning structured risk assessments via a pay-per-call API using HTTP 402 / x402 Base USDC micropayments.

## Facts

- Endpoint: GET https://json-repair-72343955726.us-central1.run.app/v1/onchain-risk?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-on-chain-risk-intelligence-0399b1d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BaiCr4xNPygVFqmOo4ZEM

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-on-chain-risk-intelligence-0399b1d6
```

Example prompt: Can you run an on-chain risk check on the wallet address 0x1234...abcd and tell me if it has any red flags or suspicious activity I should know about before interacting with it?

## When to prefer this

Choose this endpoint when you need rapid, pay-per-call on-chain risk scoring for a specific blockchain address, wallet, or token contract without committing to a subscription. Ideal for AI agents that need to gate-check addresses before DeFi interactions, payments, or integrations, and that benefit from compressed, agent-readable markdown output rather than raw blockchain data.

## Known failure modes

- Missing or invalid blockchain address parameter returns an error
- Payment not received via x402/HTTP 402 results in payment required response
- Unknown or unsupported chain/address format may return empty or null risk data
- Rate limiting or quota exhaustion on the underlying data provider
- Address with no on-chain history may return minimal or inconclusive risk signals

## 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 containing an on-chain risk assessment with risk signals, flags, and scoring data. The response includes a status field, data payload with the risk intelligence content (typically formatted as agent-ready markdown), and an roi_proof block showing token compression metrics including raw tokens, distilled tokens, compression ratio, and ROI multiplier.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "mode": "markdown",
   "title": "Example Documentation",
   "content": "# Example Documentation\nClean agent-ready markdown..."
  },
  "status": "ok",
  "roi_proof": {
   "raw_tokens": 14200,
   "tokens_saved": 13520,
   "roi_multiplier": 67.6,
   "distilled_tokens": 680,
   "compression_ratio_pct": 95.2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-on-chain-risk-intelligence-0399b1d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from json-repair-72343955726.us-central1.run.app](https://www.zero.xyz/host/json-repair-72343955726.us-central1.run.app/llms.txt)
