# DeFi Token Due Diligence Workflow

> DeFi Token Due Diligence Workflow is a paid API for AI agents from onchain-risk.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Runs on-chain risk and due diligence analysis for DeFi tokens by routing a capability query through a meta-indexed swarm of 500+ MCP servers and A2A tools with token-compressed results.

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/workflows/defi-token-due-diligence?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: onchain-risk.agentdiet.dev
- Website: https://onchain-risk.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/onchain-risk-agentdiet-dev-defi-token-due-diligence-workflow-d00c08f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aXt9Rd6mCxvEwznYS2RVc

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 onchain-risk-agentdiet-dev-defi-token-due-diligence-workflow-d00c08f5
```

Example prompt: Search across all indexed MCP servers and A2A tools to find the best capabilities for 'defi token due diligence' — I want on-chain risk data, token intelligence, and any relevant enrichment tools available through a single connection.

## When to prefer this

Choose this endpoint when you need to discover and route to DeFi/on-chain risk tools or any of 500+ indexed MCP/A2A capabilities through a single connection, especially when token efficiency matters (85% compression) or when you need Prompt-Guard firewall protection on routed queries. Prefer this over direct MCP connections when you don't know which specific server hosts the capability you need.

## Known failure modes

- Empty or too-generic query string returns low-relevance or no matches
- Query string exceeds context or is malformed — returns 400 validation error
- Upstream MCP server unavailable — partial results or timeout
- Payment not attached or x402 flow incomplete — returns 402 Payment Required
- Rate limit exceeded on downstream tools — degraded result set

## How this service works

Single-connection meta-router indexing 500+ MCP servers & A2A tools with 85% token compression and Prompt-Guard firewall. (Live x402 v2, IETF MPP & MCP endpoint at https://onchain-risk.agentdiet.dev/v1/workflows/defi-token-due-diligence)

## Output

Returns a structured object listing matched MCP servers and A2A tool endpoints relevant to the query, along with token-compressed capability descriptions, routing metadata, and any applicable on-chain risk or due diligence data surfaced through the swarm.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onchain-risk-agentdiet-dev-defi-token-due-diligence-workflow-d00c08f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
