Whois API
根据IP地址查询WHOIS信息
Path parameters
ipstringRequiredExample:
要查询的IP地址
193.0.0.1
Responses
200
成功响应
application/json
400
无效请求
application/json
404
未找到
application/json
500
服务器错误
application/json
get
GET /ip/{ip} HTTP/1.1
Host: whois.akaere.online
Accept: */*
{
"success": true,
"data": {
"handle": "193.0.0.0 - 193.0.7.255",
"startAddress": "193.0.0.0",
"endAddress": "193.0.7.255",
"ipVersion": "v4",
"name": "RIPE-NCC",
"type": "ALLOCATED",
"country": "NL",
"parentHandle": "193.0.0.0/8",
"entities": [
{
"handle": "ORG-RIPE1-RIPE",
"vcardArray": [
"vcard",
[
[
"version",
{},
"text",
"4.0"
],
[
"fn",
{},
"text",
"RIPE Network Coordination Centre"
]
]
],
"roles": [
"registrant"
]
}
],
"events": [
{
"eventAction": "last changed",
"eventDate": "2019-11-01T13:10:51Z"
},
{
"eventAction": "registration",
"eventDate": "1993-05-01T00:00:00Z"
}
],
"links": [
{
"value": "https://rdap.db.ripe.net/ip/193.0.0.0/21",
"rel": "self",
"href": "https://rdap.db.ripe.net/ip/193.0.0.0/21",
"type": "application/rdap+json"
}
]
}
}
根据ASN编号查询信息
Path parameters
asnstringRequiredExample:
要查询的ASN编号,可以包含或不包含'AS'前缀
AS3333
Responses
200
成功响应
application/json
400
无效请求
application/json
404
未找到
application/json
500
服务器错误
application/json
get
GET /asn/{asn} HTTP/1.1
Host: whois.akaere.online
Accept: */*
{
"success": true,
"data": {
"handle": "3333",
"startAutnum": 3333,
"endAutnum": 3333,
"name": "RIPE-NCC-AS",
"type": "ALLOCATED",
"status": [
"active"
],
"country": "NL",
"entities": [
{
"handle": "ORG-RIPE1-RIPE",
"vcardArray": [
"vcard",
[
[
"version",
{},
"text",
"4.0"
],
[
"fn",
{},
"text",
"RIPE Network Coordination Centre"
]
]
],
"roles": [
"registrant"
]
}
],
"events": [
{
"eventAction": "last changed",
"eventDate": "2019-11-01T13:10:51Z"
},
{
"eventAction": "registration",
"eventDate": "1993-05-01T00:00:00Z"
}
],
"links": [
{
"value": "https://rdap.db.ripe.net/autnum/3333",
"rel": "self",
"href": "https://rdap.db.ripe.net/autnum/3333",
"type": "application/rdap+json"
}
]
}
}
根据域名查询WHOIS信息
Path parameters
domainstringRequiredExample:
要查询的域名
example.com
Responses
200
成功响应
application/json
400
无效请求
application/json
404
未找到
application/json
500
服务器错误
application/json
get
GET /domain/{domain} HTTP/1.1
Host: whois.akaere.online
Accept: */*
{
"success": true,
"data": {
"domainName": "example.com",
"status": [
"clientTransferProhibited",
"serverDeleteProhibited",
"serverTransferProhibited",
"serverUpdateProhibited"
],
"registrar": "Internet Corporation for Assigned Names and Numbers",
"createdDate": "1995-08-14T04:00:00Z",
"updatedDate": "2021-08-14T07:01:44Z",
"expiryDate": "2022-08-13T04:00:00Z",
"nameServers": [
"a.iana-servers.net",
"b.iana-servers.net"
],
"raw": {
"ldhName": "example.com",
"unicodeName": "example.com",
"status": [
"clientTransferProhibited",
"serverDeleteProhibited",
"serverTransferProhibited",
"serverUpdateProhibited"
],
"entities": [
{
"handle": "IANA",
"roles": [
"registrar"
],
"vcardArray": [
"vcard",
[
[
"version",
{},
"text",
"4.0"
],
[
"fn",
{},
"text",
"Internet Corporation for Assigned Names and Numbers"
]
]
]
}
],
"events": [
{
"eventAction": "registration",
"eventDate": "1995-08-14T04:00:00Z"
},
{
"eventAction": "last changed",
"eventDate": "2021-08-14T07:01:44Z"
},
{
"eventAction": "expiration",
"eventDate": "2022-08-13T04:00:00Z"
}
],
"nameservers": [
{
"ldhName": "a.iana-servers.net"
},
{
"ldhName": "b.iana-servers.net"
}
]
}
}
}
Last updated
Was this helpful?