国际时区查询
查询国家代码时区信息

接口地址: https://api.qsir.cn/api/dm-timezone

返回格式: JSON

请求方式: GET/POST

请求示例: https://api.qsir.cn/api/dm-timezone?word=china

即2023年9月1号起,所有接口请求必须携带秘钥,否则请求失败!!

请求参数说明:

名称 必填 类型 说明
word String 国家中英文或地区英文

返回参数说明:

名称 类型 说明
country String 国家/地区
countryen String 国家/地区英文
countryezm String 国家/地区二字码
countryszm String 国家/地区三字码
timezone String 国际时区名
areaname String 地区
continent String 所属洲

返回示例:

{
  "code": 200,
  "msg": "success",
  "result": {
    "list": [
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Hong_Kong",
        "areaname": "Hong_Kong",
        "continent": "Asia"
      },
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Taipei",
        "areaname": "Taipei",
        "continent": "Asia"
      },
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Shanghai",
        "areaname": "Shanghai",
        "continent": "Asia"
      },
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Urumqi",
        "areaname": "Urumqi",
        "continent": "Asia"
      },
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Macau",
        "areaname": "Macau",
        "continent": "Asia"
      }
    ]
  }
}

请求参数设置:

参数名称 参数值


{
  "code": 200,
  "msg": "success",
  "result": {
    "list": [
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Hong_Kong",
        "areaname": "Hong_Kong",
        "continent": "Asia"
      },
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Taipei",
        "areaname": "Taipei",
        "continent": "Asia"
      },
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Shanghai",
        "areaname": "Shanghai",
        "continent": "Asia"
      },
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Urumqi",
        "areaname": "Urumqi",
        "continent": "Asia"
      },
      {
        "country": "中国",
        "countryen": "China",
        "countryezm": "CN",
        "countryszm": "CHN",
        "timezone": "Asia/Macau",
        "areaname": "Macau",
        "continent": "Asia"
      }
    ]
  }
}

错误码格式说明:

名称 类型 说明

代码示例: