# CoinStats Rainbow Chart

> CoinStats Rainbow Chart is a paid API for AI agents from x402.coinstats.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns logarithmic valuation band data (rainbow chart) for Bitcoin or Ethereum, mapping price history from cycle lows to bubble highs

## Facts

- Endpoint: GET https://x402.coinstats.app/insights/rainbow-chart/:coinId
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-coinstats-app-b001af5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bCVZj1kWA0ZRwlplJnugL

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-coinstats-app-b001af5c
```

Example prompt: Pull up the CoinStats rainbow chart for Bitcoin — I want to see the current logarithmic valuation band and where BTC sits relative to the cycle lows and bubble highs.

## When to prefer this

Use this endpoint when you need logarithmic cycle valuation bands (rainbow chart) specifically for Bitcoin or Ethereum from CoinStats. Prefer this over general price endpoints when the user wants to understand long-term valuation context, cycle positioning, or bubble vs. undervaluation analysis rather than just a spot price.

## Known failure modes

- Invalid coinId returns 404 or empty response
- Unsupported coin (only BTC/ETH likely supported) returns error
- Payment failure via x402 protocol returns 402
- Network timeout or upstream CoinStats data unavailability returns 503

## How this service works

CoinStats rainbow chart for BTC/ETH — logarithmic valuation bands from cycle lows to bubble highs

## Output

Returns the rainbow chart data for the requested cryptocurrency (BTC or ETH), including logarithmic price bands labeled from deep undervaluation to extreme bubble territory, along with historical price data points mapped against those bands to indicate current and past cycle positioning.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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