# AgentDiet DEX Token Intelligence

> AgentDiet DEX Token Intelligence is a paid API for AI agents from onchain-risk.agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Fetches on-chain risk and DEX token intelligence data for a given token address or symbol

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/token-intel?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-dex-token-intelligence-03c553ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gVTTy1acCDqhafDpQBKVa

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-dex-token-intelligence-03c553ef
```

Example prompt: Can you pull the on-chain risk and DEX token intelligence for the token with address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — I want to know if it's safe to trade?

## When to prefer this

Choose this endpoint when you need fast, cheap ($0.01 USDC) on-chain risk and DEX token intelligence for a specific token — especially useful for pre-trade safety checks, DeFi due diligence, or automated agent workflows that need to assess token risk before executing swaps or investments. Prefer this over generic blockchain explorers when you need distilled, agent-ready risk scores rather than raw chain data.

## Known failure modes

- Missing or invalid token query parameter returns an error
- Unknown or unlisted token address returns empty or null data
- Payment not settled via x402/USDC results in HTTP 402 response
- Rate limiting or quota exceeded returns 429
- Malformed request body returns 400 validation error

## 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 with status 'ok', a data payload containing on-chain risk metrics and DEX token intelligence for the queried token, and an roi_proof field showing compression ratio (e.g. 91.4% compression). Specific data fields vary but may include risk scores, liquidity data, holder distribution, and contract audit signals.

## 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": {
      "token": {
       "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-dex-token-intelligence-03c553ef/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)
