接口地址: http://api.sefapi.com/api/time/get

返回格式: JSON、TXT

请求方式: GET

测试接口:  http://api.sefapi.com/api/time/get

提示:登录获取分配api节点,api调用时请启用gzip压缩

请求参数说明:

名称 必填 类型 说明
ntp string 指定查询的NTP服务器时间。比如 ntp=time.windows.com

返回参数说明:

名称 类型 说明
success boolean 返回是否成功 成功true 或 失败false
count int 数据记录条数。
msg string 错误或警告信息
results array 数据记录结果数组
time string 当前时间
timestamp long UNIX时间戳

返回示例:

{
	success: true,
	count: 1,
	msg: "",
	results: [{
		time: "2024-09-03 16:30:55",
		timestamp: 1725352255
	}]
}