# ChainRay Trending Tokens

> ChainRay Trending Tokens is a paid API for AI agents from chainray.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches trending tokens on a specified blockchain network with rankings, metadata, and key metrics for discovery and analytics.

## Facts

- Endpoint: GET https://chainray.online/trending-tokens
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-online-a498c6d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H1TVzFSxgDtwI2h66LIXw

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 chainray-online-a498c6d6
```

Example prompt: What tokens are trending on Base right now? Give me the full rankings with metadata and key metrics.

## When to prefer this

Use this endpoint when you need to discover or monitor currently trending tokens on a specific blockchain network, especially Base. Prefer this over general market data APIs when you want chain-specific trending rankings with on-chain metrics rather than just price data. Ideal for DeFi dashboards, token discovery workflows, and analytics pipelines focused on emerging or momentum tokens.

## Known failure modes

- Unsupported chain identifier returns an error or empty result
- Payment failure (402) if USDC payment is not included or insufficient
- Rate limiting or timeout if the chain's data feed is temporarily unavailable
- Invalid query parameter format may result in a 400 bad request

## How this service works

The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.

## Output

Returns a ranked list of trending tokens on the specified chain (defaulting to Base), including token metadata such as names, symbols, contract addresses, and key performance metrics like volume, price change, and market activity indicators useful for discovery and analytics.

## 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": {
      "chain": {
       "type": "string",
       "description": "Blockchain network (e.g., base, ethereum, polygon)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-online-a498c6d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainray.online](https://www.zero.xyz/host/chainray.online/llms.txt)
