{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodataapi-com/json-schema/cryptodataapi-com-exchange-detail-response-schema.json",
  "title": "ExchangeDetailResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cryptodataapi-com-exchanges-api-openapi.yml#/components/schemas/ExchangeDetailResponse",
  "properties": {
    "exchange": {
      "$ref": "#/$defs/ExchangeInfo"
    },
    "disclosure": {
      "type": "string",
      "title": "Disclosure"
    }
  },
  "type": "object",
  "required": [
    "exchange",
    "disclosure"
  ],
  "$defs": {
    "ExchangeInfo": {
      "properties": {
        "slug": {
          "type": "string",
          "title": "Slug"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "kind": {
          "title": "Kind",
          "type": [
            "string",
            "null"
          ]
        },
        "website": {
          "title": "Website",
          "type": [
            "string",
            "null"
          ]
        },
        "tagline": {
          "title": "Tagline",
          "type": [
            "string",
            "null"
          ]
        },
        "about": {
          "title": "About",
          "type": [
            "string",
            "null"
          ]
        },
        "founded": {
          "title": "Founded",
          "type": [
            "string",
            "null"
          ]
        },
        "based": {
          "title": "Based",
          "type": [
            "string",
            "null"
          ]
        },
        "focus": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Focus",
          "default": []
        },
        "specs": {
          "$ref": "#/$defs/ExchangeSpecs"
        },
        "signup_url": {
          "title": "Signup Url",
          "type": [
            "string",
            "null"
          ]
        },
        "signup_incentive": {
          "title": "Signup Incentive",
          "type": [
            "string",
            "null"
          ]
        },
        "referral_code": {
          "title": "Referral Code",
          "type": [
            "string",
            "null"
          ]
        },
        "is_referral_link": {
          "type": "boolean",
          "title": "Is Referral Link",
          "default": false
        },
        "stats": {
          "$ref": "#/$defs/ExchangeStats"
        }
      },
      "type": "object",
      "required": [
        "slug",
        "name"
      ],
      "title": "ExchangeInfo"
    },
    "ExchangeSpecs": {
      "properties": {
        "instruments": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Instruments",
          "default": []
        },
        "coins": {
          "title": "Coins",
          "type": [
            "string",
            "null"
          ]
        },
        "max_leverage": {
          "title": "Max Leverage",
          "type": [
            "string",
            "null"
          ]
        },
        "kyc": {
          "title": "Kyc",
          "type": [
            "string",
            "null"
          ]
        },
        "custody": {
          "title": "Custody",
          "type": [
            "string",
            "null"
          ]
        },
        "fiat_onramp": {
          "title": "Fiat Onramp",
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "type": "object",
      "title": "ExchangeSpecs"
    },
    "ExchangeStats": {
      "properties": {
        "open_interest_usd": {
          "title": "Open Interest Usd",
          "type": [
            "number",
            "null"
          ]
        },
        "volume_24h_usd": {
          "title": "Volume 24H Usd",
          "type": [
            "number",
            "null"
          ]
        },
        "funding_rate_apr_pct": {
          "title": "Funding Rate Apr Pct",
          "type": [
            "number",
            "null"
          ]
        },
        "market_count": {
          "title": "Market Count",
          "type": [
            "integer",
            "null"
          ]
        },
        "note": {
          "title": "Note",
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "title": "Source",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object",
      "title": "ExchangeStats",
      "description": "Live, venue-native stats — currently populated for `lighter` and\n`asterdex` only (their own public APIs, refreshed every 5 min); `null` on\nevery other exchange for now, not \"zero\". Not the BTC-only cross-exchange\nOI/funding comparison the `/open-interest` and `/funding-rates` endpoints\nalready serve for Binance/Bybit/OKX/Hyperliquid — this is each venue's own\naggregate across its full perp book."
    }
  }
}