# AgentDiet On-Chain Risk Assessment

> AgentDiet On-Chain Risk Assessment is a paid API for AI agents from domain-osint.agentdiet.dev, paid per call via x402 or MPP, $0.02/call, status unknown (last checked 2026-10-21).

Returns on-chain risk signals for a given blockchain address, including threat scoring and related intelligence

## Facts

- Endpoint: GET https://domain-osint.agentdiet.dev/v1/onchain-risk?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-on-chain-risk-assessment-64030cc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d7R_G0F9KXeFUfNtcT4E6

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-64030cc3
```

Example prompt: Can you run an on-chain risk check on the wallet address 0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE and tell me if it's flagged for anything suspicious?

## When to prefer this

Choose this endpoint when you need fast, automated on-chain risk scoring for a specific blockchain address prior to a transaction, counterparty interaction, or DeFi operation. It is especially useful for agents conducting pre-flight checks on wallet addresses, screening smart contracts, or building risk-aware transaction workflows where a $0.02 per-call micropayment via x402/USDC is acceptable.

## Known failure modes

- Missing or invalid address parameter returns an error
- Unsupported address format (non-EVM chains) may return empty or error data
- Rate limiting or payment failure via x402 results in HTTP 402
- Unknown or unindexed address may return empty risk data with status ok
- Network timeouts for addresses with extensive on-chain history

## 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 on-chain risk data for the queried address, including a status field, a data object with risk signals and threat indicators, and an roi_proof field showing compression efficiency metrics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "address": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-on-chain-risk-assessment-64030cc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from domain-osint.agentdiet.dev](https://www.zero.xyz/host/domain-osint.agentdiet.dev/llms.txt)
