# WhatChUNeed DEX Pair Lookup

> WhatChUNeed DEX Pair Lookup is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Retrieves decentralized exchange (DEX) trading pair data for a given token or pair identifier

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/token/dex-pair
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-dex-pair-lookup-8a358068
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D42kCREmCVF_3Id6QaIbW

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 whatchuneed-dex-pair-lookup-8a358068 -d '<json body>'
```

Example prompt: Can you look up the DEX trading pair data for WETH/USDC — I want to see the liquidity, price, and volume for that pair on-chain?

## When to prefer this

Use this endpoint when you need on-chain DEX pair data (price, liquidity, reserves, volume) for a specific token pair without running your own blockchain node or integrating directly with multiple DEX subgraphs. Prefer this over direct subgraph queries when you want a single pay-per-call interface via x402 protocol.

## Known failure modes

- Token address not found on any DEX — returns error or empty result
- Invalid pair identifier format — returns validation error
- Pair exists but has zero liquidity — returns pair with empty reserves
- Rate limiting or payment failure via x402 protocol — returns 402 or 429 status
- Network or upstream DEX data provider outage — returns 500 error

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns an object containing DEX pair details such as pair address, token symbols, reserves, price, liquidity, and trading volume for the queried token pair.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Request input"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "Response data"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-dex-pair-lookup-8a358068/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
