网站测速
免费API提供快速的网站测速服务,返回GET请求的响应时间(毫秒),帮助用户实时监测网站性能,适用于网站优化和性能分析。
https://v2.xxapi.cn/api/speedhttps://v2.xxapi.cn/api/speed?url=https://www.xxhzm.cn请求参数
将 Key 放到 Header 中使用 Authorization 请求头,按 Bearer Token 方式传递
Authorization:Bearer YOUR_API_KEY
接口指标
QPS 上限
50次/秒
平均响应时间
915.79ms
请求示例
Shell
JavaScript
Python
PHP
Java
Go
C#
Ruby
curl -X GET 'https://v2.xxapi.cn/api/speed?url=网站链接' \
-H 'Authorization: Bearer YOUR_API_KEY'返回示例
{
"code": 200,
"msg": "数据请求成功",
"data": "681ms"
}