# AgentDiet On-Chain Risk Assessment API

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

Returns on-chain risk intelligence and analysis for blockchain addresses, tokens, or transactions, delivered as agent-ready distilled markdown.

## Facts

- Endpoint: GET https://arxiv-digest-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-assessment-api-5d7da6ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NttoU9KLXsesQg73C3-e8

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-assessment-api-5d7da6ac
```

Example prompt: Can you check the on-chain risk for the Ethereum contract address 0xAbC123...def and tell me if it's flagged for any scam, rug pull, or exploit history before I interact with it?

## When to prefer this

Choose this endpoint when an AI agent needs a fast, pre-distilled, agent-optimized risk summary for a blockchain address, token, or contract — especially when token efficiency matters and you want compressed markdown output rather than raw blockchain explorer data. Ideal for DeFi automation, pre-trade risk checks, and wallet screening workflows where the agent must make quick decisions without parsing verbose blockchain data.

## Known failure modes

- Invalid or malformed blockchain address returns an error response
- Unsupported chain identifier results in no data returned
- Unknown or newly deployed contract may return insufficient data
- Payment failure via x402/HTTP 402 blocks the request
- Rate limiting if too many requests are made in rapid succession
- Network timeout from upstream on-chain data providers

## 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 distilled, agent-ready markdown report containing on-chain risk indicators, risk score, flag categories (e.g. scam, exploit, blacklist), and metadata about the queried address or token. Also includes ROI proof stats showing token compression ratio and raw vs distilled token counts.

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