{
  "openapi": "3.1.0",
  "info": {
    "title": "CapTicker API",
    "version": "1.0.0",
    "description": "Live crypto market data with the reason behind each move. Prices and volume from 13 exchanges, supply read on chain where possible, ETF flows from issuers. Free for normal use; send an API key in `x-api-key` for higher limits (free keys at /developers). Please link to CapTicker when you show the data."
  },
  "servers": [
    {
      "url": "https://capticker.com/v1"
    }
  ],
  "externalDocs": {
    "url": "https://capticker.com/developers"
  },
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "security": [
    {},
    {
      "apiKey": []
    }
  ],
  "paths": {
    "/brief": {
      "get": {
        "summary": "Ready-made answers about today’s market, with evidence",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/positions": {
      "get": {
        "summary": "Largest open positions on Hyperliquid with real liquidation prices, opened and closed today",
        "parameters": [
          {
            "name": "coin",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/coins/{symbol}/liquidation-levels": {
      "get": {
        "summary": "Real liquidation prices of big open positions near the current price",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "Coin ticker, e.g. BTC",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/pulse": {
      "get": {
        "summary": "Is today’s move real? Breadth, beyond-Bitcoin, leverage and sentiment checks with a verdict",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/market": {
      "get": {
        "summary": "Total market cap, volume and dominance",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/market-view": {
      "get": {
        "summary": "Market regime, signals and track record",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/coins": {
      "get": {
        "summary": "List coins",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "market_cap",
                "volume",
                "change_24h"
              ],
              "default": "market_cap"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "crypto",
                "stock",
                "all"
              ],
              "default": "crypto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/coins/{symbol}": {
      "get": {
        "summary": "One coin: price, market cap, supply, markets",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "Coin ticker, e.g. BTC",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/coins/{symbol}/why": {
      "get": {
        "summary": "Why the coin moved, with performance",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "Coin ticker, e.g. BTC",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/coins/{symbol}/compare": {
      "get": {
        "summary": "The coin against the market and its sector",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "Coin ticker, e.g. BTC",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "window",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "1h",
                "24h",
                "7d"
              ],
              "default": "24h"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/coins/{symbol}/candles": {
      "get": {
        "summary": "Daily closes, or 1-minute candles for tracked coins",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "Coin ticker, e.g. BTC",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "interval",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "1d",
                "1m"
              ],
              "default": "1d"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/etf/{asset}": {
      "get": {
        "summary": "Spot ETF flows and holdings per fund",
        "parameters": [
          {
            "name": "asset",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "BTC",
                "ETH",
                "SOL",
                "XRP"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/funding": {
      "get": {
        "summary": "Funding rates across exchanges",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/liquidations": {
      "get": {
        "summary": "Liquidations by coin and hour",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/fear-greed": {
      "get": {
        "summary": "Fear and greed index with inputs",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/treasuries": {
      "get": {
        "summary": "Public companies holding crypto",
        "parameters": [
          {
            "name": "coin",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "BTC",
                "ETH",
                "SOL"
              ],
              "default": "BTC"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/chains": {
      "get": {
        "summary": "Chains ranked by value locked",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/unlocks": {
      "get": {
        "summary": "Token unlocks measured on chain",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/reserves": {
      "get": {
        "summary": "Exchange reserves and net flows",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/tokenized": {
      "get": {
        "summary": "Tokenized stocks and gold vs the real asset",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/news": {
      "get": {
        "summary": "Headlines tagged by coin",
        "parameters": [
          {
            "name": "coin",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/arena/leaderboard": {
      "get": {
        "summary": "Paper-trading strategies ranked on results after deployment (virtual money)",
        "parameters": [
          {
            "name": "window",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "30",
                "90",
                "all",
                "new"
              ],
              "default": "30"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/arena/templates": {
      "get": {
        "summary": "Strategy templates",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/arena/daily": {
      "get": {
        "summary": "Today’s Daily Call and the crowd’s split",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    },
    "/arena/strategies/{id}": {
      "get": {
        "summary": "One paper strategy: positions, trades, equity",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Strategy id (case-sensitive)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK. JSON with a `data` field."
          },
          "404": {
            "description": "Unknown item."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    }
  }
}