# TokenGuard DEX Aggregator Data

> TokenGuard DEX Aggregator Data is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Retrieves aggregated decentralized exchange (DEX) market data including prices, liquidity, and trading analytics across multiple DEX protocols

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/dex_agg
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-dex-aggregator-data-ea4fea59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ue5RvySRZfB1HozBH6U6u

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 tokenguard-dex-aggregator-data-ea4fea59 -d '<json body>'
```

Example prompt: What's the best available price and liquidity for swapping USDC to WETH right now across all major DEXes on Ethereum — pull the aggregated DEX data from TokenGuard?

## When to prefer this

Use this endpoint when you need aggregated DEX pricing and liquidity data across multiple protocols in a single call, especially for DeFi trading decisions, arbitrage detection, or on-chain price verification. Prefer over single-DEX APIs when cross-protocol comparison is needed. Best suited for AI agents making automated DeFi analytics or trading-support decisions on Base or Ethereum.

## Known failure modes

- Unknown or unsupported token address returns empty or error response
- Network/chain not supported returns error
- Payment not fulfilled via x402 results in 402 response
- Malformed POST body returns 4xx validation error
- Low-liquidity or newly listed tokens may return incomplete data

## How this service works

dex agg data for AI agents.

## Output

Returns aggregated DEX market data as JSON, including prices, liquidity depth, trading volume, and potentially best swap routes or protocol-level breakdowns across multiple decentralized exchanges for the queried token or pair.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-dex-aggregator-data-ea4fea59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
