# Riley Craig x402 Agent Store – DEX Trading Pairs Lookup

> Riley Craig x402 Agent Store – DEX Trading Pairs Lookup is a paid API for AI agents from x402-agent-store.rileycraig14.workers.dev, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-14).

Returns DEX trading pair data (price, volume, liquidity, price change) for a given token symbol, name, or contract address, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://x402-agent-store.rileycraig14.workers.dev/crypto/dex
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/riley-craig-x402-agent-store-dex-trading-pairs-lookup-aced71e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qhhvaa4QlMqzP8XS_be83

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 riley-craig-x402-agent-store-dex-trading-pairs-lookup-aced71e1
```

Example prompt: What are the current DEX trading pairs for WIF — give me the price in USD, 24-hour volume, liquidity, and price change?

## When to prefer this

Use this endpoint when you need real-time DEX market data (price, volume, liquidity) for a specific token by symbol, name, or contract address without needing a persistent API key. Ideal for agents performing on-chain research or crypto trading analysis that require pay-per-call micropayment access.

## Known failure modes

- Token symbol not found — returns empty pairs array
- Invalid or non-existent contract address — no results returned
- Query parameter 'q' missing — request validation error
- Token exists but has no active DEX pairs — empty result
- Payment failure via x402 — 402 response requiring USDC payment on Base

## How this service works

Live decentralized-exchange trading data for ANY token by symbol, name, or contract address: USD price, 24h volume, liquidity, buy/sell transaction counts, and price momentum across 5m/1h/6h/24h, across every chain and DEX. For crypto trading, sniping, research and portfolio agents that poll the market constantly. One paid call instead of integrating Dexscreener.

## Output

A JSON object containing an array of DEX trading pairs for the queried token, each with pair name (e.g. WIF/SOL), chain, current USD price, 24-hour trading volume, 24-hour price change percentage, and liquidity in USD.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Token symbol, name, or contract address (e.g. WIF, PEPE, or 0x...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "pairs": {
       "type": "array"
      },
      "query": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pairs": [
   {
    "pair": "WIF/SOL",
    "chain": "solana",
    "price_usd": 2.31,
    "volume_24h": 18500000,
    "price_change": {
     "h24": 5.2
    },
    "liquidity_usd": 9200000
   }
  ],
  "query": "WIF"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/riley-craig-x402-agent-store-dex-trading-pairs-lookup-aced71e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-store.rileycraig14.workers.dev](https://www.zero.xyz/host/x402-agent-store.rileycraig14.workers.dev/llms.txt)
