{
  "path": "/spot/currency_pairs/{currency_pair}",
  "operation_id": "getCurrencyPair",
  "auth_required": false,
  "parameters": [
    {
      "name": "currency_pair",
      "in": "path",
      "required": true,
      "description": "Currency pair",
      "schema": {
        "type": "string"
      },
      "example": "ETH_BTC"
    }
  ],
  "response_fields": {
    "200": {
      "description": "Query successful",
      "fields": [
        {
          "path": "$",
          "type": "object",
          "description": "Spot currency pair",
          "constraints": ""
        },
        {
          "path": "$.id",
          "type": "string",
          "description": "Currency pair",
          "constraints": ""
        },
        {
          "path": "$.base",
          "type": "string",
          "description": "Base currency",
          "constraints": ""
        },
        {
          "path": "$.base_name",
          "type": "string",
          "description": "Base currency name",
          "constraints": ""
        },
        {
          "path": "$.quote",
          "type": "string",
          "description": "Quote currency",
          "constraints": ""
        },
        {
          "path": "$.quote_name",
          "type": "string",
          "description": "Quote currency name",
          "constraints": ""
        },
        {
          "path": "$.trade_quotes",
          "type": "array<string>",
          "description": "Quote currencies supported by the unified market; null means that the market does not support unified quote currencies",
          "constraints": ""
        },
        {
          "path": "$.trade_quotes[]",
          "type": "string",
          "description": "",
          "constraints": ""
        },
        {
          "path": "$.fee",
          "type": "string",
          "description": "Trading fee rate(deprecated)",
          "constraints": ""
        },
        {
          "path": "$.min_base_amount",
          "type": "string",
          "description": "Minimum amount of base currency to trade, `null` means no limit",
          "constraints": ""
        },
        {
          "path": "$.min_quote_amount",
          "type": "string",
          "description": "Minimum amount of quote currency to trade, `null` means no limit",
          "constraints": ""
        },
        {
          "path": "$.max_base_amount",
          "type": "string",
          "description": "Maximum amount of base currency to trade, `null` means no limit",
          "constraints": ""
        },
        {
          "path": "$.max_quote_amount",
          "type": "string",
          "description": "Maximum amount of quote currency to trade, `null` means no limit",
          "constraints": ""
        },
        {
          "path": "$.amount_precision",
          "type": "integer",
          "description": "Quantity precision",
          "constraints": ""
        },
        {
          "path": "$.precision",
          "type": "integer",
          "description": "Price precision",
          "constraints": ""
        },
        {
          "path": "$.trade_status",
          "type": "string",
          "description": "Trading status\n\n- untradable: cannot be traded\n- buyable: can be bought\n- sellable: can be sold\n- tradable: can be bought and sold",
          "constraints": "枚举：untradable / buyable / sellable / tradable"
        },
        {
          "path": "$.sell_start",
          "type": "integer",
          "description": "Sell start unix timestamp in seconds",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$.buy_start",
          "type": "integer",
          "description": "Buy start unix timestamp in seconds",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$.delisting_time",
          "type": "integer",
          "description": "Expected time to remove the shelves, Unix timestamp in seconds",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$.type",
          "type": "string",
          "description": "Trading pair type, normal: normal, premarket: pre-market",
          "constraints": ""
        },
        {
          "path": "$.trade_url",
          "type": "string",
          "description": "Transaction link",
          "constraints": ""
        },
        {
          "path": "$.st_tag",
          "type": "boolean",
          "description": "Whether the trading pair is in ST risk assessment, false - No, true - Yes",
          "constraints": ""
        },
        {
          "path": "$.up_rate",
          "type": "string",
          "description": "Maximum Quote Rise Percentage",
          "constraints": ""
        },
        {
          "path": "$.down_rate",
          "type": "string",
          "description": "Maximum Quote Decline Percentage",
          "constraints": ""
        },
        {
          "path": "$.slippage",
          "type": "string",
          "description": "Maximum supported slippage ratio for Spot Market Order Placement, calculated based on the latest market price at the time of order placement as the benchmark (Example: 0.03 means 3%)",
          "constraints": ""
        },
        {
          "path": "$.market_order_max_stock",
          "type": "string",
          "description": "Maximum market order quantity. `null` or `0` means no limit",
          "constraints": ""
        },
        {
          "path": "$.market_order_max_money",
          "type": "string",
          "description": "Maximum market order amount. `null` or `0` means no limit",
          "constraints": ""
        }
      ]
    }
  },
  "source_version": "v4.106.132",
  "source_url": "https://github.com/gate/gateapi-python/blob/cd2cac4d339ec0734480787d23c020f467fd7b80/openapi.yaml",
  "local_tool_limits": [
    "仅检查必填、枚举和简单数值范围",
    "复杂类型序列化、条件必填、时间窗口等以官方规则为准",
    "不会发起 API 请求"
  ]
}
