N
N
Nikolai2017-03-09 17:46:24
API
Nikolai, 2017-03-09 17:46:24

Who knows a service for checking whois with a normal api?

I can't find a normal whois service for checking information about domains and an unlimited number of requests to the server via api. Maybe you know such - tell me plz.

Answer the question

In order to leave comments, you need to log in

8 answer(s)
A
Afatar, 2017-03-10
@Afatar

ip-api.com , xosh json, xosh xml

R
Ruslan Fedoseev, 2017-03-09
@martin74ua

Excuse me, but what does the whois command not suit you?

D
Dmitry Krymtsev, 2017-03-09
@krimtsev

In general, according to your question, there are several ways to implement it. What data do you want to receive?
For example, in php using the API

<?php
$domain = "ya.ru";
$api = "http://whoisapi.netfox.ru/api_v1/?domain=$domain";
$result = file_get_contents($api);
if ( $result ) echo "domain already registered";
else echo "domain available!";
?>

It is possible in php by referring directly to the utility
<?php 
$domain='ya.ru';
exec("whois ".$domain,$output,$return_var); 
foreach ($output as $line){
  echo $line.'<br>';
}
?>

You can write certain data (for example, a phone) to a document and then read it from there
$ whois lds.ua | grep phone | awk '{print $2}'
not
not
+380.444837799

but you did not understand the hint from Ruslan Fedoseev ;)

L
lehha, 2017-03-10
@lehha

There is no unlimited for ordinary users, only for registrars.
Therefore, a pack of IP on the machine and the whois utility in the console.

A
Alexander, 2018-02-19
@librown

api.whois.vu

V
Vitaly, 2017-03-09
@vshvydky

Whois in Linux works fine, wind up api on it and go

W
Whois, 2019-01-18
@andrey_id123456789

https://ipwhois.io/

D
Dmitry, 2020-01-16
@kdg22

https://htmlweb.ru/analiz/api_domain.php - there is whois and DNS data and many other data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question