# CoinGecko On-Chain Price – USDC on Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)

> CoinGecko On-Chain Price – USDC on Base (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) 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-10-11).

Returns the current on-chain price for the USDC ERC-20 token (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) on the Coinbase Base network, with optional 24h volume, market cap, and price change data.

## Facts

- Endpoint: GET https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/base/token_price/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913?utm_source=zero.xyz
- Price: $0.010000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pro-api-coingecko-com-bfcca208
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XemupNZr7UJ428hcdwpGV

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-bfcca208
```

Example prompt: What's the current on-chain price of USDC (contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) on the Base network, and can you also include the 24-hour volume and price change?

## When to prefer this

Use this endpoint when you specifically need the on-chain DEX price of the USDC token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on the Coinbase Base network via CoinGecko's on-chain data feed, rather than a CoinGecko off-chain aggregated price. Ideal for DeFi agents that require real-time Base network token pricing paid per-call via x402 micropayments.

## Known failure modes

- Token contract address not found on Base network – returns empty or null price data
- Invalid or unsupported network identifier – returns 400 or error response
- Payment not included or insufficient – returns HTTP 402 Payment Required
- Rate limit exceeded – returns 429 Too Many Requests
- CoinGecko Pro API key missing or invalid – returns 401 Unauthorized
- Temporary upstream data unavailability – returns 503 or stale data

## How this service works

Returns onchain simple token prices for a specified token address on Base. The response includes the current price for the requested token in a compact JSON payload.

## Output

A JSON object containing the current on-chain price of the specified token on the Base network, plus optional fields for 24-hour trading volume, market capitalization, 24-hour price change percentage, and total reserve in USD, depending on which query parameters are included.

## 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": {
   "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913": {
    "usd": 1,
    "usd_24h_vol": 500000000,
    "usd_24h_change": 0.5,
    "usd_market_cap": 25000000000
   }
  }
 }
}
```

## 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-bfcca208/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)
