# Stride20k DEX Pool Data API

> Stride20k DEX Pool Data API 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-15).

Reads live Uniswap v2/v3-compatible liquidity pool state directly from Ethereum, Base, or Polygon via JSON-RPC, returning token info, spot prices, reserves, and v3 fee/liquidity data.

## Facts

- Endpoint: GET https://gateway.stride20k.com/dex/pool/:chain/:poolAddress
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stride20k-dex-pool-data-api-8efc469f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YTvczVDbClenElxdj54LU

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-data-api-8efc469f
```

Example prompt: What's the current spot price in both directions for the WETH/USDC pool at 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640 on Ethereum — is it a v2 or v3 pool, and what's the fee tier?

## When to prefer this

Prefer this endpoint when you need trustless, on-chain DEX pool state read directly via JSON-RPC without relying on a third-party data vendor like The Graph or a centralized price oracle. It is ideal for trading agents, arbitrage bots, or DeFi analytics that need spot price, reserves, or liquidity at the latest block for Uniswap v2/v3-compatible pools on Ethereum, Base, or Polygon. Use over centralized price APIs when data provenance and trustlessness matter.

## Known failure modes

- Invalid or non-pool contract address returns an error (contract does not implement expected pool interface)
- Unsupported chain name returns a validation error
- Pool address not checksum-valid or malformed returns a 400-level error
- RPC node timeout or network congestion may cause latency spikes or errors
- Pool with no liquidity may return zero reserves or zero in-range liquidity
- Stale data up to 30 seconds old due to caching

## How this service works

On-chain DEX pool data API: reads Uniswap v2/v3-compatible liquidity pools from Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, and Avalanche via JSON-RPC — no third-party data vendor. Auto-detects pool type; returns token addresses, symbols, decimals, spot price both directions, v3 fee tier, sqrtPriceX96 and in-range liquidity, or v2 decimal-adjusted reserves. For price discovery, liquidity checks, and trading agents needing trustless pair state. Cached up to 30 seconds.

## Output

Returns a JSON object with the pool address and chain, auto-detected pool type (uniswap-v2-compatible or uniswap-v3-compatible), token0 and token1 details (address, symbol, decimals), decimal-adjusted spot price in both directions, and either v2 reserves or v3-specific fields (fee tier in bps, sqrtPriceX96, in-range liquidity). Also includes metadata: whether the response was cached, the data source, and the fetch timestamp.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stride20k-dex-pool-data-api-8efc469f/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)
