{
  "path": "/options/settlements/{contract}",
  "operation_id": "getOptionsSettlement",
  "auth_required": false,
  "parameters": [
    {
      "name": "contract",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string"
      },
      "example": "BTC_USDT-20211130-65000-C"
    },
    {
      "name": "underlying",
      "in": "query",
      "required": true,
      "description": "Underlying (Obtained by listing underlying endpoint)",
      "schema": {
        "type": "string"
      },
      "example": "BTC_USDT"
    },
    {
      "name": "at",
      "in": "query",
      "required": true,
      "schema": {
        "type": "integer",
        "format": "int64"
      }
    }
  ],
  "response_fields": {
    "200": {
      "description": "Query successful",
      "fields": [
        {
          "path": "$",
          "type": "object",
          "description": "",
          "constraints": ""
        },
        {
          "path": "$.time",
          "type": "number",
          "description": "Last configuration update time",
          "constraints": "格式：\"double\""
        },
        {
          "path": "$.contract",
          "type": "string",
          "description": "Options contract name",
          "constraints": ""
        },
        {
          "path": "$.profit",
          "type": "string",
          "description": "Settlement profit per contract (quote currency)",
          "constraints": ""
        },
        {
          "path": "$.fee",
          "type": "string",
          "description": "Settlement fee per contract (quote currency)",
          "constraints": ""
        },
        {
          "path": "$.strike_price",
          "type": "string",
          "description": "Strike price (quote currency)",
          "constraints": ""
        },
        {
          "path": "$.settle_price",
          "type": "string",
          "description": "Settlement price (quote currency)",
          "constraints": ""
        }
      ]
    }
  },
  "source_version": "v4.106.132",
  "source_url": "https://github.com/gate/gateapi-python/blob/cd2cac4d339ec0734480787d23c020f467fd7b80/openapi.yaml",
  "local_tool_limits": [
    "仅检查必填、枚举和简单数值范围",
    "复杂类型序列化、条件必填、时间窗口等以官方规则为准",
    "不会发起 API 请求"
  ]
}
