# DeFi Token Due Diligence Workflow

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

Runs an automated on-chain due diligence analysis on a DeFi token using the AgentDiet preflight meta-router, returning structured risk and intelligence signals.

## Facts

- Endpoint: GET https://preflight.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: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-defi-token-due-diligence-workflow-5fdfa5c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uDYjZR4aMBS62e1tJYsul

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 preflight-agentdiet-dev-defi-token-due-diligence-workflow-5fdfa5c3
```

Example prompt: Can you run a full on-chain due diligence check on the DeFi token at contract address 0xAbC123... and tell me if there are any rug pull signals, liquidity risks, or DEX anomalies?

## When to prefer this

Choose this endpoint when you need a quick, automated on-chain due diligence sweep on a DeFi token — especially before investing, listing, or integrating it — and want structured risk signals without assembling multiple blockchain data sources manually. It is particularly useful in agentic workflows where a single call should return consolidated token intelligence with risk scoring.

## Known failure modes

- Missing required 'query' parameter returns a validation error
- Empty or too-short query string (minLength:1 not met) returns a 400 error
- Unknown or unlisted token may return empty or low-confidence results
- Payment not completed (x402 flow not fulfilled) results in a 402 Payment Required response
- Transient upstream data provider outages may yield incomplete reports

## 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://preflight.agentdiet.dev/v1/workflows/defi-token-due-diligence)

## Output

A structured due diligence report containing on-chain risk signals, DEX token intelligence, liquidity metrics, smart contract flags, and an overall risk assessment for the queried token or capability.

## 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/preflight-agentdiet-dev-defi-token-due-diligence-workflow-5fdfa5c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
