# CoinGecko Pro Onchain Token Price – Tron Network

> CoinGecko Pro Onchain Token Price – Tron Network 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-13).

Returns real-time DEX token price and market data for a specific token contract address on the Tron network.

## Facts

- Endpoint: GET https://pro-api.coingecko.com/api/v3/x402/onchain/simple/networks/tron/token_price/TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-pro-onchain-token-price-tron-network-62bbbbe9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v14PAQ4mXK8ikx2HKMEOk

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-token-price-tron-network-62bbbbe9
```

Example prompt: What's the current onchain price and 24-hour trading volume for the Tron token at contract address TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8, and can you also include its market cap and 24hr price change?

## When to prefer this

Use this endpoint when you need real-time onchain DEX price data specifically for a token on the Tron network identified by its contract address. Prefer this over CoinGecko's standard coin API when dealing with newer or lesser-known TRC20 tokens not yet listed by coin ID, or when you need DEX-sourced liquidity and reserve data rather than aggregated exchange prices.

## Known failure modes

- Invalid or unrecognized contract address returns empty or null data
- Token not listed on any DEX on Tron returns no price data
- Payment not completed (x402 protocol) returns 402 Payment Required
- Network outage or CoinGecko API downtime returns 5xx error
- Inactive token with no recent trades may return stale or missing 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 real-time onchain price data for the specified Tron token contract, potentially including USD price, 24hr volume, market capitalization, 24hr price change percentage, total reserve in USD, and FDV — sourced from DEX liquidity pools on the Tron network.

## 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-token-price-tron-network-62bbbbe9/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)
