# AgentDiet On-Chain Risk Intelligence

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

Returns on-chain risk assessment data for blockchain addresses or tokens, delivered as agent-ready distilled output via a pay-per-call HTTP 402 API.

## Facts

- Endpoint: GET https://llms-generator-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-55ac52c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_StTasq0GsmUqq27Ysnnp9

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-55ac52c3
```

Example prompt: Can you check the on-chain risk for Ethereum address 0xABC123... and tell me if it's safe to interact with — I want a quick risk summary before I send funds.

## When to prefer this

Choose this endpoint when you need lightweight, agent-ready on-chain risk intelligence delivered as compressed markdown with token efficiency metrics. It is ideal for AI agents operating under token budget constraints that need fast risk signals before executing DeFi transactions, screening counterparties, or auditing smart contracts. Prefer this over raw blockchain explorers when you need pre-distilled, LLM-optimized output rather than raw chain data.

## Known failure modes

- Invalid or malformed blockchain address returns an error response
- Address not found on supported chains returns empty or null risk data
- Payment failure via x402/HTTP 402 if USDC balance is insufficient
- Rate limiting if too many calls are made in a short period
- Network timeout from the Google Cloud Run host under high load

## 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

A JSON response containing a distilled markdown risk report with on-chain risk data, plus ROI proof metadata showing raw vs distilled token counts, compression ratio, and a multiplier indicating how much token context was saved. The 'data' field includes the risk analysis content in agent-ready markdown format.

## 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-55ac52c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llms-generator-72343955726.us-central1.run.app](https://www.zero.xyz/host/llms-generator-72343955726.us-central1.run.app/llms.txt)
