接口地址

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

返回格式

JSON

請求方式:

GET

請求示例:

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

 

參數說明

名稱 必填 類型 說明
url string 輸入要查詢的域名

返回數據

{"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;
?>