# token-price

> token-price is a paid API for AI agents from chain.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Returns the current USD price of any ERC-20 token by contract address, including 24h price change, liquidity, and market cap, sourced from the deepest DEX pair

## Facts

- Endpoint: GET https://chain.intel.rallylive.ca/token/price?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-price-6b6edcd3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A_7g49U4xHJ4sWnvHMlwq

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 token-price-6b6edcd3
```

Example prompt: What's the current USD price of the USDC token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — and what's its 24h change and market cap?

## When to prefer this

Use this endpoint when you need real-time DEX-sourced price data for any ERC-20 token across major EVM chains (Base, Ethereum, Arbitrum, Optimism, Polygon, BSC), especially when you need accompanying market metrics like 24h change, liquidity, and market cap in a single call. Prefer this over centralized exchange price feeds when the token may only trade on DEXes.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error
- Token with no DEX liquidity may return null or zero price
- Unsupported chain prefix causes a bad request error
- Newly launched tokens with insufficient trading history may have incomplete data
- Network congestion may cause delayed price data

## How this service works

Current USD price of any ERC-20 token by contract address (deepest DEX pair), with 24h change, liquidity and market cap. Default chain Base; prefix another: ethereum:, arbitrum:, optimism:, polygon:, bsc:. $0.01 per call.

## Output

Returns the current USD price of the ERC-20 token derived from the deepest DEX liquidity pair on the specified chain, along with the 24-hour price change percentage, total DEX liquidity in USD, and market capitalization.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-price-6b6edcd3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chain.intel.rallylive.ca](https://www.zero.xyz/host/chain.intel.rallylive.ca/llms.txt)
