{
  "path": "/unified/history_loan_rate",
  "operation_id": "getHistoryLoanRate",
  "auth_required": false,
  "parameters": [
    {
      "name": "tier",
      "in": "query",
      "required": false,
      "description": "VIP level for the floating rate to be queried",
      "schema": {
        "type": "string"
      },
      "example": "1"
    },
    {
      "name": "currency",
      "in": "query",
      "required": true,
      "description": "Currency",
      "schema": {
        "type": "string"
      },
      "example": "USDT"
    },
    {
      "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": "Maximum number of items returned. Default: 100, minimum: 1, maximum: 100",
      "required": false,
      "schema": {
        "type": "integer",
        "format": "int32",
        "default": 100,
        "minimum": 1,
        "maximum": 100
      },
      "example": 100
    }
  ],
  "response_fields": {
    "200": {
      "description": "Query successful",
      "fields": [
        {
          "path": "$",
          "type": "object",
          "description": "",
          "constraints": ""
        },
        {
          "path": "$.currency",
          "type": "string",
          "description": "Currency name",
          "constraints": ""
        },
        {
          "path": "$.tier",
          "type": "string",
          "description": "VIP level for the floating rate to be retrieved",
          "constraints": ""
        },
        {
          "path": "$.tier_up_rate",
          "type": "string",
          "description": "Floating rate corresponding to VIP level",
          "constraints": ""
        },
        {
          "path": "$.rates",
          "type": "array<object>",
          "description": "Historical interest rate information, one data point per hour, array size determined by page and limit parameters from the API request, sorted by time from recent to distant",
          "constraints": ""
        },
        {
          "path": "$.rates[]",
          "type": "object",
          "description": "",
          "constraints": ""
        },
        {
          "path": "$.rates[].time",
          "type": "integer",
          "description": "Hourly timestamp corresponding to this interest rate, in milliseconds",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$.rates[].rate",
          "type": "string",
          "description": "Historical interest rate for this hour",
          "constraints": ""
        }
      ]
    }
  },
  "source_version": "v4.106.132",
  "source_url": "https://github.com/gate/gateapi-python/blob/cd2cac4d339ec0734480787d23c020f467fd7b80/openapi.yaml",
  "local_tool_limits": [
    "仅检查必填、枚举和简单数值范围",
    "复杂类型序列化、条件必填、时间窗口等以官方规则为准",
    "不会发起 API 请求"
  ]
}
