域名注册查询API接口


接口地址

https://api.vvhan.com/api/dm

返回格式

JSON

请求方式:

GET

请求示例:

https://api.vvhan.com/api/dm?url=han88.net

参数说明

名称必填类型说明
urlstring输入要查询的域名

返回数据

{"domain":"han88.net","msg":"域名可注册"}

调用实例

自行调用

示例代码

<?php
header("Content-Type:text/json;charset=UTF-8"); $url = $_GET['url']; $result = file_get_contents("https://api.vvhan.com/api/dm?url=" . $url); echo $result;
?>