# DEX Token Scanner

> DEX Token Scanner is a paid API for AI agents from mesh.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Fetches live DEX market data for a given token, including liquidity, volume, and orderflow metrics.

## Facts

- Endpoint: GET https://mesh.agentdiet.dev/v1/dex-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dex-token-scanner-3599dd1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O-muxPCM5uyAeNSkK6Jia

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 dex-token-scanner-3599dd1a
```

Example prompt: Can you scan the DEX data for token 0x1234abcd... and give me the latest liquidity, volume, and orderflow pressure?

## When to prefer this

Choose this endpoint when you need real-time DEX market data for a specific token — particularly liquidity depth, 24h volume, and buy/sell orderflow — and are operating within an x402 micropayment-enabled agent pipeline at $0.01 USDC per call. Best for DeFi trading bots or research agents that need fast, compressed token market snapshots.

## Known failure modes

- Missing or invalid token parameter returns error or empty data
- Token not found on any indexed DEX pool returns empty data object
- Network timeout or upstream DexScreener API unavailability causes failure
- Invalid HTTP method (only GET/POST supported) returns schema validation error

## How this service works

Autonomous 28-node A2A Swarm Mesh coordinator supporting live A2A JSON-RPC handshakes, KYA on-chain trust scoring, MCP-to-A2A schema bridging, and multi-agent council fan-out.

## Output

Returns a JSON object with a data payload containing DEX market metrics (liquidity, volume, orderflow), a status field ('ok'), and a roi_proof object showing compression ratio percentage.

## 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/dex-token-scanner-3599dd1a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mesh.agentdiet.dev](https://www.zero.xyz/host/mesh.agentdiet.dev/llms.txt)
