# CoinGecko Pro Onchain DEX Token Price – Base Network (Multi-Address)

> CoinGecko Pro Onchain DEX Token Price – Base Network (Multi-Address) 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-09-15).

Returns real-time DEX price and market data for multiple token contract addresses on the Base network via CoinGecko Pro's onchain API.

## Facts

- Endpoint: GET https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/base/token_price/0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b,0x22af33fe49fd1fa80c7149773dde5890d3c76f3b,0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf,0x9b5e262cf9bb04869ab40b19af91d2dc85761722,0x296eb9c4d8fcbd00fbc6d5027e4202bf955fa76f
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-pro-onchain-dex-token-price-base-network-multi-address-dfadc24d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Au5jro_H2DDkQ9GZHzevm

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-pro-onchain-dex-token-price-base-network-multi-address-dfadc24d
```

Example prompt: What are the current onchain DEX prices and 24-hour price changes for these five Base network token contracts: 0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b, 0x22af33fe49fd1fa80c7149773dde5890d3c76f3b, 0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bf, 0x9b5e262cf9bb04869ab40b19af91d2dc85761722, and 0x296eb9c4d8fcbd00fbc6d5027e4202bf955fa76f?

## When to prefer this

Use this endpoint when you need real-time onchain DEX prices for one or more specific token contract addresses on the Base network — especially when you want data sourced directly from liquidity pools rather than centralized exchange feeds. Ideal for DeFi portfolio tools, trading bots, or price alerts targeting Base chain tokens. Prefer this over CoinGecko's standard coin price endpoint when you have contract addresses but not CoinGecko coin IDs, or when onchain/DEX-sourced prices are specifically required.

## Known failure modes

- Invalid or unrecognized contract address returns missing or null data for that token
- Network not supported returns 404 or empty response
- Malformed contract address format returns 400 bad request
- Rate limiting or missing API key returns 429 or 401
- Token has no onchain liquidity or DEX pool returns empty price data

## 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 USD price sourced from onchain DEX pools on Base, plus optionally: 24h trading volume, market cap, 24h price change percentage, and total reserve in USD depending on which optional flags were enabled.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "include_24hr_vol": true,
   "include_market_cap": true,
   "include_24hr_price_change": true
  }
 },
 "output": {
  "type": "object",
  "example": {
   "0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b": {
    "usd": 0.0001,
    "usd_24h_vol": 50000,
    "usd_24h_change": 2.5,
    "usd_market_cap": 1000000
   },
   "0x22af33fe49fd1fa80c7149773dde5890d3c76f3b": {
    "usd": 0.00025,
    "usd_24h_vol": 75000,
    "usd_24h_change": -1.2,
    "usd_market_cap": 2500000
   }
  }
 }
}
```

## 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-pro-onchain-dex-token-price-base-network-multi-address-dfadc24d/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)
