API Documentation
Coming soon
Temporary API
At this time may contain some errors or bugs. Use carefully.
Valid USER-Agent header is required!
Get domain info
GET: /api/whoisinfo/domain/{{Domain}}
Answer success (json):
{
"success":true,
"ISP":"ISP Name",
"ASN":"AS Number",
"ASNimg":"(optional) ISP logo url",
"Country":"Country Full Name",
"Short_name":"Country Code",
"City":"City Name",
"dns":[
{
"name":"DNS server name",
"ttl":"DNS server TTL",
"ip":"DNS server IPv4"
},
{
"name":"DNS server name",
"ttl":"DNS server TTL",
"ip":"DNS server IPv4"
}
],
"rank":"Rank of top domain",
"IP_list":[
{
"value":"IP",
"type":"Int IP type (4 or 6)"
}
],
"IPv4":"IPv4 of domain",
"IPv6":"IPv6 of domain",
"PTR":"PTR for IPv4",
"img":"Country Image Url"
}
Answer fail (json):
{
"success":false,
"message":"String Message"
}
Get IP info
GET: /api/whoisinfo/ip/{{IP_v4_or_v6}}
Answer success (json):
{
"success":true,
"ISP":"ISP Name",
"Country":"Country Full Name",
"Short_name":"Country Code",
"City":"City Name",
"IPv4":"(optional) IPv4",
"IPv6":"(optional) IPv6",
"ASN":"AS Number",
"ASNimg":"(optional) ISP logo url",
"PTR":"PTR",
"img":"Country Image Url"
}
Answer fail (json):
{
"success":false,
"message":"String Message"
}
Test Start
POST: /api/test/start/{{type}}/{{query string}}
Input String:
type (required): int. (0 - get test, 1 - ping, 2 - traceroute, 3 - dns)
query string (required): string. (Ip or domain without proto and /)
proto (POST only, optional for get test): string (http or https. Default http)
Answer success (json):
{
"success":true,
"serverlist":[
{
"name":"Testpoint Name",
"country":"Testpoint Country Full Name",
"country_code":"Testpoint Country Code",
"country_img":"Testpoint Country Image Url",
"city":"Testpoint City",
"datacenter":"Testpoint Datacenter",
"hoster":"Testpoint Hoster Name",
"hoster_link":"Testpoint Hoster URL"
},
{
"name":"Testpoint Name",
"country":"Testpoint Country Full Name",
"country_code":"Testpoint Country Code",
"country_img":"Testpoint Country Image Url",
"city":"Testpoint City",
"datacenter":"Testpoint Datacenter",
"hoster":"Testpoint Hoster Name",
"hoster_link":"Testpoint Hoster URL"
}
],
"href":"Test Static Link",
"testid":"Test ID"
}
Answer fail (json):
{
"success":false,
"message":"String Message"
}
Test Status
GET: /api/test/status/{{testid}}
Input String:
testid (required): string (testid from test start stage)
Answer success (json):
{
"success":true,
"ended": bool (test status. if true - test ended and no need to update),
"servers_count":int (count of testpoints),
"test_time":"Start test time in HH:MM:SS DD.MM.YYYY",
"url": "domain or ip of test",
"results":[
{
"name":"testpoint name",
"success": bool (testpoint status true on success test, false - error),
{{Additional variables depending on test type}}
}
]
}
Answer fail (json):
{
"success":false,
"message":"String Message"
}