# Stride20k DEX Pool Price & Liquidity Lookup

> Stride20k DEX Pool Price & Liquidity Lookup is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns real-time price, liquidity, and token metadata for a specific on-chain DEX pool by chain and pool address.

## Facts

- Endpoint: GET https://gateway.stride20k.com/dex/pool/%7Bchain%7D/%7BpoolAddress%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stride20k-dex-pool-price-liquidity-lookup-2bb1bd17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_06NfXRgoFnhJf4njf9TBY

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 stride20k-dex-pool-price-liquidity-lookup-2bb1bd17
```

Example prompt: What's the current price and in-range liquidity for the WETH/USDC pool at address 0xd0b53d9277642d899df5c87a3966a349a798f224 on Base?

## When to prefer this

Choose this endpoint when you need real-time, on-chain DEX pool data (price, liquidity, token metadata) for a specific pool address on supported EVM chains without managing API keys or subscriptions. It is ideal for agents performing DeFi arbitrage checks, swap rate estimation, or liquidity monitoring on a per-call basis. Prefer this over centralized price feeds when you need the raw sqrtPriceX96 or in-range liquidity figures directly from the chain.

## Known failure modes

- Invalid or non-existent pool address returns an error or empty data
- Unsupported chain identifier causes a lookup failure
- Pool address with no liquidity may return zero values for price fields
- RPC node unavailability from PublicNode/dRPC may cause timeouts
- Malformed address format (not a valid EVM hex address) will fail validation
- Payment failure via x402/USDC will block the request before execution

## How this service works

Agent data gateway plus the live x402 market feed. Normalized, schema-stable JSON for crypto prices, DeFi TVL, on-chain DEX pools, gas, FX, US Treasury yields, US weather, WHOIS, DNS, email validation, web-page extraction, tech news, Wikipedia, npm/PyPI package health, ERC-20 token-risk scoring, and composed domain dossiers, plus x402 ecosystem analytics and metered LLM inference. Pay per call with USDC via the x402 protocol; no accounts, no API keys.

## Output

Returns a JSON object with: the pool address and chain, token0 and token1 symbols/addresses/decimals, current prices in both directions (token0PerToken1 and token1PerToken0), pool type (e.g. uniswap-v3-compatible), fee tier in basis points, raw sqrtPriceX96 value, in-range liquidity, and metadata about data source, cache status, and fetch timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "pool": "0xd0b53d9277642d899df5c87a3966a349a798f224",
   "chain": "base",
   "price": {
    "token0PerToken1": 0.000571,
    "token1PerToken0": 1749.08
   },
   "token0": {
    "symbol": "WETH",
    "address": "0x4200000000000000000000000000000000000006",
    "decimals": 18
   },
   "token1": {
    "symbol": "USDC",
    "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "decimals": 6
   },
   "poolType": "uniswap-v3-compatible",
   "feeTierBps": 5,
   "sqrtPriceX96": "3313476886659605909169204",
   "inRangeLiquidity": "982849519553028412"
  },
  "meta": {
   "cached": false,
   "source": "on-chain (PublicNode/dRPC JSON-RPC)",
   "fetchedAt": "2026-07-04T00:00:00.000Z",
   "attribution": null
  },
  "endpoint": "/dex/pool/:chain/:poolAddress"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stride20k-dex-pool-price-liquidity-lookup-2bb1bd17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stride20k.com](https://www.zero.xyz/host/gateway.stride20k.com/llms.txt)
