# x402 DEX Token Price Lookup

> x402 DEX Token Price Lookup is a paid API for AI agents from x402-tools-production-2755.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Fetches live DEX price, 24h change, volume, liquidity, and market cap for up to 30 token contract addresses across 8 major blockchains

## Facts

- Endpoint: GET https://x402-tools-production-2755.up.railway.app/tools/dex-price?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-dex-token-price-lookup-dc6905cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yRIzDx62CNPMhrZM_9so-

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 x402-dex-token-price-lookup-dc6905cf
```

Example prompt: What's the current DEX price, 24h change, volume, and liquidity for these two Base tokens: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and 0x4200000000000000000000000000000000000006?

## When to prefer this

Choose this endpoint when you need live on-chain DEX prices for tokens that may not be listed on CoinGecko or CoinMarketCap, especially long-tail, newly launched, or obscure DeFi tokens. It supports up to 30 contract addresses per call across 8 chains, making it efficient for batch portfolio pricing. Prefer it over CoinGecko-based endpoints when dealing with contract-address-level lookups rather than ticker symbols.

## Known failure modes

- Invalid or non-existent contract address returns no price data (no charge applied)
- Unsupported network name returns validation error
- Exceeding 30 addresses per call may result in truncation or error
- Token with no DEX liquidity or trading activity returns empty price data
- Solana mint address provided on EVM network param (or vice versa) returns no match

## How this service works

Use to price tokens by contract address, including long-tail tokens with no CoinGecko listing. Live DEX price, 24h change, volume, liquidity and market cap for up to 30 tokens per call on ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, solana. One flat price per call; not charged if no address has a price.

## Output

Returns a JSON object per requested token address containing: live DEX price (in USD), 24-hour price change percentage, 24-hour trading volume, liquidity depth, market cap, and associated token metadata. If no address has a retrievable price, the call is not charged.

## 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",
     "properties": {
      "address": {
       "type": "string",
       "description": "A single token address (alternative to 'addresses')"
      },
      "network": {
       "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon",
        "bsc",
        "avalanche",
        "solana"
       ],
       "type": "string",
       "description": "Default: base"
      },
      "addresses": {
       "type": "string",
       "description": "Comma-separated token contract addresses (Solana: mint addresses), up to 30"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-dex-token-price-lookup-dc6905cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-tools-production-2755.up.railway.app](https://www.zero.xyz/host/x402-tools-production-2755.up.railway.app/llms.txt)
