{
  "path": "/spot/insurance_history",
  "operation_id": "getSpotInsuranceHistory",
  "auth_required": false,
  "parameters": [
    {
      "name": "business",
      "in": "query",
      "required": true,
      "description": "Leverage business, margin - position by position; unified - unified account",
      "schema": {
        "type": "string"
      },
      "example": "margin"
    },
    {
      "name": "currency",
      "in": "query",
      "required": true,
      "description": "Currency",
      "schema": {
        "type": "string"
      },
      "example": "BTC"
    },
    {
      "name": "page",
      "in": "query",
      "description": "Page number",
      "required": false,
      "schema": {
        "type": "integer",
        "format": "int32",
        "default": 1,
        "minimum": 1
      },
      "example": 1
    },
    {
      "name": "limit",
      "in": "query",
      "description": "The maximum number of items returned in the list, the default value is 30",
      "required": false,
      "schema": {
        "type": "integer",
        "default": 30,
        "minimum": 1,
        "maximum": 1000
      },
      "example": 100
    },
    {
      "name": "from",
      "in": "query",
      "description": "Start timestamp in seconds",
      "required": true,
      "schema": {
        "type": "integer",
        "format": "int64"
      },
      "example": 1547706332
    },
    {
      "name": "to",
      "in": "query",
      "description": "End timestamp in seconds",
      "required": true,
      "schema": {
        "type": "integer",
        "format": "int64"
      },
      "example": 1547706332
    }
  ],
  "response_fields": {
    "200": {
      "description": "Query successful",
      "fields": [
        {
          "path": "$",
          "type": "array<object>",
          "description": "",
          "constraints": ""
        },
        {
          "path": "$[]",
          "type": "object",
          "description": "",
          "constraints": ""
        },
        {
          "path": "$[].currency",
          "type": "string",
          "description": "Currency",
          "constraints": ""
        },
        {
          "path": "$[].balance",
          "type": "string",
          "description": "Balance",
          "constraints": ""
        },
        {
          "path": "$[].time",
          "type": "integer",
          "description": "Creation time, timestamp, milliseconds",
          "constraints": "格式：\"int64\""
        }
      ]
    }
  },
  "source_version": "v4.106.132",
  "source_url": "https://github.com/gate/gateapi-python/blob/cd2cac4d339ec0734480787d23c020f467fd7b80/openapi.yaml",
  "local_tool_limits": [
    "仅检查必填、枚举和简单数值范围",
    "复杂类型序列化、条件必填、时间窗口等以官方规则为准",
    "不会发起 API 请求"
  ]
}
