# CoinGecko Onchain DEX Token Price & Market Data (Base Network, Multi-Token)

> CoinGecko Onchain DEX Token Price & Market Data (Base Network, Multi-Token) is a paid API for AI agents from pro-api.coingecko.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns onchain DEX price and market data for multiple token contract addresses on the Base network.

## Facts

- Endpoint: GET https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/base/token_price/0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b,0x22af33fe49fd1fa80c7149773dde5890d3c76f3b,0xc0634090f2fe6c6d75e61be2b949464abb498973?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-onchain-dex-token-price-market-data-base-network-multi-token-1ccdfc3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cHwUFk-UwZ2WeWJjpk8rP

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 coingecko-onchain-dex-token-price-market-data-base-network-multi-token-1ccdfc3c
```

Example prompt: What are the current onchain DEX prices and 24-hour price changes for these three Base network tokens — 0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b, 0x22af33fe49fd1fa80c7149773dde5890d3c76f3b, and 0xc0634090f2fe6c6d75e61be2b949464abb498973 — including their market caps and 24hr trading volumes?

## When to prefer this

Use this endpoint when you need real-time onchain DEX prices for multiple token contract addresses specifically on the Base network, especially when you want supplementary market data like 24hr volume, price change, market cap, or reserve data in a single call. Prefer over CEX price endpoints when onchain/DEX-sourced pricing is required.

## Known failure modes

- Invalid or unrecognized contract address returns empty or null data for that token
- Network not supported returns 404 or error response
- Too many contract addresses in a single request may result in truncated or partial response
- Missing API key or failed x402 payment returns 401/402 error
- Rate limit exceeded returns 429 error

## How this service works

Query onchain DEX token price & market data based on the provided token contract addresses on a network.

## Output

Returns a JSON object keyed by token contract address, each containing the current onchain USD price from DEX liquidity pools, and optionally 24hr volume, market cap, 24hr price change, total reserve in USD, and FDV depending on query flags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "include_24hr_vol": {
       "type": "boolean"
      },
      "mcap_fdv_fallback": {
       "type": "boolean"
      },
      "include_market_cap": {
       "type": "boolean"
      },
      "include_inactive_source": {
       "type": "boolean"
      },
      "include_24hr_price_change": {
       "type": "boolean"
      },
      "include_total_reserve_in_usd": {
       "type": "boolean"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-onchain-dex-token-price-market-data-base-network-multi-token-1ccdfc3c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pro-api.coingecko.com](https://www.zero.xyz/host/pro-api.coingecko.com/llms.txt)
