# Coin Railz Trending Tokens – DEX Gainers & Losers

> Coin Railz Trending Tokens – DEX Gainers & Losers is a paid API for AI agents from coinrailz.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-15).

Returns top gaining and losing tokens across decentralized exchanges with real-time market data, optionally filtered by blockchain network and timeframe.

## Facts

- Endpoint: POST https://coinrailz.com/x402/service/trending-tokens
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coin-railz-trending-tokens-dex-gainers-losers-0ea64ef7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c5QUfIwjRZEEPm5BZ_m8r

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 coin-railz-trending-tokens-dex-gainers-losers-0ea64ef7 -d '<json body>'
```

Example prompt: What are the top gaining and losing tokens on Ethereum right now? Show me the biggest movers from the last 24 hours across DEXs.

## When to prefer this

Use this endpoint when you need a ranked list of top gaining and losing tokens across DEXs in real time, especially when you want to filter by a specific blockchain or custom timeframe. Prefer this over general price APIs when the goal is to surface market momentum and volatility leaders rather than look up a specific token's price.

## Known failure modes

- Invalid chain parameter returns error or empty results
- Unsupported timeframe value may return default 24h data or an error
- Service unavailable during high network congestion
- Payment failure (insufficient USDC) results in 402 response blocking access
- Empty results if no significant movers detected for the given filter combination

## How this service works

Top gaining and losing tokens across DEXs with real-time market data

## Output

Returns two arrays: 'gainers' listing top performing tokens and 'losers' listing worst performing tokens, each with real-time market data from decentralized exchanges. Data can be scoped to a specific blockchain network and time window.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Blockchain network (optional, default: all)"
  },
  "timeframe": {
   "type": "string",
   "description": "Time period (optional, default: 24h)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "losers": {
   "type": "array",
   "description": "Top losing tokens"
  },
  "gainers": {
   "type": "array",
   "description": "Top gaining tokens"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coin-railz-trending-tokens-dex-gainers-losers-0ea64ef7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinrailz.com](https://www.zero.xyz/host/coinrailz.com/llms.txt)
