网站状态检测
检测网站是否可访问,返回HTTP状态码、响应时间等信息
GET
https://www.pa95.com/API/website_status.php
请求方式
GET
返回格式
application/json
调用方式
免费公开
调用次数
34 次
请求示例
https://www.pa95.com/API/website_status.php?url=baidu.com
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| url | string | 必填 | 要检测的网址 |
返回示例
{
"code": 200,
"data": {
"url": "http:\/\/baidu.com",
"status_code": 200,
"response_time_ms": 120,
"is_online": true
}
}
在线调试
相关接口