{
  "schema_version": 1,
  "name": "CoinPaprika Compare Coins read-only integration guide",
  "data_kind": "live",
  "access": "Public. No authentication for the page, the JSON snapshot or these files.",
  "resources": {
    "page": "https://coinpaprika.com/compare",
    "data": "https://coinpaprika.com/api/compare/data?coins=btc-bitcoin,eth-ethereum,sol-solana",
    "methodology": "https://coinpaprika.com/compare/methodology.json",
    "llms": "https://coinpaprika.com/compare/llms.txt"
  },
  "capabilities": [
    "Compare 1–6 CoinPaprika coins by id",
    "15 chart metrics on daily history",
    "SMA and EMA: 10, 20, 50, 200 daily averages",
    "Bollinger Bands (20, 2σ)",
    "Ranges from 1 week to the full history, or exact dates",
    "CSV export of the visible chart (Export chart CSV)",
    "Reproducible chart configuration in the URL (Share setup)",
    "Branded PNG of the chart (Share chart snapshot); image clipboard support depends on the browser"
  ],
  "url_shape": {
    "path": "/compare/{coin_id}/{coin_id}/... — 1 to 6 CoinPaprika coin ids, e.g. /compare/btc-bitcoin/eth-ethereum. Bare /compare compares btc-bitcoin, eth-ethereum, sol-solana.",
    "canonical": "The path alone. Any query parameter makes a non-canonical (noindex) view of the same comparison."
  },
  "query_parameters": {
    "metric": {
      "allowed": [
        "performance",
        "price",
        "cap",
        "volume",
        "volchange",
        "return",
        "volatility",
        "drawdown",
        "rsi",
        "relvol",
        "turnover",
        "madistance",
        "macd",
        "histogram",
        "capchange"
      ],
      "default": "performance"
    },
    "range": {
      "allowed": ["1w", "2w", "1m", "2m", "3m", "6m", "9m", "1y", "18m", "2y", "ytd", "max"],
      "default": "1y",
      "description": "Ends on the last completed UTC day. Ignored when from and to are given."
    },
    "from": {
      "type": "YYYY-MM-DD",
      "description": "First day of an exact window (with to)."
    },
    "to": {
      "type": "YYYY-MM-DD",
      "description": "Last day of an exact window, at most yesterday (UTC). Windows shorter than 7 days are widened to 7."
    },
    "scope": {
      "allowed": ["single", "all"],
      "default": "single",
      "description": "Overlays for the focus coin only, or for every coin."
    },
    "focus": {
      "type": "selected coin id",
      "description": "The coin overlays apply to with scope=single; the first coin by default."
    },
    "type": {
      "allowed": ["sma", "ema"],
      "default": "sma"
    },
    "ma": {
      "type": "comma-separated periods",
      "allowed": [10, 20, 50, 200]
    },
    "bands": {
      "allowed": ["0", "1"],
      "default": "0"
    },
    "scale": {
      "allowed": ["linear", "log"],
      "default": "linear",
      "description": "Log only for positive price, market cap or volume series."
    },
    "preset": {
      "allowed": [
        "performance",
        "trend",
        "swing",
        "structure",
        "bands",
        "momentum",
        "macd",
        "risk",
        "volatility",
        "activity",
        "turnover",
        "mean"
      ]
    }
  },
  "legacy_parameters": {
    "coins": "Comma-separated ids, used when the path names none.",
    "period": "0–8 from the previous comparison page, mapped to the nearest range; 8 with start/end is an exact window."
  },
  "example_url": "https://coinpaprika.com/compare/btc-bitcoin/eth-ethereum?metric=price&ma=50,200&scope=all",
  "data_endpoint": {
    "url": "https://coinpaprika.com/api/compare/data?coins={id,id,...}",
    "window": "365 days ending on the last completed UTC day; query parameters other than coins are ignored.",
    "statuses": {
      "200": "snapshot",
      "400": "malformed coins",
      "404": "unknown coin id",
      "503": "history temporarily unavailable"
    }
  },
  "limitations": [
    "No trading, accounts, alerts or write API.",
    "No funding, open interest, liquidations, order book or on-chain metrics.",
    "This document is a descriptive interface guide, not an MCP or WebMCP endpoint."
  ]
}
