{
  "openapi": "3.0.3",
  "info": {
    "contact": {
      "name": "DataMaxi+ support",
      "email": "support@datamaxiplus.com",
      "url": "https://datamaxiplus.com/contact"
    },
    "title": "DataMaxi+ API",
    "version": "1.0.0",
    "description": "Crypto market data for AI agents and trading bots: KRW premium, funding rates, open interest, liquidations, exchange listings and wallet status across 17+ venues, with history for backtests. Pay per call from one prepaid USD balance shared by the REST API and the MCP server.\n\nEvery operation carries x-price (USD per successful call). Only 2xx responses are charged; 402 means the prepaid balance needs a top-up. The same data is available as MCP tools at https://mcp.datamaxiplus.com/mcp.",
    "termsOfService": "https://datamaxiplus.com/terms",
    "x-pricing": "https://datamaxiplus.com/pricing.json",
    "x-mcp": "https://mcp.datamaxiplus.com/mcp"
  },
  "servers": [
    {
      "url": "https://api.datamaxiplus.com",
      "description": "Main server"
    }
  ],
  "paths": {
    "/api/v1/cex/announcements": {
      "get": {
        "summary": "Announcements",
        "description": "Get latest announcements from centralized exchanges",
        "tags": [
          "announcements"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "Page number",
            "schema": {
              "type": "integer",
              "default": 1,
              "example": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size",
            "schema": {
              "type": "integer",
              "default": 10,
              "example": 100
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Specifies sort",
            "schema": {
              "type": "string",
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ],
              "example": "asc"
            }
          },
          {
            "name": "key",
            "in": "query",
            "description": "Specifies key to sort by",
            "schema": {
              "type": "string",
              "default": "timestamp",
              "enum": [
                "exchange",
                "category",
                "title",
                "timestamp"
              ],
              "example": "title"
            }
          },
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifies exchange(s), separated by ,",
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "category",
            "in": "query",
            "description": "Specifies category(s), separated by ,",
            "schema": {
              "type": "string",
              "default": "",
              "enum": [
                "notice",
                "listing",
                "delisting",
                "user_events"
              ],
              "example": "listing"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataapiannouncement.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexAnnouncements",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/cex/candle": {
      "get": {
        "summary": "Data",
        "description": "Get historical candle data for a given `exchange`, `symbol`, `interval` and `market`. Returns at most 1,000 candles per call: `to` - `from` may span at most 1,000 intervals (larger ranges return 400), and with both omitted the latest 1,000 candles are returned. History starts 2024-01-01: earlier timestamps are rejected for intervals up to 4h and clamped to 2024-01-01 for longer ones.",
        "tags": [
          "cex-candle"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifes exchange",
            "required": true,
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "market",
            "in": "query",
            "description": "Specifies market",
            "schema": {
              "type": "string",
              "default": "spot",
              "enum": [
                "spot",
                "futures"
              ],
              "example": "spot"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "description": "Specifies symbol",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC-USDT"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "description": "Specifies currency",
            "schema": {
              "type": "string",
              "default": "USD",
              "enum": [
                "USD",
                "KRW"
              ],
              "example": "USD"
            }
          },
          {
            "name": "interval",
            "in": "query",
            "description": "Specifies interval",
            "schema": {
              "type": "string",
              "default": "1d",
              "enum": [
                "1m",
                "5m",
                "15m",
                "1h",
                "4h",
                "12h",
                "1d"
              ],
              "example": "1d"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Specifies from (unix seconds; not before 2024-01-01, at most 1,000 candles before to)",
            "schema": {
              "type": "integer",
              "example": 1735657200
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Specifies to (unix seconds; with from and to omitted: the latest 1,000 candles)",
            "schema": {
              "type": "integer",
              "example": 1735693200
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataapicexcandle.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexCandle",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/cex/candle/exchanges": {
      "get": {
        "summary": "Exchanges",
        "description": "Get supported exchanges accepted by `/api/v1/cex/candle` endpoint.",
        "tags": [
          "cex-candle"
        ],
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "description": "Specifies market type",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ],
              "example": "spot"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getCexCandleExchanges",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/cex/candle/intervals": {
      "get": {
        "summary": "Intervals",
        "description": "Fetch supported intervals accepted by `/api/v1/cex/candle` endpoint.",
        "tags": [
          "cex-candle"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getCexCandleIntervals",
        "parameters": [],
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/cex/candle/symbols": {
      "get": {
        "summary": "Symbols",
        "description": "Fetch supported symbols accepted by `/api/v1/cex/candle` endpoint.",
        "tags": [
          "cex-candle"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifies exchange name",
            "required": true,
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "market",
            "in": "query",
            "description": "Specifies market type",
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ],
              "example": "spot"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/dataapicexcandlesymbols.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexCandleSymbols",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/cex/fees": {
      "get": {
        "summary": "Data",
        "description": "Get trading fees.",
        "tags": [
          "trading-fees"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifies exchange",
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "description": "Specifies symbol",
            "schema": {
              "type": "string",
              "example": "BTC-USDT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapiexchangefee.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getCexFees",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/cex/fees/exchanges": {
      "get": {
        "summary": "Exchanges",
        "description": "Get supported exchanges accepted by `/api/v1/trading-fees` endpoint.",
        "tags": [
          "trading-fees"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getCexFeesExchanges",
        "parameters": [],
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/cex/fees/symbols": {
      "get": {
        "summary": "Symbols",
        "description": "Get supported symbols accepted by `/api/v1/trading-fees` endpoint.",
        "tags": [
          "trading-fees"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifes exchange",
            "required": true,
            "schema": {
              "type": "string",
              "example": "binance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getCexFeesSymbols",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/cex/symbol/cautions": {
      "get": {
        "summary": "Active symbol cautions",
        "description": "Return currently-active caution/warning/danger flagged symbols. Bithumb provides an expiry (end_at); other exchanges are open-ended until the next collector poll clears them.",
        "tags": [
          "cex-symbol"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange filter (comma-separated, empty = all)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "market",
            "in": "query",
            "description": "spot or futures",
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ]
            }
          },
          {
            "name": "min_level",
            "in": "query",
            "description": "Minimum severity",
            "schema": {
              "type": "string",
              "enum": [
                "caution",
                "warning",
                "danger"
              ]
            }
          },
          {
            "name": "active_only",
            "in": "query",
            "description": "Exclude rows whose end_at is in the past (default true)",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size (default 500, max 5000)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number (1-based)",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapicexsymbolcautions.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexSymbolCautions",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/cex/symbol/delistings": {
      "get": {
        "summary": "Delisting schedule",
        "description": "Return symbols with a known delisting_at timestamp or trading_status in {delisting, delisted}. Filter by time window to get upcoming delistings.",
        "tags": [
          "cex-symbol"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange filter (comma-separated)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "market",
            "in": "query",
            "description": "spot or futures",
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ]
            }
          },
          {
            "name": "from_ms",
            "in": "query",
            "description": "Lower bound for delisting_at (ms epoch, default = now)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "to_ms",
            "in": "query",
            "description": "Upper bound for delisting_at (ms epoch, default = now+30 days)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "include_past",
            "in": "query",
            "description": "Include already-delisted rows (default false)",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size (default 200, max 2000)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number (1-based)",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapicexsymboldelistings.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexSymbolDelistings",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/cex/symbol/liquidation": {
      "get": {
        "summary": "Per-exchange liquidation aggregate for a base asset",
        "description": "Sums long/short liquidation volume across all events in a rolling window for every exchange × quote pairing of the base asset. Window max 30d; default 24h.",
        "tags": [
          "cex-symbol"
        ],
        "parameters": [
          {
            "name": "base",
            "in": "query",
            "description": "Base asset (e.g. BTC)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "window",
            "in": "query",
            "description": "Time window: 1h / 24h / 7d (default 24h, max 30d)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapicexsymbolliquidation.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexSymbolLiquidation",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/cex/symbol/metadata": {
      "get": {
        "summary": "Symbol metadata",
        "description": "Fetch per-symbol trading status, caution flags, tags and timing metadata collected by tfsymbolmeta.",
        "tags": [
          "cex-symbol"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Comma-separated exchange names (empty = all)",
            "schema": {
              "type": "string",
              "example": "upbit,bithumb"
            }
          },
          {
            "name": "market",
            "in": "query",
            "description": "spot or futures (empty = both)",
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ]
            }
          },
          {
            "name": "base",
            "in": "query",
            "description": "Base asset filter",
            "schema": {
              "type": "string",
              "example": "BTC"
            }
          },
          {
            "name": "quote",
            "in": "query",
            "description": "Quote asset filter",
            "schema": {
              "type": "string",
              "example": "USDT"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "trading_status filter (repeatable, comma-separated)",
            "schema": {
              "type": "string",
              "example": "trading,delisting"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size (default 200, max 2000)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number (1-based)",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapicexsymbolmetadata.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexSymbolMetadata",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/cex/symbol/oi": {
      "get": {
        "summary": "Per-exchange Open Interest for a base asset",
        "description": "Latest Open Interest snapshot across every futures venue carrying the given base. Sorted by USD value descending, NULLs last.",
        "tags": [
          "cex-symbol"
        ],
        "parameters": [
          {
            "name": "base",
            "in": "query",
            "description": "Base asset (e.g. BTC)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange filter (narrows to a single venue)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapicexsymboloi.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexSymbolOi",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/cex/symbol/oi-stats": {
      "get": {
        "summary": "Per-exchange Open Interest snapshot with deltas",
        "description": "Enriched snapshot combining the latest OI (USD) with 1h/4h/24h change percentages and OI/24h volume ratio. Backed by the tfopeninterest taskflow's Redis HASH.",
        "tags": [
          "cex-symbol"
        ],
        "parameters": [
          {
            "name": "base",
            "in": "query",
            "description": "Base asset (e.g. BTC)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange filter — when omitted, returns every venue carrying the base",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "description": "Convert *_usd fields to target currency (USD or KRW)",
            "schema": {
              "type": "string",
              "default": "USD",
              "enum": [
                "USD",
                "KRW"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapicexsymboloistats.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexSymbolOiStats",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/cex/symbol/tags": {
      "get": {
        "summary": "Symbol tags",
        "description": "Fetch (exchange, market, base, quote, tag) rows from cex_symbol_tag. Use to find every symbol flagged with a given tag (e.g. all meme coins across exchanges).",
        "tags": [
          "cex-symbol"
        ],
        "parameters": [
          {
            "name": "tag",
            "in": "query",
            "description": "Tag filter (repeatable, comma-separated)",
            "schema": {
              "type": "string",
              "example": "meme,ai"
            }
          },
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange filter (repeatable, comma-separated)",
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "market",
            "in": "query",
            "description": "spot or futures",
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ]
            }
          },
          {
            "name": "base",
            "in": "query",
            "description": "Base asset filter",
            "schema": {
              "type": "string",
              "example": "BTC"
            }
          },
          {
            "name": "source",
            "in": "query",
            "description": "Tag source filter",
            "schema": {
              "type": "string",
              "enum": [
                "rest_native",
                "announcement",
                "cmc",
                "manual"
              ]
            }
          },
          {
            "name": "min_confidence",
            "in": "query",
            "description": "Minimum confidence (0-100, default 80)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size (default 500, max 5000)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number (1-based)",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapicexsymboltags.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexSymbolTags",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/cex/symbol/volume": {
      "get": {
        "summary": "Per-exchange 24h volume",
        "description": "Latest 24h trading volume across every (exchange, market, quote) a token lists on. Backed by cache.latest_volume.",
        "tags": [
          "cex-symbol"
        ],
        "parameters": [
          {
            "name": "base",
            "in": "query",
            "description": "Base asset (e.g. BTC)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "market",
            "in": "query",
            "description": "Filter to spot or futures",
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapicexsymbolvolume.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexSymbolVolume",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/cex/token/updates": {
      "get": {
        "summary": "Token Updates",
        "description": "Fetch latest token updates",
        "tags": [
          "token"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "Specifies page",
            "schema": {
              "type": "string",
              "default": "1",
              "example": "1"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Specifies limit",
            "schema": {
              "type": "string",
              "default": "10",
              "example": "10"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Specifies type of token update",
            "schema": {
              "type": "string",
              "enum": [
                "listed",
                "delisted"
              ],
              "example": "listed"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapitokenupdates.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getCexTokenUpdates",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/forex": {
      "get": {
        "summary": "Forex",
        "description": "Get the latest forex rate for given symbol.",
        "tags": [
          "forex"
        ],
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "description": "Specifies symbol",
            "required": true,
            "schema": {
              "type": "string",
              "example": "USD-KRW"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/apiforex.Forex"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            },
            "headers": {
              "X-Request-Id": {
                "description": "Correlation id to quote in a support report",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "operationId": "getForex",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/forex/symbols": {
      "get": {
        "summary": "Symbols",
        "description": "Get supported forex symbols.",
        "tags": [
          "forex"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getForexSymbols",
        "parameters": [],
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/funding-rate/exchanges": {
      "get": {
        "summary": "Exchanges",
        "description": "Get supported exchanges accepted by `/api/v1/funding-rate` endpoint.",
        "tags": [
          "funding-rate"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getFundingRateExchanges",
        "parameters": [],
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/funding-rate/history": {
      "get": {
        "summary": "Historical funding rate",
        "description": "Get historical funding rate data for a given `exchange` and `symbol`. Returns at most 100 rows per call; page through or narrow from/to for longer ranges.",
        "tags": [
          "funding-rate"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifes exchange",
            "required": true,
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "description": "Specifies symbol",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC-USDT"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Specifies page",
            "schema": {
              "type": "integer",
              "default": 1,
              "example": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Specifies limit (max 100; larger values are capped)",
            "schema": {
              "type": "integer",
              "default": 10,
              "example": 100,
              "maximum": 100
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Specifies from (unix seconds)",
            "schema": {
              "type": "integer",
              "example": 1735657200
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Specifies to (unix seconds)",
            "schema": {
              "type": "integer",
              "example": 1735693200
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Specifies sort",
            "schema": {
              "type": "string",
              "default": "asc",
              "enum": [
                "asc",
                "desc"
              ],
              "example": "asc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataapifundingratehistory.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getFundingRateHistory",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/funding-rate/latest": {
      "get": {
        "summary": "Latest funding rate",
        "description": "Fetch the latest funding rate data for a given `exchange` and `symbol`.",
        "tags": [
          "funding-rate"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifies exchange",
            "required": true,
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "description": "Specifies symbol",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC-USDT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/apifundingrate.Snapshot"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getFundingRateLatest",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/funding-rate/symbols": {
      "get": {
        "summary": "Symbols",
        "description": "Fetch supported symbols accepted by `/api/v1/funding-rate` endpoint.",
        "tags": [
          "funding-rate"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifies exchange name. Omit to receive symbols for all exchanges; constrain to a single exchange when filtering.",
            "schema": {
              "type": "string",
              "example": "binance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/dataapifundingratesymbols.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getFundingRateSymbols",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/index-price": {
      "get": {
        "summary": "Historical Index Price",
        "description": "Get index price",
        "tags": [
          "index-price"
        ],
        "parameters": [
          {
            "name": "asset",
            "in": "query",
            "description": "Asset",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Specifies from (unix seconds)",
            "schema": {
              "type": "integer",
              "example": 1735657200
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "Specifies to (unix seconds)",
            "schema": {
              "type": "integer",
              "example": 1735693200
            }
          },
          {
            "name": "interval",
            "in": "query",
            "description": "interval",
            "schema": {
              "type": "string",
              "default": "5m",
              "enum": [
                "5m",
                "15m",
                "1h",
                "4h",
                "12h",
                "1d"
              ],
              "example": "5m"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapihistoricalindexprice.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getIndexPrice",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.002,
          "currency": "USD",
          "unit": "call",
          "tier": "T3",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/liquidation": {
      "get": {
        "summary": "Recent Liquidations",
        "description": "Fetch recent liquidation events for a futures symbol on a given exchange, newest first.",
        "tags": [
          "liquidation"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange identifier",
            "required": true,
            "schema": {
              "type": "string",
              "example": "bybit"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "description": "Exchange-native API symbol",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC-USDT"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Number of events to return (1-1000)",
            "schema": {
              "type": "integer",
              "default": 100,
              "example": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiliquidation.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getLiquidation",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/liquidation/feed": {
      "get": {
        "summary": "Liquidation feed",
        "description": "Fetch most recent liquidation events across all futures symbols, newest first. Use together with the `/ws/v1/liquidation/feed` firehose for a live feed view.",
        "tags": [
          "liquidation"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange filter",
            "schema": {
              "type": "string",
              "example": "bybit"
            }
          },
          {
            "name": "base",
            "in": "query",
            "description": "Base asset filter (case-insensitive)",
            "schema": {
              "type": "string",
              "example": "BTC"
            }
          },
          {
            "name": "min_volume_usd",
            "in": "query",
            "description": "Minimum VolumeUsd filter",
            "schema": {
              "type": "number",
              "example": 10000
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Number of events (1-1000)",
            "schema": {
              "type": "integer",
              "default": 100,
              "example": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiliquidationfeed.Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getLiquidationFeed",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/liquidation/heatmap": {
      "get": {
        "summary": "Liquidation heatmap (token × exchange)",
        "description": "Aggregated long/short liquidation USD by (token, exchange) over a rolling window. Result is cached for ~10s. Sub-1h windows are not supported; use the WS feed for finer granularity.",
        "tags": [
          "liquidation"
        ],
        "parameters": [
          {
            "name": "window",
            "in": "query",
            "description": "Rolling window",
            "schema": {
              "type": "string",
              "default": "1h",
              "enum": [
                "1h",
                "4h",
                "24h"
              ]
            }
          },
          {
            "name": "top_n",
            "in": "query",
            "description": "Top N tokens by total",
            "schema": {
              "type": "integer",
              "default": 10,
              "minimum": 1,
              "maximum": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiliquidationheatmap.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getLiquidationHeatmap",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/liquidation/map": {
      "get": {
        "summary": "Liquidation map (price × leverage tier)",
        "description": "Coinglass-style liquidation map for one perpetual pair. Returns a price-grid breakdown of where leveraged positions would be liquidated, split by leverage tier (10x / 25x / 50x / 100x) and side (long below current price, short above). Built from current OI + last-24h candle entries + a fixed leverage-cohort prior. Read the `assumptions` field in the response for the modelling disclaimer. Cached server-side (~5s) so back-to-back polls are cheap.",
        "tags": [
          "liquidation"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange",
            "schema": {
              "type": "string",
              "default": "binance"
            }
          },
          {
            "name": "base",
            "in": "query",
            "description": "Base asset",
            "schema": {
              "type": "string",
              "default": "BTC",
              "example": "BTC"
            }
          },
          {
            "name": "quote",
            "in": "query",
            "description": "Quote asset",
            "schema": {
              "type": "string",
              "default": "USDT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiliquidationmap.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getLiquidationMap",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/liquidation/stats": {
      "get": {
        "summary": "Liquidation KPI stats",
        "description": "Aggregate liquidation stats (total, long/short split, count, venue count, biggest single event) over a 1h/4h/24h/7d window. Backs the liquidation page KPI strip for windows the live feed buffer can't cover.",
        "tags": [
          "liquidation"
        ],
        "parameters": [
          {
            "name": "window",
            "in": "query",
            "description": "Rolling window",
            "schema": {
              "type": "string",
              "default": "1h",
              "enum": [
                "1h",
                "4h",
                "24h",
                "7d"
              ]
            }
          },
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange filter",
            "schema": {
              "type": "string",
              "example": "bybit"
            }
          },
          {
            "name": "min_volume_usd",
            "in": "query",
            "description": "Minimum VolumeUsd filter",
            "schema": {
              "type": "number",
              "example": 10000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiliquidationstats.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getLiquidationStats",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/liquidation/symbol-history": {
      "get": {
        "summary": "Liquidation history (time series for one symbol)",
        "description": "Bucketed long / short liquidation USD over time for a single (base, quote) pair, joined with the futures-candle close as a reference price line. Long/short USD comes from `cex.liquidation` (Side='sell' = long position liquidated, 'buy' = short). Price comes from `candle.futures_1m` on the requested exchange — or Binance as the reference when none is specified. The window is capped by interval: 5m up to 24h, 15m up to 72h, 1h up to 7d (larger combinations return 400). Cached ~30s server-side.",
        "tags": [
          "liquidation"
        ],
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "description": "Base asset",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC"
            }
          },
          {
            "name": "quote",
            "in": "query",
            "description": "Quote asset",
            "schema": {
              "type": "string",
              "default": "USDT"
            }
          },
          {
            "name": "exchange",
            "in": "query",
            "description": "Optional exchange filter for the liquidation aggregation. The price line stays on Binance unless this is set.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "interval",
            "in": "query",
            "description": "Bucket interval",
            "schema": {
              "type": "string",
              "default": "5m",
              "enum": [
                "5m",
                "15m",
                "1h"
              ]
            }
          },
          {
            "name": "window",
            "in": "query",
            "description": "Lookback window (72h needs interval 15m or 1h, 7d needs 1h)",
            "schema": {
              "type": "string",
              "default": "24h",
              "enum": [
                "24h",
                "72h",
                "7d"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiliquidationsymbolhistory.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getLiquidationSymbolHistory",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/listings/historical": {
      "get": {
        "summary": "Historical token listings",
        "description": "Get historical token listings for Upbit and Bithumb for KRW market",
        "tags": [
          "listing"
        ],
        "parameters": [
          {
            "name": "refresh",
            "in": "query",
            "description": "Refresh cache",
            "schema": {
              "type": "boolean",
              "default": false,
              "example": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataapihistoricallisting.Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getListingsHistorical",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/margin-borrow": {
      "get": {
        "summary": "Margin borrow",
        "description": "Get the margin borrow data.",
        "tags": [
          "margin-borrow"
        ],
        "parameters": [
          {
            "name": "asset",
            "in": "query",
            "description": "Token base asset",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapimarginborrow.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getMarginBorrow",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/naver-trend": {
      "get": {
        "summary": "Trend",
        "description": "Get Naver trend data with a daily frequency for a project that is associated with a given [symbol](./symbols). The values in response are normalized into a range from 0 to 100, where 0 corresponds to a minimum interest, and 100 corresponds to a maximum interest of users in Naver search engine.",
        "tags": [
          "naver-trend"
        ],
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "description": "Specifies symbol",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC-USDT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/dataapinavertrend.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getNaverTrend",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/naver-trend/symbols": {
      "get": {
        "summary": "Symbols",
        "description": "Get crypto symbols that are accepted by [Naver trend endpoint](./trend).",
        "tags": [
          "naver-trend"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getNaverTrendSymbols",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/open-interest": {
      "get": {
        "summary": "Latest Open Interest",
        "description": "Fetch the most recent Open Interest snapshot for a futures symbol on a given exchange.",
        "tags": [
          "open-interest"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange identifier",
            "required": true,
            "schema": {
              "type": "string",
              "example": "bybit"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "description": "Exchange-native API symbol",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC-USDT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiopeninterest.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getOpenInterest",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/open-interest/history-aggregated": {
      "get": {
        "summary": "Open Interest history (aggregated)",
        "description": "Historical Open Interest time series for a single token, broken down per exchange and aggregated to a fixed bucket (avg within bucket). The default lookback depends on the requested interval — 7 days for 1h, 30 days for 4h, 1 year for 1d — so callers don't have to hand-tune `from`/`to` for typical queries. The response also includes token metadata (icon, symbol, name) so a single call paints the whole header strip.",
        "tags": [
          "open-interest"
        ],
        "parameters": [
          {
            "name": "token_id",
            "in": "query",
            "description": "Token id",
            "required": true,
            "schema": {
              "type": "string",
              "example": "bitcoin"
            }
          },
          {
            "name": "interval",
            "in": "query",
            "description": "Aggregation interval",
            "schema": {
              "type": "string",
              "default": "1h",
              "enum": [
                "5m",
                "15m",
                "1h",
                "4h",
                "1d"
              ],
              "example": "1h"
            }
          },
          {
            "name": "from",
            "in": "query",
            "description": "Start unix-ms (default: depends on interval — 7d for 1h, 30d for 4h, 1y for 1d)",
            "schema": {
              "type": "integer",
              "example": 1776000000000
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "End unix-ms (default: now)",
            "schema": {
              "type": "integer",
              "example": 1776900000000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiopeninteresthistoryaggregated.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getOpenInterestHistoryAggregated",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.002,
          "currency": "USD",
          "unit": "call",
          "tier": "T3",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/open-interest/list": {
      "get": {
        "summary": "Open Interest list",
        "description": "Fetch latest Open Interest snapshots across exchanges/symbols. Optionally filter by `exchange`. Results are sorted by `openInterestUsd` descending (null values last).",
        "tags": [
          "open-interest"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Exchange filter",
            "schema": {
              "type": "string",
              "example": "bybit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiopeninterestlist.Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getOpenInterestList",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/open-interest/overview": {
      "get": {
        "summary": "Open Interest overview",
        "description": "Paginated token × exchange Open Interest matrix. For each base asset we list the per-exchange notional OI in USD (when a venue carries the token) and `null` when it doesn't trade there. The matrix is sortable by any exchange column and searchable by base symbol — same shape the DataMaxi+ dashboard uses on `/open-interest`. Cached snapshot rebuilds every few seconds, so back-to-back requests are cheap.",
        "tags": [
          "open-interest"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "Page",
            "schema": {
              "type": "integer",
              "default": 1,
              "example": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size",
            "schema": {
              "type": "integer",
              "default": 20,
              "example": 20
            }
          },
          {
            "name": "key",
            "in": "query",
            "description": "Sort-by exchange",
            "schema": {
              "type": "string",
              "default": "binance",
              "example": "binance"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Sort direction",
            "schema": {
              "type": "string",
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ],
              "example": "desc"
            }
          },
          {
            "name": "query",
            "in": "query",
            "description": "Base symbol search",
            "schema": {
              "type": "string",
              "example": "BTC"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiopeninterestoverview.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getOpenInterestOverview",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/open-interest/summary": {
      "get": {
        "summary": "Open Interest summary aggregates",
        "description": "Top-line aggregates over the current Open Interest snapshot — total OI USD, top tokens by OI, top exchanges by OI, and the count of venues currently reporting any base. Powers the OI page's KPI strip and breakdown card without forcing the caller to fetch the full token list.",
        "tags": [
          "open-interest"
        ],
        "parameters": [
          {
            "name": "top_n",
            "in": "query",
            "description": "Top N tokens to return",
            "schema": {
              "type": "integer",
              "default": 10,
              "minimum": 1,
              "maximum": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapiopeninterestsummary.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getOpenInterestSummary",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/ping": {
      "get": {
        "summary": "Ping",
        "description": "Test connectivity to the REST API server. Returns \"OK\" if the server is up and running.",
        "tags": [
          "health"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getPing",
        "parameters": [],
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/premium": {
      "get": {
        "summary": "Premium",
        "description": "Get real-time premium (price difference) data across exchanges.",
        "tags": [
          "premium"
        ],
        "parameters": [
          {
            "name": "source_exchange",
            "in": "query",
            "description": "Specifies source exchange(s), separated by ,",
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "target_exchange",
            "in": "query",
            "description": "Specifies target exchange(s), separated by ,",
            "schema": {
              "type": "string",
              "example": "upbit"
            }
          },
          {
            "name": "asset",
            "in": "query",
            "description": "Specifies asset(s), separated by ,",
            "schema": {
              "type": "string",
              "example": "BTC"
            }
          },
          {
            "name": "source_quote",
            "in": "query",
            "description": "Specifies source quote(s), separated by ,",
            "schema": {
              "type": "string",
              "example": "USDT"
            }
          },
          {
            "name": "target_quote",
            "in": "query",
            "description": "Specifies target quote(s), separated by ,",
            "schema": {
              "type": "string",
              "example": "KRW"
            }
          },
          {
            "name": "source_market",
            "in": "query",
            "description": "Specifies source market",
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ],
              "example": "spot"
            }
          },
          {
            "name": "target_market",
            "in": "query",
            "description": "Specifies target market",
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ],
              "example": "spot"
            }
          },
          {
            "name": "premium_type",
            "in": "query",
            "description": "Specifies premium type(s), separated by ,",
            "schema": {
              "type": "string",
              "enum": [
                "spot-spot",
                "futures-futures",
                "spot-futures"
              ],
              "example": "spot-spot"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "description": "Specifies currency applied to price values",
            "schema": {
              "type": "string",
              "default": "USD",
              "example": "KRW"
            }
          },
          {
            "name": "conversion_base",
            "in": "query",
            "description": "Specifies conversion base",
            "schema": {
              "type": "string",
              "default": "USDT",
              "example": "USDT"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number",
            "schema": {
              "type": "integer",
              "default": 1,
              "example": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size",
            "schema": {
              "type": "integer",
              "default": 10,
              "example": 10
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Specifies sort order",
            "schema": {
              "type": "string",
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ],
              "example": "desc"
            }
          },
          {
            "name": "key",
            "in": "query",
            "description": "Specifies key to sort by",
            "schema": {
              "type": "string",
              "default": "pdp",
              "example": "pdp"
            }
          },
          {
            "name": "query",
            "in": "query",
            "description": "Search query for filtering assets",
            "schema": {
              "type": "string",
              "example": "BTC"
            }
          },
          {
            "name": "only_transferable",
            "in": "query",
            "description": "Filter only transferable assets",
            "schema": {
              "type": "boolean",
              "default": false,
              "example": false
            }
          },
          {
            "name": "network",
            "in": "query",
            "description": "Specifies network(s), separated by ,",
            "schema": {
              "type": "string",
              "example": "ethereum"
            }
          },
          {
            "name": "min_sv",
            "in": "query",
            "description": "Minimum source volume",
            "schema": {
              "type": "number",
              "example": 10000
            }
          },
          {
            "name": "min_tv",
            "in": "query",
            "description": "Minimum target volume",
            "schema": {
              "type": "number",
              "example": 10000
            }
          },
          {
            "name": "token_include",
            "in": "query",
            "description": "Specifies token id(s) to include, separated by ,",
            "schema": {
              "type": "string",
              "example": "bitcoin"
            }
          },
          {
            "name": "token_exclude",
            "in": "query",
            "description": "Specifies token id(s) to exclude, separated by ,",
            "schema": {
              "type": "string",
              "example": "bitcoin"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataapipremium.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getPremium",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/premium/exchanges": {
      "get": {
        "summary": "Exchanges",
        "description": "Get supported source exchanges for premium data.",
        "tags": [
          "premium"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getPremiumExchanges",
        "parameters": [],
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/telegram/channels": {
      "get": {
        "summary": "Channels",
        "description": "Get Telegram channels",
        "tags": [
          "telegram"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "Page number",
            "schema": {
              "type": "integer",
              "default": 1,
              "example": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size",
            "schema": {
              "type": "integer",
              "default": 10,
              "example": 100
            }
          },
          {
            "name": "category",
            "in": "query",
            "description": "Specifies language category of telegram channel",
            "schema": {
              "type": "string",
              "default": "empty",
              "example": "english"
            }
          },
          {
            "name": "key",
            "in": "query",
            "description": "Specifies key to sort by",
            "schema": {
              "type": "string",
              "default": "channelName",
              "enum": [
                "channelName",
                "handle",
                "subscribers",
                "createdAt"
              ],
              "example": "channelName"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Specifies sort",
            "schema": {
              "type": "string",
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ],
              "example": "asc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapitelegramchannels.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getTelegramChannels",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/telegram/messages": {
      "get": {
        "summary": "Messages",
        "description": "Get Telegram messages.",
        "tags": [
          "telegram"
        ],
        "parameters": [
          {
            "name": "channel",
            "in": "query",
            "description": "Specifies channel username",
            "schema": {
              "type": "string",
              "default": "",
              "example": "datamaxiplus"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number",
            "schema": {
              "type": "integer",
              "default": 1,
              "example": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Page size",
            "schema": {
              "type": "integer",
              "default": 10,
              "example": 100
            }
          },
          {
            "name": "key",
            "in": "query",
            "description": "Specifies key to sort by",
            "schema": {
              "type": "string",
              "default": "publishedAt",
              "enum": [
                "channelName",
                "views",
                "reactions",
                "forwards",
                "publishedAt"
              ],
              "example": "publishedAt"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Specifies sort",
            "schema": {
              "type": "string",
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ],
              "example": "asc"
            }
          },
          {
            "name": "category",
            "in": "query",
            "description": "Specifies category",
            "schema": {
              "type": "string",
              "default": "",
              "enum": [
                "english",
                "korean"
              ],
              "example": "english"
            }
          },
          {
            "name": "search_query",
            "in": "query",
            "description": "Specifies search query",
            "schema": {
              "type": "string",
              "default": "",
              "example": "BTC"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapitelegrammessages.Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getTelegramMessages",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0005,
          "currency": "USD",
          "unit": "call",
          "tier": "T2",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/ticker": {
      "get": {
        "summary": "Data",
        "description": "Fetch the latest ticker for symbol from given exchange.",
        "tags": [
          "ticker"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifes exchange",
            "required": true,
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "symbol",
            "in": "query",
            "description": "Specifies symbol",
            "required": true,
            "schema": {
              "type": "string",
              "example": "BTC-USDT"
            }
          },
          {
            "name": "market",
            "in": "query",
            "description": "Specifies market",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ],
              "example": "spot"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "description": "Specifies currency applied to price values",
            "schema": {
              "type": "string",
              "default": "USD",
              "enum": [
                "KRW",
                "USD"
              ],
              "example": "KRW"
            }
          },
          {
            "name": "conversion_base",
            "in": "query",
            "description": "Specifies conversion base applied to price values",
            "schema": {
              "type": "string",
              "default": "USDT",
              "enum": [
                "USD",
                "USDT"
              ],
              "example": "USDT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/dataapiticker.Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          }
        },
        "operationId": "getTicker",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/ticker/exchanges": {
      "get": {
        "summary": "Exchanges",
        "description": "Get supported exchanges accepted by `/api/v1/ticker` endpoint.",
        "tags": [
          "ticker"
        ],
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "description": "Specifies market",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ],
              "example": "spot"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getTickerExchanges",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/ticker/symbols": {
      "get": {
        "summary": "Symbols",
        "description": "Get supported symbols accepted by `/api/v1/ticker` endpoint.",
        "tags": [
          "ticker"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifes exchange",
            "required": true,
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "market",
            "in": "query",
            "description": "Specifies market",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "spot",
                "futures"
              ],
              "example": "spot"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getTickerSymbols",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/time": {
      "get": {
        "summary": "Time",
        "description": "Test connectivity to the API server and get the current server time.",
        "tags": [
          "health"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handlers_dataapihealthtime.Response"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getTime",
        "parameters": [],
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/wallet-status": {
      "get": {
        "summary": "Data",
        "description": "Get the latest wallet status for asset from given exchange.",
        "tags": [
          "wallet-status"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifes exchange",
            "schema": {
              "type": "string",
              "example": "binance"
            }
          },
          {
            "name": "asset",
            "in": "query",
            "description": "Specifies asset",
            "required": true,
            "schema": {
              "type": "string",
              "example": "USDT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/handlers_dataapiwalletstatus.View"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient prepaid balance. Top up, then retry. Not charged."
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getWalletStatus",
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0.0001,
          "currency": "USD",
          "unit": "call",
          "tier": "T1",
          "chargedOn": "2xx"
        }
      }
    },
    "/api/v1/wallet-status/assets": {
      "get": {
        "summary": "Assets",
        "description": "Get assets accepted by `/api/v1/wallet-status` endpoint.",
        "tags": [
          "wallet-status"
        ],
        "parameters": [
          {
            "name": "exchange",
            "in": "query",
            "description": "Specifes exchange",
            "required": true,
            "schema": {
              "type": "string",
              "example": "binance"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/nvrst.ErrResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getWalletStatusAssets",
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    },
    "/api/v1/wallet-status/exchanges": {
      "get": {
        "summary": "Exchanges",
        "description": "Get exchanges accepted by `/api/v1/wallet-status` endpoint.",
        "tags": [
          "wallet-status"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After. Not charged."
          }
        },
        "operationId": "getWalletStatusExchanges",
        "parameters": [],
        "security": [
          {},
          {
            "apiKey": []
          }
        ],
        "x-price": {
          "amount": 0,
          "currency": "USD",
          "unit": "call",
          "tier": "Free"
        }
      }
    }
  },
  "components": {
    "schemas": {
      "apiforex.Forex": {
        "properties": {
          "d": {
            "description": "specifies the unix timestamp of the forex rate",
            "example": 1722913391794,
            "type": "integer"
          },
          "r": {
            "description": "specifies the forex rate",
            "example": 1372.31,
            "type": "number"
          },
          "s": {
            "description": "specifies the name of the forex symbol",
            "example": "USD-KRW",
            "type": "string"
          }
        },
        "type": "object"
      },
      "apifundingrate.Snapshot": {
        "properties": {
          "b": {
            "description": "Specifies the base",
            "type": "string"
          },
          "d": {
            "description": "Specifies the timestamp",
            "type": "integer"
          },
          "e": {
            "description": "Specifies the exchange",
            "type": "string"
          },
          "f": {
            "description": "Specifies the funding rate",
            "type": "number",
            "nullable": true
          },
          "i": {
            "description": "Specifies the interval hours",
            "type": "integer",
            "nullable": true
          },
          "id": {
            "description": "Specifies the token id",
            "type": "string"
          },
          "q": {
            "description": "Specifies the quote",
            "type": "string"
          },
          "s": {
            "description": "Specifies the symbol",
            "type": "string"
          }
        },
        "type": "object"
      },
      "apipremium.View": {
        "properties": {
          "bid": {
            "example": "bitcoin",
            "type": "string"
          },
          "d": {
            "description": "specifies the date and the time in UTC milliseconds",
            "example": 1629780000000,
            "type": "integer"
          },
          "fg": {
            "description": "funding gap which is difference between source and target fundingrate without funding interval consideration",
            "example": 0.01,
            "type": "number",
            "nullable": true
          },
          "nfr": {
            "description": "net fundingrate which takes funding interval into account",
            "example": 0.01,
            "type": "number",
            "nullable": true
          },
          "pdp": {
            "description": "specifies the price difference percentage between the source and target exchanges",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "pdp15m": {
            "description": "specifies the price difference percentage between the source and target exchanges 15m ago",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "pdp1h": {
            "description": "specifies the price difference percentage between the source and target exchanges 1h ago",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "pdp24h": {
            "description": "specifies the price difference percentage between the source and target exchanges 24h ago",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "pdp30m": {
            "description": "specifies the price difference percentage between the source and target exchanges 30m ago",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "pdp4h": {
            "description": "specifies the price difference percentage between the source and target exchanges 4h ago",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "pdp5m": {
            "description": "specifies the price difference percentage between the source and target exchanges 5m ago",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "pmd": {
            "description": "sepcifies premium duration",
            "example": 1,
            "type": "integer",
            "nullable": true
          },
          "sad": {
            "description": "source ask depth within +2% base",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "sad2p": {
            "description": "specifies -2% volume depth from source exchange",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "sadf": {
            "description": "source ask depth within +2% quote",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "sb": {
            "description": "specifies the base token of the source exchange",
            "example": "BTC",
            "type": "string"
          },
          "sbd2p": {
            "description": "specifies +2% volume depth from source exchange",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "sc": {
            "description": "for amm source ticker, amm source chain",
            "example": "ethereum",
            "type": "string",
            "nullable": true
          },
          "se": {
            "description": "specifies the source exchange name",
            "example": "binance",
            "type": "string"
          },
          "sfr": {
            "description": "source funding rate",
            "example": 0.01,
            "type": "number",
            "nullable": true
          },
          "sfri": {
            "description": "source funding rate interval, 1 stands for 1 hour",
            "example": 1,
            "type": "integer",
            "nullable": true
          },
          "sfrt": {
            "description": "source fundingrate info timestamp in UTC millisecond",
            "example": 1737525399882,
            "type": "integer",
            "nullable": true
          },
          "shb": {
            "description": "specifies highest bid from source exchange",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "sla": {
            "description": "specifies lowest bid from source exchange",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "sm": {
            "description": "specifies the source market type",
            "example": "spot",
            "type": "string"
          },
          "sms": {
            "description": "boolean if source exchange margin is supported, returned only for spot market",
            "example": true,
            "type": "boolean",
            "nullable": true
          },
          "snd": {
            "description": "source next distribution time in UTC milliseconds",
            "example": 1737525399882,
            "type": "integer",
            "nullable": true
          },
          "soi": {
            "description": "Open Interest snapshot — USD-denominated. Source and target sides.",
            "example": 1234567890,
            "type": "number",
            "nullable": true
          },
          "soich1h": {
            "description": "OI % change over rolling 1h / 4h / 24h windows.",
            "example": 2.35,
            "type": "number",
            "nullable": true
          },
          "soich24h": {
            "example": 5.4,
            "type": "number",
            "nullable": true
          },
          "soich4h": {
            "example": -1.2,
            "type": "number",
            "nullable": true
          },
          "soivr": {
            "description": "OI / 24h USD quote volume. Crude \"leverage per turnover\" metric.",
            "example": 0.45,
            "type": "number",
            "nullable": true
          },
          "sp": {
            "description": "specifies the latest price of the source exchange in requested currency",
            "example": 45000,
            "type": "number",
            "nullable": true
          },
          "spa": {
            "description": "for amm source ticker, amm pool address",
            "example": "0x1234567890123456789012345678901234567890",
            "type": "string",
            "nullable": true
          },
          "spdp15m": {
            "description": "specifies the price difference percentage of the source exchange in the last 15m",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "spdp1h": {
            "description": "specifies the price difference percentage of the source exchange in the last 1h",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "spdp24h": {
            "description": "specifies the price difference percentage of the source exchange in the last 24h",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "spdp30m": {
            "description": "specifies the price difference percentage of the source exchange in the last 30m",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "spdp4h": {
            "description": "specifies the price difference percentage of the source exchange in the last 4h",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "spdp5m": {
            "description": "specifies the price difference percentage of the source exchange in the last 5m",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "sq": {
            "description": "specifies the quote token of the source exchange",
            "example": "USDT",
            "type": "string"
          },
          "st": {
            "description": "specifies the date and the time of source ticker in UTC milliseconds",
            "example": 1737525399882,
            "type": "integer"
          },
          "sv": {
            "description": "specifies the trading volume of the source exchange in the last 24 hours in requested currency",
            "example": 1000000,
            "type": "number",
            "nullable": true
          },
          "t": {
            "description": "transferable, null if unknown",
            "example": true,
            "type": "boolean",
            "nullable": true
          },
          "tad2p": {
            "description": "specifies -2% volume depth from target exchange",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "tb": {
            "description": "specifies the base token of the target exchange",
            "example": "BTC",
            "type": "string"
          },
          "tbd": {
            "description": "target bid depth within -2% base",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "tbd2p": {
            "description": "specifies +2% volume depth from target exchange",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "tbdf": {
            "description": "target bid depth within -2% quote",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "tc": {
            "description": "for amm target ticker, amm target chain",
            "example": "ethereum",
            "type": "string",
            "nullable": true
          },
          "te": {
            "description": "specifies the target exchange name",
            "example": "bybit",
            "type": "string"
          },
          "tfr": {
            "description": "target funding rate",
            "example": 0.01,
            "type": "number",
            "nullable": true
          },
          "tfri": {
            "description": "target funding rate interval, 1 stands for 1 hour",
            "example": 1,
            "type": "integer",
            "nullable": true
          },
          "tfrt": {
            "description": "target fundingrate info timestamp in UTC millisecond",
            "example": 1737525399882,
            "type": "integer",
            "nullable": true
          },
          "thb": {
            "description": "specifies highest bid from target exchange",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "tla": {
            "description": "specifies lowest bid from target exchange",
            "example": 10001.43,
            "type": "number",
            "nullable": true
          },
          "tm": {
            "description": "specifies the target market type",
            "example": "futures",
            "type": "string"
          },
          "tms": {
            "description": "boolean if target exchange margin is supported, returned only for spot market",
            "example": true,
            "type": "boolean",
            "nullable": true
          },
          "tnd": {
            "description": "target next distribution time in UTC millisconds",
            "example": 1737525399882,
            "type": "integer",
            "nullable": true
          },
          "toi": {
            "example": 987654321,
            "type": "number",
            "nullable": true
          },
          "toich1h": {
            "example": 2.35,
            "type": "number",
            "nullable": true
          },
          "toich24h": {
            "example": 5.4,
            "type": "number",
            "nullable": true
          },
          "toich4h": {
            "example": -1.2,
            "type": "number",
            "nullable": true
          },
          "toivr": {
            "example": 0.52,
            "type": "number",
            "nullable": true
          },
          "tp": {
            "description": "specifies the latest price of the target exchange",
            "example": 45010,
            "type": "number",
            "nullable": true
          },
          "tpa": {
            "description": "for amm target ticker, amm pool address",
            "example": "0x1234567890123456789012345678901234567890",
            "type": "string",
            "nullable": true
          },
          "tpdp15m": {
            "description": "specifies the price difference percentage of the target exchange in the last 15m",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "tpdp1h": {
            "description": "specifies the price difference percentage of the target exchange in the last 1h",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "tpdp24h": {
            "description": "specifies the price difference percentage of the target exchange in the last 24h",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "tpdp30m": {
            "description": "specifies the price difference percentage of the target exchange in the last 30m",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "tpdp4h": {
            "description": "specifies the price difference percentage of the target exchange in the last 4h",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "tpdp5m": {
            "description": "specifies the price difference percentage of the target exchange in the last 5m",
            "example": 0.02,
            "type": "number",
            "nullable": true
          },
          "tq": {
            "description": "specifies the quote token of the target exchange",
            "example": "USDT",
            "type": "string"
          },
          "tt": {
            "description": "specifies the date and the time of target ticker in UTC milliseconds",
            "example": 1737525399882,
            "type": "integer"
          },
          "tv": {
            "description": "specifies the trading volume of the target exchange in the last 24 hours in requested currency",
            "example": 1000000,
            "type": "number",
            "nullable": true
          }
        },
        "required": [
          "bid",
          "d",
          "sb",
          "se",
          "sm",
          "sq",
          "st",
          "tb",
          "te",
          "tm",
          "tq",
          "tt"
        ],
        "type": "object"
      },
      "apiticker.View": {
        "properties": {
          "b": {
            "description": "specifies the base token",
            "example": "BTC",
            "type": "string"
          },
          "d": {
            "description": "specifies the date and the time in UTC milliseconds",
            "example": 1632960000000,
            "type": "integer"
          },
          "e": {
            "description": "specifies the exchange name",
            "example": "binance",
            "type": "string"
          },
          "hb": {
            "description": "highest bid from orderbook",
            "example": 41900,
            "type": "number",
            "nullable": true
          },
          "la": {
            "description": "lowest ask from orderbook",
            "example": 42100,
            "type": "number",
            "nullable": true
          },
          "ld": {
            "description": "lower depth(2%)",
            "example": 1000,
            "type": "number",
            "nullable": true
          },
          "m": {
            "description": "specifies the market type",
            "example": "spot",
            "type": "string"
          },
          "p": {
            "description": "specifies the latest price",
            "example": 43000,
            "type": "number",
            "nullable": true
          },
          "p24h": {
            "description": "specifies the price 24 hours ago",
            "example": 42000,
            "type": "number",
            "nullable": true
          },
          "pc": {
            "description": "specified price change between the latest price and the price 24 hours ago",
            "example": 0.0238,
            "type": "number",
            "nullable": true
          },
          "q": {
            "description": "specifies the quote token",
            "example": "USDT",
            "type": "string"
          },
          "s": {
            "description": "specifies the symbol (base-quote)",
            "example": "BTC-USDT",
            "type": "string"
          },
          "ud": {
            "description": "upper depth(2%)",
            "example": 1000,
            "type": "number",
            "nullable": true
          },
          "v": {
            "description": "specifies the trading volume in the last 24 hours",
            "example": 1000,
            "type": "number",
            "nullable": true
          }
        },
        "required": [
          "b",
          "d",
          "e",
          "m",
          "q",
          "s"
        ],
        "type": "object"
      },
      "dataapiannouncement.Response": {
        "properties": {
          "category": {
            "description": "specifies the exchanges of the announcements",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "data": {
            "description": "`Data` specifies an array of the announcements",
            "items": {
              "$ref": "#/components/schemas/dataapiannouncement.View"
            },
            "type": "array"
          },
          "exchange": {
            "description": "specifies the categories of the announcements",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "limit": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "sort": {
            "type": "string"
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "data",
          "limit",
          "page",
          "sort",
          "total"
        ],
        "type": "object"
      },
      "dataapiannouncement.View": {
        "properties": {
          "c": {
            "description": "specifies the category of the announcement",
            "type": "string"
          },
          "d": {
            "description": "specifies the date of the announcement",
            "type": "integer"
          },
          "e": {
            "description": "specifies the exchange of the announcement",
            "type": "string"
          },
          "s": {
            "description": "specifies the summary of the announcement",
            "type": "string"
          },
          "t": {
            "description": "specifies the title of the announcement",
            "type": "string"
          },
          "u": {
            "description": "specifies the URL of the announcement",
            "type": "string"
          }
        },
        "required": [
          "c",
          "d",
          "e",
          "s",
          "t",
          "u"
        ],
        "type": "object"
      },
      "dataapicexcandle.Response": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/dataapicexcandle.View"
            },
            "type": "array"
          },
          "exchange": {
            "type": "string"
          },
          "interval": {
            "type": "string"
          },
          "market": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "dataapicexcandle.View": {
        "properties": {
          "c": {
            "description": "specifies close price of the candle",
            "example": 60778.21,
            "type": "number"
          },
          "d": {
            "description": "specifies the opening date and time of candle",
            "type": "integer"
          },
          "h": {
            "description": "specifies high price of the candle",
            "example": 60778.21,
            "type": "number"
          },
          "l": {
            "description": "specifies low price of the candle",
            "example": 60724.33,
            "type": "number"
          },
          "o": {
            "description": "specifies open price of the candle",
            "example": 60724.33,
            "type": "number"
          },
          "v": {
            "description": "specifies trading volume (base token) of the candle",
            "example": 22.94612,
            "type": "number"
          }
        },
        "required": [
          "c",
          "d",
          "h",
          "l",
          "o",
          "v"
        ],
        "type": "object"
      },
      "dataapicexcandlesymbols.View": {
        "properties": {
          "b": {
            "description": "specifies the base symbol",
            "type": "string"
          },
          "e": {
            "description": "specifies the exchange",
            "type": "string"
          },
          "id": {
            "description": "specifies the unique id",
            "type": "string"
          },
          "m": {
            "description": "specifies the market",
            "type": "string"
          },
          "q": {
            "description": "specifies the quote symbol",
            "type": "string"
          },
          "s": {
            "description": "specifies the api symbol",
            "type": "string"
          }
        },
        "required": [
          "b",
          "e",
          "id",
          "m",
          "q",
          "s"
        ],
        "type": "object"
      },
      "dataapifundingratehistory.Response": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/dataapifundingratehistory.View"
            },
            "type": "array"
          },
          "exchange": {
            "type": "string"
          },
          "limit": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "sort": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "dataapifundingratehistory.View": {
        "properties": {
          "d": {
            "description": "specifies the date and time in UNIX timestamp format",
            "example": 1739100021,
            "type": "integer"
          },
          "f": {
            "description": "specifies the funding rate",
            "example": 0.0000782,
            "type": "number",
            "nullable": true
          }
        },
        "required": [
          "d"
        ],
        "type": "object"
      },
      "dataapifundingratesymbols.View": {
        "properties": {
          "b": {
            "description": "specifies the base symbol",
            "type": "string"
          },
          "e": {
            "description": "specifies the exchange",
            "type": "string"
          },
          "id": {
            "description": "specifies the unique id",
            "type": "string"
          },
          "m": {
            "description": "specifies the market",
            "type": "string"
          },
          "q": {
            "description": "specifies the quote symbol",
            "type": "string"
          },
          "s": {
            "description": "specifies the api symbol",
            "type": "string"
          }
        },
        "required": [
          "b",
          "e",
          "id",
          "m",
          "q",
          "s"
        ],
        "type": "object"
      },
      "dataapihistoricallisting.Response": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/dataapihistoricallisting.View"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "dataapihistoricallisting.View": {
        "properties": {
          "announced_at": {
            "type": "integer"
          },
          "base": {
            "type": "string"
          },
          "deposit_at": {
            "type": "integer",
            "nullable": true
          },
          "exchange": {
            "type": "string"
          },
          "network": {
            "type": "string",
            "nullable": true
          },
          "trade_at": {
            "type": "integer",
            "nullable": true
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "announced_at",
          "base",
          "exchange",
          "url"
        ],
        "type": "object"
      },
      "dataapinavertrend.View": {
        "properties": {
          "d": {
            "type": "integer"
          },
          "v": {
            "type": "number"
          }
        },
        "required": [
          "d",
          "v"
        ],
        "type": "object"
      },
      "dataapipremium.Response": {
        "properties": {
          "conversion_base": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/dataapipremium.View"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "limit": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "sort": {
            "type": "string"
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "data",
          "limit",
          "page",
          "sort",
          "total"
        ],
        "type": "object"
      },
      "dataapipremium.View": {
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/apipremium.View"
          },
          "source_annualized_funding_rate": {
            "type": "number",
            "nullable": true
          },
          "target_annualized_funding_rate": {
            "type": "number",
            "nullable": true
          }
        },
        "required": [
          "detail"
        ],
        "type": "object"
      },
      "dataapiticker.Response": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "data": {
            "$ref": "#/components/schemas/apiticker.View"
          },
          "market": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "frontapicommon.ExchangeDetail": {
        "properties": {
          "futures": {
            "description": "metadata",
            "type": "boolean"
          },
          "icon": {
            "description": "specifies the exchange icon url path",
            "type": "string"
          },
          "id": {
            "description": "specifies the exchange id",
            "type": "string"
          },
          "name": {
            "description": "specifies the exchange name",
            "type": "string"
          },
          "spot": {
            "type": "boolean"
          },
          "url": {
            "description": "specifies relevant exchange url",
            "type": "string"
          }
        },
        "type": "object"
      },
      "frontapicommon.TokenDetail": {
        "properties": {
          "cmc_id": {
            "description": "specifies cmc id of the token",
            "type": "string",
            "nullable": true
          },
          "icon": {
            "description": "specifies the token icon url path",
            "type": "string"
          },
          "id": {
            "description": "specifies the unique id",
            "type": "string"
          },
          "name": {
            "description": "specifies the name of token",
            "type": "string"
          },
          "symbol": {
            "description": "specifies the token symbol",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers_dataapicexsymbolcautions.View": {
        "properties": {
          "b": {
            "type": "string"
          },
          "caution_level": {
            "description": "caution | warning | danger",
            "type": "string"
          },
          "e": {
            "type": "string"
          },
          "end_at": {
            "description": "ms, 0 = indefinite",
            "type": "integer"
          },
          "m": {
            "type": "string"
          },
          "q": {
            "type": "string"
          },
          "reasons": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "b",
          "caution_level",
          "e",
          "m",
          "q"
        ],
        "type": "object"
      },
      "handlers_dataapicexsymboldelistings.View": {
        "properties": {
          "b": {
            "type": "string"
          },
          "delisting_at": {
            "description": "ms (scheduled or past)",
            "type": "integer"
          },
          "e": {
            "type": "string"
          },
          "listed_at": {
            "description": "ms",
            "type": "integer"
          },
          "m": {
            "type": "string"
          },
          "q": {
            "type": "string"
          },
          "status": {
            "description": "delisting | delisted",
            "type": "string"
          }
        },
        "required": [
          "b",
          "delisting_at",
          "e",
          "m",
          "q",
          "status"
        ],
        "type": "object"
      },
      "handlers_dataapicexsymbolliquidation.View": {
        "properties": {
          "b": {
            "type": "string"
          },
          "e": {
            "type": "string"
          },
          "event_count": {
            "type": "integer"
          },
          "long_volume": {
            "type": "number"
          },
          "long_volume_usd": {
            "type": "number",
            "nullable": true
          },
          "m": {
            "description": "always \"futures\"",
            "type": "string"
          },
          "q": {
            "type": "string"
          },
          "short_volume": {
            "type": "number"
          },
          "short_volume_usd": {
            "type": "number",
            "nullable": true
          },
          "total_volume": {
            "type": "number"
          },
          "total_volume_usd": {
            "type": "number",
            "nullable": true
          }
        },
        "required": [
          "b",
          "e",
          "event_count",
          "long_volume",
          "m",
          "q",
          "short_volume",
          "total_volume"
        ],
        "type": "object"
      },
      "handlers_dataapicexsymbolmetadata.View": {
        "properties": {
          "b": {
            "type": "string"
          },
          "caution_end_at": {
            "description": "ms",
            "type": "integer"
          },
          "caution_level": {
            "description": "\"\", caution, warning, danger",
            "type": "string"
          },
          "caution_reasons": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "delisting_at": {
            "type": "integer"
          },
          "e": {
            "type": "string"
          },
          "listed_at": {
            "type": "integer"
          },
          "m": {
            "description": "\"spot\" | \"futures\"",
            "type": "string"
          },
          "q": {
            "type": "string"
          },
          "status": {
            "description": "trading|pre_listing|halt|close_only|delisting|delisted",
            "type": "string"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "b",
          "e",
          "m",
          "q",
          "status"
        ],
        "type": "object"
      },
      "handlers_dataapicexsymboloi.View": {
        "properties": {
          "b": {
            "type": "string"
          },
          "e": {
            "type": "string"
          },
          "m": {
            "description": "always \"futures\" for OI",
            "type": "string"
          },
          "open_interest": {
            "type": "number"
          },
          "open_interest_usd": {
            "type": "number",
            "nullable": true
          },
          "q": {
            "type": "string"
          },
          "ts": {
            "type": "integer"
          }
        },
        "required": [
          "b",
          "e",
          "m",
          "open_interest",
          "q",
          "ts"
        ],
        "type": "object"
      },
      "handlers_dataapicexsymboloistats.View": {
        "properties": {
          "b": {
            "type": "string"
          },
          "change_1h": {
            "description": "%",
            "type": "number",
            "nullable": true
          },
          "change_24h": {
            "description": "%",
            "type": "number",
            "nullable": true
          },
          "change_4h": {
            "description": "%",
            "type": "number",
            "nullable": true
          },
          "e": {
            "type": "string"
          },
          "m": {
            "description": "always \"futures\"",
            "type": "string"
          },
          "oi_to_vol_ratio": {
            "type": "number",
            "nullable": true
          },
          "open_interest": {
            "type": "number"
          },
          "open_interest_usd": {
            "type": "number",
            "nullable": true
          },
          "q": {
            "type": "string"
          },
          "token_id": {
            "type": "string"
          },
          "ts": {
            "type": "integer"
          },
          "volume_24h_usd": {
            "type": "number",
            "nullable": true
          }
        },
        "required": [
          "b",
          "e",
          "m",
          "open_interest",
          "q",
          "ts"
        ],
        "type": "object"
      },
      "handlers_dataapicexsymboltags.View": {
        "properties": {
          "b": {
            "type": "string"
          },
          "confidence": {
            "type": "integer"
          },
          "e": {
            "type": "string"
          },
          "m": {
            "type": "string"
          },
          "q": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "tag": {
            "type": "string"
          }
        },
        "required": [
          "b",
          "confidence",
          "e",
          "m",
          "q",
          "source",
          "tag"
        ],
        "type": "object"
      },
      "handlers_dataapicexsymbolvolume.View": {
        "properties": {
          "b": {
            "type": "string"
          },
          "e": {
            "type": "string"
          },
          "m": {
            "description": "spot | futures",
            "type": "string"
          },
          "q": {
            "type": "string"
          },
          "quote_volume": {
            "description": "USD-ish, dashboard-friendly",
            "type": "number"
          },
          "ts": {
            "description": "ms, collector wall-time",
            "type": "integer"
          },
          "volume": {
            "description": "base-denominated (raw)",
            "type": "number"
          }
        },
        "required": [
          "b",
          "e",
          "m",
          "q",
          "quote_volume",
          "ts",
          "volume"
        ],
        "type": "object"
      },
      "handlers_dataapiexchangefee.View": {
        "properties": {
          "base": {
            "description": "specifies base symbol",
            "example": "BTC",
            "type": "string"
          },
          "exchange": {
            "description": "specifies exchange",
            "example": "binance",
            "type": "string"
          },
          "futures_maker_fee": {
            "description": "specifies maker fee percentage for futures market",
            "example": 0.0001,
            "type": "number",
            "nullable": true
          },
          "futures_taker_fee": {
            "description": "specifies taker fee percentage for futures market",
            "example": 0.0001,
            "type": "number",
            "nullable": true
          },
          "quote": {
            "description": "specifies quote symbol",
            "example": "USDT",
            "type": "string"
          },
          "spot_maker_fee": {
            "description": "specifies maker fee percentage for spot market (e.g. 0.001 = 0.1%)",
            "example": 0.001,
            "type": "number",
            "nullable": true
          },
          "spot_take_fee": {
            "description": "specifies taker fee percentage for spot market",
            "example": 0.001,
            "type": "number",
            "nullable": true
          },
          "symbol": {
            "description": "specifies symbol",
            "example": "BTC-USDT",
            "type": "string"
          }
        },
        "required": [
          "base",
          "exchange",
          "quote",
          "symbol"
        ],
        "type": "object"
      },
      "handlers_dataapihealthtime.Response": {
        "properties": {
          "d": {
            "description": "specifies the current server time in milliseconds",
            "example": 1727860524082,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "handlers_dataapihistoricalindexprice.Response": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapihistoricalindexprice.View"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers_dataapihistoricalindexprice.View": {
        "properties": {
          "price": {
            "type": "number"
          },
          "timestamp": {
            "type": "integer"
          },
          "volume": {
            "type": "number"
          }
        },
        "required": [
          "price",
          "timestamp",
          "volume"
        ],
        "type": "object"
      },
      "handlers_dataapiliquidation.Entry": {
        "properties": {
          "base": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "priceUsd": {
            "type": "number",
            "nullable": true
          },
          "quote": {
            "type": "string"
          },
          "side": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer"
          },
          "tokenId": {
            "type": "string"
          },
          "volume": {
            "type": "number"
          },
          "volumeUsd": {
            "type": "number",
            "nullable": true
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidation.Response": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiliquidation.Entry"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationfeed.Entry": {
        "properties": {
          "base": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "priceUsd": {
            "type": "number",
            "nullable": true
          },
          "quote": {
            "type": "string"
          },
          "side": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer"
          },
          "tokenId": {
            "type": "string"
          },
          "volume": {
            "type": "number"
          },
          "volumeUsd": {
            "type": "number",
            "nullable": true
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationfeed.Response": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiliquidationfeed.Entry"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationheatmap.Cell": {
        "properties": {
          "base": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "longUsd": {
            "type": "number"
          },
          "shortUsd": {
            "type": "number"
          },
          "tokenId": {
            "type": "string"
          },
          "totalUsd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationheatmap.ExchangeSummary": {
        "properties": {
          "exchange": {
            "type": "string"
          },
          "longUsd": {
            "type": "number"
          },
          "shortUsd": {
            "type": "number"
          },
          "totalUsd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationheatmap.Response": {
        "properties": {
          "cells": {
            "description": "(top tokens) × (all exchanges with data)",
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiliquidationheatmap.Cell"
            },
            "type": "array"
          },
          "exchanges": {
            "description": "sorted desc, includes only venues with data",
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiliquidationheatmap.ExchangeSummary"
            },
            "type": "array"
          },
          "generatedAt": {
            "description": "ms",
            "type": "integer"
          },
          "grandTotal": {
            "type": "number"
          },
          "tokens": {
            "description": "top N by TotalUsd desc",
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiliquidationheatmap.TokenSummary"
            },
            "type": "array"
          },
          "window": {
            "description": "\"1h\" | \"4h\" | \"24h\"",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationheatmap.TokenSummary": {
        "properties": {
          "base": {
            "type": "string"
          },
          "longUsd": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "shortUsd": {
            "type": "number"
          },
          "symbol": {
            "type": "string"
          },
          "tokenId": {
            "type": "string"
          },
          "totalUsd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationmap.Assumptions": {
        "properties": {
          "entrySamples": {
            "type": "integer"
          },
          "entryWindow": {
            "type": "string"
          },
          "longShareOfOi": {
            "type": "number"
          },
          "mmr": {
            "type": "number"
          },
          "tiers": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiliquidationmap.TierAssumption"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationmap.Bucket": {
        "properties": {
          "l100xUsd": {
            "type": "number"
          },
          "l10xUsd": {
            "type": "number"
          },
          "l25xUsd": {
            "type": "number"
          },
          "l50xUsd": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "side": {
            "type": "string"
          },
          "totalUsd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationmap.Response": {
        "properties": {
          "assumptions": {
            "$ref": "#/components/schemas/handlers_dataapiliquidationmap.Assumptions"
          },
          "base": {
            "type": "string"
          },
          "buckets": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiliquidationmap.Bucket"
            },
            "type": "array"
          },
          "cumulativeLongUsd": {
            "type": "number"
          },
          "cumulativeShortUsd": {
            "type": "number"
          },
          "currentPrice": {
            "type": "number"
          },
          "exchange": {
            "type": "string"
          },
          "generatedAt": {
            "type": "integer"
          },
          "quote": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "totalOiUsd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationmap.TierAssumption": {
        "properties": {
          "leverage": {
            "type": "integer"
          },
          "share": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationstats.Biggest": {
        "properties": {
          "base": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "quote": {
            "type": "string"
          },
          "volumeUsd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationstats.Response": {
        "properties": {
          "biggest": {
            "allOf": [
              {
                "$ref": "#/components/schemas/handlers_dataapiliquidationstats.Biggest"
              }
            ],
            "nullable": true
          },
          "count": {
            "description": "number of events",
            "type": "integer"
          },
          "generatedAt": {
            "description": "ms",
            "type": "integer"
          },
          "longRatio": {
            "description": "round(long/total*100), 0 when empty",
            "type": "integer"
          },
          "longUsd": {
            "description": "sell-side",
            "type": "number"
          },
          "shortUsd": {
            "description": "buy-side",
            "type": "number"
          },
          "total": {
            "description": "long + short",
            "type": "number"
          },
          "venues": {
            "description": "distinct exchanges",
            "type": "integer"
          },
          "window": {
            "description": "\"1h\" | \"4h\" | \"24h\" | \"7d\"",
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationsymbolhistory.Bucket": {
        "properties": {
          "longUsd": {
            "type": "number"
          },
          "price": {
            "type": "number",
            "nullable": true
          },
          "shortUsd": {
            "type": "number"
          },
          "totalUsd": {
            "type": "number"
          },
          "ts": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "handlers_dataapiliquidationsymbolhistory.Response": {
        "properties": {
          "buckets": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiliquidationsymbolhistory.Bucket"
            },
            "type": "array"
          },
          "exchange": {
            "type": "string"
          },
          "generatedAt": {
            "type": "integer"
          },
          "interval": {
            "type": "string"
          },
          "quote": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "totalLongUsd": {
            "type": "number"
          },
          "totalShortUsd": {
            "type": "number"
          },
          "window": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers_dataapimarginborrow.Response": {
        "properties": {
          "cross": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/handlers_dataapimarginborrow.View"
              },
              "type": "array"
            },
            "type": "object"
          },
          "isolated": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/handlers_dataapimarginborrow.View"
              },
              "type": "array"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "handlers_dataapimarginborrow.View": {
        "properties": {
          "asset": {
            "type": "string"
          },
          "is_borrowable": {
            "type": "boolean"
          },
          "max_borrow": {
            "type": "number"
          },
          "rate_daily": {
            "type": "number"
          },
          "timestamp": {
            "type": "integer"
          },
          "vip_level": {
            "type": "string"
          }
        },
        "required": [
          "asset",
          "is_borrowable",
          "max_borrow",
          "rate_daily",
          "timestamp",
          "vip_level"
        ],
        "type": "object"
      },
      "handlers_dataapiopeninterest.Response": {
        "properties": {
          "base": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "openInterest": {
            "type": "number"
          },
          "openInterestUsd": {
            "type": "number",
            "nullable": true
          },
          "quote": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer"
          },
          "tokenId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers_dataapiopeninteresthistoryaggregated.Response": {
        "properties": {
          "data": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/handlers_dataapiopeninteresthistoryaggregated.View"
              },
              "type": "array"
            },
            "description": "Data is keyed by exchange id → time-series points ordered by t asc.",
            "type": "object"
          },
          "exchange_url": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "token": {
            "$ref": "#/components/schemas/frontapicommon.TokenDetail"
          }
        },
        "type": "object"
      },
      "handlers_dataapiopeninteresthistoryaggregated.View": {
        "properties": {
          "oi": {
            "type": "number"
          },
          "oiUsd": {
            "type": "number",
            "nullable": true
          },
          "t": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "handlers_dataapiopeninterestlist.Entry": {
        "properties": {
          "base": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "openInterest": {
            "type": "number"
          },
          "openInterestUsd": {
            "type": "number",
            "nullable": true
          },
          "quote": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer"
          },
          "tokenId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "handlers_dataapiopeninterestlist.Response": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiopeninterestlist.Entry"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "handlers_dataapiopeninterestoverview.Cell": {
        "properties": {
          "exchange": {
            "$ref": "#/components/schemas/frontapicommon.ExchangeDetail"
          },
          "openInterest": {
            "type": "number",
            "nullable": true
          },
          "openInterestUsd": {
            "type": "number",
            "nullable": true
          },
          "quote": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer",
            "nullable": true
          },
          "url": {
            "type": "string"
          },
          "volume24hUsd": {
            "type": "number",
            "nullable": true
          }
        },
        "type": "object"
      },
      "handlers_dataapiopeninterestoverview.Response": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiopeninterestoverview.View"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "limit": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "sort": {
            "type": "string"
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "data",
          "limit",
          "page",
          "sort",
          "total"
        ],
        "type": "object"
      },
      "handlers_dataapiopeninterestoverview.View": {
        "properties": {
          "exchanges": {
            "additionalProperties": {
              "$ref": "#/components/schemas/handlers_dataapiopeninterestoverview.Cell"
            },
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "token": {
            "$ref": "#/components/schemas/frontapicommon.TokenDetail"
          }
        },
        "type": "object"
      },
      "handlers_dataapiopeninterestsummary.ExchangeSummary": {
        "properties": {
          "exchange": {
            "type": "string"
          },
          "openInterestUsd": {
            "type": "number"
          },
          "tokens": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "handlers_dataapiopeninterestsummary.Response": {
        "properties": {
          "exchanges": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiopeninterestsummary.ExchangeSummary"
            },
            "type": "array"
          },
          "generatedAt": {
            "type": "integer"
          },
          "grandTotal": {
            "type": "number"
          },
          "tokens": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapiopeninterestsummary.TokenSummary"
            },
            "type": "array"
          },
          "totalTokens": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "handlers_dataapiopeninterestsummary.TokenSummary": {
        "properties": {
          "base": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "openInterestUsd": {
            "type": "number"
          },
          "symbol": {
            "type": "string"
          },
          "tokenId": {
            "type": "string"
          },
          "venues": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "handlers_dataapitelegramchannels.Response": {
        "properties": {
          "category": {
            "type": "string"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/handlers_dataapitelegramchannels.View"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "limit": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "sort": {
            "type": "string"
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "data",
          "limit",
          "page",
          "sort",
          "total"
        ],
        "type": "object"
      },
      "handlers_dataapitelegramchannels.View": {
        "properties": {
          "category": {
            "description": "specifies the channel category",
            "type": "string"
          },
          "channelName": {
            "description": "specifies the channel name",
            "type": "string"
          },
          "channelTitle": {
            "description": "specifies the channel title",
            "type": "string"
          },
          "createdAt": {
            "description": "specifies the creation time of the channel",
            "type": "integer",
            "nullable": true
          },
          "description": {
            "description": "specifies the channel description",
            "type": "string"
          },
          "link": {
            "description": "specifies the channel link",
            "type": "string"
          },
          "subscribers": {
            "description": "specifies the number of subscribers",
            "type": "integer"
          }
        },
        "required": [
          "category",
          "channelName",
          "channelTitle",
          "description",
          "link",
          "subscribers"
        ],
        "type": "object"
      },
      "handlers_dataapitelegrammessages.Response": {
        "properties": {
          "category": {
            "type": "string"
          },
          "data": {
            "description": "specifies an array of the Telegram messages",
            "items": {
              "$ref": "#/components/schemas/handlers_dataapitelegrammessages.View"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "limit": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "sort": {
            "type": "string"
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "data",
          "limit",
          "page",
          "sort",
          "total"
        ],
        "type": "object"
      },
      "handlers_dataapitelegrammessages.View": {
        "properties": {
          "channelHandle": {
            "description": "specifies the channel handle",
            "type": "string"
          },
          "channelId": {
            "description": "specifies the channel id",
            "type": "string"
          },
          "channelName": {
            "description": "specifies the channel name",
            "type": "string"
          },
          "forwards": {
            "description": "specifies the number of forwards",
            "type": "integer"
          },
          "message": {
            "description": "specifies the message text",
            "type": "string"
          },
          "messageId": {
            "description": "specifies the message id",
            "type": "string"
          },
          "messageLink": {
            "description": "specifies the link to Telegram message",
            "type": "string"
          },
          "publishedAt": {
            "description": "specifies the published date",
            "type": "integer"
          },
          "reactions": {
            "description": "specifies the number of reactions",
            "type": "integer"
          },
          "views": {
            "description": "specifies the number of views",
            "type": "integer"
          }
        },
        "required": [
          "channelHandle",
          "channelId",
          "channelName",
          "forwards",
          "message",
          "messageId",
          "messageLink",
          "publishedAt",
          "reactions",
          "views"
        ],
        "type": "object"
      },
      "handlers_dataapitokenupdates.Response": {
        "properties": {
          "data": {
            "description": "`data` specifies an array of the token updates",
            "items": {
              "$ref": "#/components/schemas/handlers_dataapitokenupdates.View"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "limit": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "sort": {
            "type": "string"
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "data",
          "limit",
          "page",
          "sort",
          "total"
        ],
        "type": "object"
      },
      "handlers_dataapitokenupdates.View": {
        "properties": {
          "b": {
            "description": "Specifies the base token",
            "type": "string"
          },
          "d": {
            "description": "Specifies the timestamp",
            "type": "integer"
          },
          "e": {
            "description": "Specifies the exchange",
            "type": "string"
          },
          "m": {
            "description": "Specifies the market",
            "type": "string"
          },
          "q": {
            "description": "Specifies the quote token",
            "type": "string"
          },
          "t": {
            "description": "Specifies the type of the token update (listed or delisted)",
            "type": "string"
          }
        },
        "required": [
          "b",
          "d",
          "e",
          "m",
          "q",
          "t"
        ],
        "type": "object"
      },
      "handlers_dataapiwalletstatus.View": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "deposit_message": {
            "type": "string"
          },
          "deposit_state": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "network": {
            "type": "string"
          },
          "updated_at": {
            "type": "integer"
          },
          "withdraw_message": {
            "type": "string"
          },
          "withdraw_state": {
            "type": "string"
          }
        },
        "required": [
          "currency",
          "deposit_message",
          "deposit_state",
          "exchange",
          "network",
          "updated_at",
          "withdraw_message",
          "withdraw_state"
        ],
        "type": "object"
      },
      "nvrst.ErrResponse": {
        "description": "Error body of every 4xx and 5xx response. A >=500 body carries no cause, only a correlation id; the same id is also returned on the `X-Request-Id` response header (exposed to browsers via Access-Control-Expose-Headers) and is the value to quote in a support report.",
        "properties": {
          "charged": {
            "description": "Always false on an error: only a successful call is charged (data API)",
            "type": "boolean",
            "nullable": true
          },
          "code": {
            "description": "Stable machine-readable error code, e.g. `invalid_api_key`, `rate_limited`, `server_error` (data API)",
            "example": "rate_limited",
            "type": "string"
          },
          "docs_url": {
            "description": "Docs page for this error (data API)",
            "type": "string"
          },
          "error": {
            "description": "`error` specifies the error message",
            "type": "string"
          },
          "hint": {
            "description": "What to do next, in plain words (data API)",
            "type": "string"
          },
          "request_id": {
            "description": "Correlation id to quote to support; also on the `X-Request-Id` header",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-DTMX-APIKEY",
        "description": "API key from https://datamaxiplus.com/dashboard/api-keys"
      }
    }
  },
  "externalDocs": {
    "description": "DataMaxi+ documentation",
    "url": "https://docs.datamaxiplus.com"
  },
  "security": [
    {
      "apiKey": []
    }
  ]
}