收录查询API接口


点击链接自动复制

接口地址:

http://api.xsdggw.cn/api/shoulu-1.php

返回格式:

json

请求方式:

GET

请求示例:

http://api.xsdggw.cn/api/shoulu-1.php?url=xsdggw.cn

返回数据

{"success":true,"domain":"xsdggw.cn","data":{"baidu":"421","sougou":"64","360":"25","shenma":"0"}}

调用代码

自行调用

调用代码

<?php
header("Content-Type:text/json;charset=UTF-8");
date_default_timezone_set("PRC");
$url = $_GET['url'];
$result = file_get_contents("http://api.xsdggw.cn/api/shoulu-1.php?url=".$url);
echo $result;
?>