Freenom
Freenom可以查询免费域名注册状态、任一域名注册状态
- 查询免费域名注册状态
请求地址:
https://my.freenom.com/includes/domains/fn-available.php
可用参数:domain
提交方式:GET
Ex:https://my.freenom.com/includes/domains/fn-available.php?domain=FreeApiWiki
返回数据类型:json
(返回的内容中free_domains
是免费域名注册状态)
Ex:"free_domains":[{"status":"AVAILABLE","domain":"freeapiwiki","tld":".tk","currency":"USD","type":"FREE","price_int":"0","price_cent":"00","show_top_domain":0,"is_in_cart":0},{"status":"AVAILABLE","domain":"freeapiwiki","tld":".ml","currency":"USD","type":"FREE","price_int":"0","price_cent":"00","show_top_domain":0,"is_in_cart":0},{"status":"AVAILABLE","domain":"freeapiwiki","tld":".ga","currency":"USD","type":"FREE","price_int":"0","price_cent":"00","show_top_domain":0,"is_in_cart":0},{"status":"AVAILABLE","domain":"freeapiwiki","tld":".cf","currency":"USD","type":"FREE","price_int":"0","price_cent":"00","show_top_domain":0,"is_in_cart":0},{"status":"AVAILABLE","domain":"freeapiwiki","tld":".gq","currency":"USD","type":"FREE","price_int":"0","price_cent":"00","show_top_domain":0,"is_in_cart":0}]
- 查询付费域名注册状态
请求地址: https://my.freenom.com/includes/domains/fn-additional.php
可用参数:domain,tld
提交方式:POST
Ex:https://my.freenom.com/includes/domains/fn-additional.php(postdata:domain=ourpast&tld=.cn)
返回数据类型:json
Ex:{
"available": 0
}
(0为不可用,1为可用)