# Synapse DEX Liquidity Data

> Synapse DEX Liquidity Data is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Returns liquidity pool data for a given token on decentralized exchanges, including pool addresses, fee tiers, USD liquidity, and token prices.

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/dex-liquidity?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-dex-liquidity-data-32a8ff30
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JuiCJ5qel5UyqP-zs7VtD

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 synapse-dex-liquidity-data-32a8ff30
```

Example prompt: Can you pull up the DEX liquidity pools for the USDC token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — I want to see which pools exist, how much USD liquidity they have, and what the current price ratios are?

## When to prefer this

Use this endpoint when you need real-time on-chain DEX liquidity data for a specific token without requiring an API key or account. Ideal for DeFi agents needing to assess swap feasibility, price impact, or pool availability. Prefer over centralized exchange APIs when you need decentralized/onchain pool data specifically. Pay-per-call at $0.002 USDC makes it cost-effective for spot queries.

## Known failure modes

- Token address not found or not indexed — empty pools array returned
- Invalid token address format — likely a 400 or malformed response
- No liquidity exists for the token — pools array returns empty
- Payment not processed correctly via x402 — 402 response requiring USDC payment on Base
- Service downtime on duckdns.org host — connection timeout or 503

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

Returns a JSON object with a list of liquidity pools for the queried token, each containing: pool contract address, fee tier (e.g. 3000 = 0.3%), total liquidity in USD, and the price of token0 per token1. Also echoes back the queried token address.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pools": [
   {
    "pool": "0x...",
    "fee_tier": 3000,
    "liquidity_usd": 500000,
    "price_token0_per_token1": 1
   }
  ],
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-dex-liquidity-data-32a8ff30/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
