# CoinGecko Pro Onchain Token Price – Base Network (Contract 0x008d35764dcaa84e6d71bb29cb55b40d843eda0d)

> CoinGecko Pro Onchain Token Price – Base Network (Contract 0x008d35764dcaa84e6d71bb29cb55b40d843eda0d) is a paid API for AI agents from pro-api.coingecko.com, paid per call via x402, $0.010000/call, status unknown (last checked 2026-09-13).

Returns real-time onchain DEX price and market data for a specific token on the Base network, identified by a hardcoded contract address, via CoinGecko Pro.

## Facts

- Endpoint: GET https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/base/token_price/0x008d35764dcaa84e6d71bb29cb55b40d843eda0d
- Price: $0.010000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pro-api-coingecko-com-0ab3efcd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P4ZUrY0JL3VsEOAeIGngV

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 pro-api-coingecko-com-0ab3efcd
```

Example prompt: What's the current onchain price for the token at contract address 0x008d35764dcaa84e6d71bb29cb55b40d843eda0d on Base, and can you also include its 24-hour volume, price change, and market cap?

## When to prefer this

Use this endpoint when you specifically need real-time onchain DEX price data for the token at contract 0x008d35764dcaa84e6d71bb29cb55b40d843eda0d on the Base network, sourced from CoinGecko Pro's onchain data pipeline. Prefer this over CoinGecko's centralized exchange price endpoints when you need DEX-sourced liquidity and reserve data. Best for DeFi analytics, portfolio tracking, or arbitrage monitoring on Base.

## Known failure modes

- Token contract address not found on the Base network — returns empty or null price data
- Network connectivity or CoinGecko Pro API outage — returns 5xx error
- Invalid or malformed contract address — returns 400 or empty result
- Payment not completed (x402 paywall) — returns 402 Payment Required
- Token is inactive and include_inactive_source not set — may return no data

## How this service works

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

## Output

A JSON object containing the current onchain DEX price (in fiat/USD) for the specified token contract on the Base network, along with optional fields: 24hr trading volume, market capitalization, 24hr price change percentage, total reserve in USD, and FDV — all sourced from CoinGecko Pro's onchain data.

## 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/pro-api-coingecko-com-0ab3efcd/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)
