# CoinGecko Onchain Token Price – Arbitrum

> CoinGecko Onchain Token Price – Arbitrum 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).

Fetches real-time DEX-based token price and market data for a given token contract address on the Arbitrum network.

## Facts

- Endpoint: GET https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/arbitrum/token_price/:address
- 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-ceb0596a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cvV_7Nl3VM0PLUNtjUsy8

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

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

## When to prefer this

Choose this endpoint when you need real-time, DEX-sourced token prices specifically on the Arbitrum network using a contract address. It is ideal for DeFi agents, portfolio trackers, and trading bots that need onchain price discovery rather than centralized exchange prices. Prefer this over generic CoinGecko coin ID-based endpoints when you have a contract address and need Arbitrum-specific onchain data including liquidity metrics.

## Known failure modes

- Invalid or unrecognized contract address returns empty or error response
- Token not listed on any Arbitrum DEX returns no price data
- Malformed address path parameter causes 400 Bad Request
- Payment not processed (x402) results in 402 Payment Required
- Rate limiting or quota exceeded returns 429 Too Many Requests
- Network outage or CoinGecko downtime returns 5xx 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 containing the USD price of the specified token as observed on Arbitrum DEXes, along with optional fields such as 24-hour trading volume, market capitalization, 24-hour price change percentage, and total reserve in USD — all sourced from CoinGecko's onchain data aggregation.

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