api.syo.su - Network admin REST API © 2023-2025 DenSyo
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Endpoints:
myip: your host ip address
http://api.syo.su/myip
myaddr: your host ip addresses
http://api.syo.su/myaddr
whois: response of standard program whois
http://api.syo.su/whois
http://api.syo.su/whois?syo.su
http://api.syo.su/whois?216.73.216.152
ipwhois: host information from databases and ptr request
http://api.syo.su/ipwhois
http://api.syo.su/ipwhois?syo.su
http://api.syo.su/ipwhois?216.73.216.152
http://api.syo.su/ipwhois?216.73.216.152/21
http://api.syo.su/ipwhois?216.73.208.152-216.73.224.152
ip: host information only from databases
http://api.syo.su/ip
http://api.syo.su/ip?216.73.216.152
ip/lite: host information only from ip2location databases
http://api.syo.su/ip/lite
http://api.syo.su/ip/lite?216.73.216.152
ip/lite/geo: host information only from ip2location geo database
http://api.syo.su/ip/lite/geo
http://api.syo.su/ip/lite/geo?216.73.216.152
ip/lite/asn: host information only from ip2location asn database
http://api.syo.su/ip/lite/asn
http://api.syo.su/ip/lite/asn?216.73.216.152
ip/dev: host information only from maxmind database
http://api.syo.su/ip/dev
http://api.syo.su/ip/dev?216.73.216.152
gethost: get ip address by host name
http://api.syo.su/gethost?syo.su
gethosts: get ip addresses by host name
http://api.syo.su/gethosts?google.com
getname: get host ptr record
http://api.syo.su/getname?216.73.216.152
pingme: result of ping your host
http://api.syo.su/pingme
tracertme: result of icmp traceroute your host
http://api.syo.su/tracertme
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Parameters:
join: line separator in text answer (default \r\n)
br - HTML
lf - Linux \n
cr - Mac \r
use any combination:
crlf - Windows \r\n
brcrlf -
and \r\n
http://api.syo.su/whois?216.73.216.152&join=lf
http://api.syo.su/whois?join=br&syo.su
from: step from which to return search result for the address range (default 0)
http://api.syo.su/ipwhois?216.73.216.152/8&from=1
http://api.syo.su/ip?from=2&214.73.216.152-218.73.216.152
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Headers:
Accept: line separator in text answer (parameter join has priority)
text/html -
text/plain - \n
all other - \r\n
Range: step from which to return search result for the address range (parameter from has priority)