# AgentDiet On-Chain Risk Intelligence

> AgentDiet On-Chain Risk Intelligence is a paid API for AI agents from sec-intel-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 a given blockchain address or token, delivered as agent-ready distilled output via HTTP 402 micropayment.

## Facts

- Endpoint: GET https://sec-intel-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-20df73cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PoKfCA0pu3h_6wYxSyz41

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-20df73cb
```

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

## When to prefer this

Use this endpoint when you need a fast, agent-ready on-chain risk score or threat assessment for a specific blockchain address, wallet, or token contract — especially when you want distilled markdown output optimized for LLM consumption rather than raw blockchain data. Prefer this over generic block explorers when you need actionable risk signals (rug pull indicators, mixer usage, blacklist status) pre-summarized for an AI workflow, and when micropayment via x402/USDC is acceptable.

## Known failure modes

- Invalid or malformed blockchain address returns an error response
- Payment not included or insufficient USDC via x402 results in HTTP 402 payment required
- Unsupported chain or contract type may return empty or partial data
- Rate limiting or service unavailability returns a 5xx error
- Address not found on-chain returns no data or empty risk report

## 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 markdown on-chain risk report with risk scores, threat flags, and behavioral indicators for the queried address or contract. Also includes ROI proof metadata showing token compression ratio and tokens saved versus raw data.

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