
获取网站标题API接口
通过网站链接返回网站标题
接口文档
获取网站标题
接口信息
调用价格:
免费
额外费用:0.0000/次
VIP免费:否
请求方式:GET,POST
返回格式:JSON
接口状态:正常
调用次数:0
接口地址
GET,POSThttps://www.myshengong.com/api/openapi.site/getTitle
请求参数
名称 | 类型 | 必填 | 说明 |
---|---|---|---|
apikey | string | 是 | 用户请求APIKEY |
weblink | string | 是 | 要获取标题的网站链接 |
请求示例
https://www.myshengong.com/api/openapi.site/getTitle?weblink=www.baidu.com
返回参数说明
名称 | 类型 | 说明 |
---|---|---|
code | int | 1=成功,0=失败 |
msg | string | 消息 |
data | object | 返回的数据 |
data.title | string | 获取到的网站标题 |
返回结果示例
{"code": 1,"msg":"成功","time":"1744789677","data": {"title":"百度一下,你就知道" }}