# x402 Bazaar Token Momentum

> x402 Bazaar Token Momentum is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Returns price change and trading volume across 1h, 6h, and 24h windows for a Base chain token, with a trend label (strong_up to strong_down), paid via x402 micropayment.

## Facts

- Endpoint: POST https://api.relai.fi/relay/1782567677091/api/x402/token-momentum?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-token-momentum-c3680258
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JuQGtdMZ4716WKPqbMdbM

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 x402-bazaar-token-momentum-c3680258 -d '<json body>'
```

Example prompt: What's the current momentum on Base token 0xabc...123 — give me the price change and volume across 1h, 6h, and 24h windows and tell me if it's trending strong up, neutral, or strong down.

## When to prefer this

Use this endpoint when you need multi-window momentum data (1h, 6h, 24h) for a Base chain token rather than just a single 24h snapshot. Ideal for agents making trading decisions, alerting on trend reversals, or ranking tokens by momentum. Prefer this over generic price endpoints when the trend direction label (strong_up to strong_down) is needed for decision logic.

## Known failure modes

- 402 Payment Required returned initially — agent must submit x402 USDC payment on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6 and retry
- Invalid or unrecognized token contract address returns error
- Token not listed or lacking sufficient trade history may return empty or null momentum fields
- Network issues on Base chain may delay or fail data retrieval

## How this service works

Price change and trading volume across 1h, 6h and 24h windows for a Base token, plus a trend read (strong_up → strong_down). Lets agents gauge momentum, not just a single 24h number. Paid via x402: $0.01 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.

## Output

Returns price change percentages and trading volume for 1h, 6h, and 24h windows, plus a categorical trend label ranging from strong_up to strong_down, enabling momentum assessment beyond a single 24h metric.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Token contract address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-bazaar-token-momentum-c3680258/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
