# httpay.xyz DEX Token Price (Base)

> httpay.xyz DEX Token Price (Base) is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns real-time token price aggregated from multiple Base DEXes (Aerodrome, Uniswap V3, BaseSwap) via GeckoTerminal, including the best routing path.

## Facts

- Endpoint: POST https://httpay.xyz/api/dex-price/:address
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-cdf68778
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KGpbQuqBJf8ZrCDYhSmpR

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 httpay-xyz-cdf68778 -d '<json body>'
```

Example prompt: What's the current price of the token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — check Aerodrome, UniSwap V3, and BaseSwap and tell me which DEX has the best price and the optimal route.

## When to prefer this

Use this endpoint when you need real-time, multi-DEX price aggregation specifically on the Base network, and want to know both the current price and the best swap route across Aerodrome, Uniswap V3, and BaseSwap. Prefer this over generic price APIs when Base-native DEX routing intelligence is required.

## Known failure modes

- Invalid or unrecognized token contract address returns an error or empty result
- Token not listed on any of the supported Base DEXes returns no price data
- GeckoTerminal data unavailability causes stale or missing prices
- Malformed address format triggers a validation error
- Network congestion on Base may cause delayed price data

## How this service works

Real-time token price from multiple DEXes on Base (Aerodrome, UniV3, BaseSwap) via GeckoTerminal. Best route included.

## Output

Returns the real-time token price from multiple Base DEXes (Aerodrome, Uniswap V3, BaseSwap) sourced via GeckoTerminal, along with the best available swap route for the queried token address.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-cdf68778/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
