描述:短网址还原功能可将任意301、302跳转、JS跳转、新浪t.cn的的短网址还原成真实地址,暂不支持加密的JS跳转。
接口地址:https://openapi.chinaz.net/v1/1029/long
返回格式:JSON
请求方式:GET
请求参数:
名称 | 类型 | 必填 | 说明 |
---|---|---|---|
url | string | 是 | 查询的域名 |
APIKey | string | 是 | 申请接口时获取的APIKey值 |
ChinazVer | string | 是 | 接口版本号 |
返回参数说明:
名称 | 类型 | 说明 |
---|---|---|
msg | string | 返回msg |
statu | string | 域名正常返回true,其他返回false |
short | string | 短网址 |
code | string | 状态码 |
long | string | 还原的长链接 |
JSON返回示例:
{
"long": "http://qq.com/",
"statu":"true",
"short":"http://t.cn/RSjkHln",
"code": "200"
}
错误代码 | 说明 |
---|---|
200 | 已接入 |
431 | http响应状态码:APIKey缺失,请附带APIKey参数 |
432 | http响应状态码:错误的APIkey长度 |
433 | http响应状态码:错误的请求key(或者返回状态码10001) |
434 | http响应状态码:错误的APIkey类型 |
436 | http响应状态码:额度不足,或者APIKey不存在 |
437 | http响应状态码:该IP未在白名单内 |
531 | http响应状态码:请求过于频繁 |
532 | http响应状态码:未知错误,请联系管理员(或者返回533) |
内容 | 说明 |
---|---|
客服微信 | ![]() |
描述:查询IP高精准...
描述:查询IP高精准...
描述:查询IP区县级...
描述:查询IP城市级...
描述:分析公共通信和...