# AgentDiet On-Chain Risk Intelligence

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

Retrieves on-chain risk assessment data for blockchain addresses or tokens, returning distilled intelligence as agent-ready markdown.

## Facts

- Endpoint: GET https://github-audit-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-574d04d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4n4IYYNrAV89yWIzciZEL

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-574d04d7
```

Example prompt: Can you pull an on-chain risk assessment for the wallet address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on Ethereum — I want to know if it's safe before I send funds to it.

## When to prefer this

Choose this endpoint when you need a quick, distilled on-chain risk signal about a blockchain address or token in a token-efficient markdown format. Especially useful for AI agents that need low-latency risk screening before a transaction, compliance checks on counterparties, or DeFi safety assessments — and where minimizing LLM token consumption matters.

## Known failure modes

- Invalid or malformed blockchain address returns an error response
- Unsupported chain identifier results in no data
- Payment failure via x402/HTTP 402 blocks access if USDC payment not processed
- Rate limiting if too many requests are made in short succession
- Address not indexed or too new may return empty risk data

## 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 a distilled on-chain risk report in agent-ready markdown (title and content fields), along with ROI metrics showing token compression ratio (e.g. 95% compression), tokens saved, and a multiplier score. Status field confirms success.

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