# token-recent-trades

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

Fetches the latest 100 DEX trades for a token or pool, including trade side, USD size, trader address, transaction hash, buy/sell volume, net flow, whale trades over $10k, and unique trader count.

## Facts

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

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-recent-trades-d60ece34
```

Example prompt: Pull the latest 100 DEX trades for the token at 0x4200000000000000000000000000000000000006 on Base — I want to see buy vs sell volume, net flow, any whale trades over $10k, and who the active traders are.

## When to prefer this

Use this endpoint when you need real-time DEX trade flow data — buy/sell pressure, whale activity, and momentum signals — for a specific token or pool across Base, Ethereum, Arbitrum, Optimism, Polygon, or BSC. Prefer this over general token price or liquidity endpoints when you need trader-level granularity, net flow direction, or smart-money detection.

## Known failure modes

- Invalid or non-existent token/pool address returns an error or empty trade list
- Unsupported chain prefix results in an error response
- Token with very low liquidity or no recent trades returns empty or sparse results
- Missing required input parameter causes a 400-level error
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Latest 100 DEX trades for a token or pool: side, USD size, trader, tx, plus buy vs sell volume, net flow, whale trades over $10k and unique traders. Smart-money and momentum signal. Default chain Base; prefix another: ethereum:, arbitrum:, optimism:, polygon:, bsc:. $0.02 per call.

## Output

Returns the latest 100 DEX trades for the specified token or pool, including per-trade data (buy/sell side, USD size, trader address, transaction hash) and aggregate metrics (total buy volume, total sell volume, net flow, whale trades above $10k, unique trader count). Useful as a smart-money and momentum signal.

## 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-recent-trades-d60ece34/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)
