WHOIS IP Lookup API

GET

https://api.apifreaks.com/v1.0/ip/whois/live

format
Format of the Response
ipStringrequired
IPv4 or IPv6 whose WHOIS required

Sample Responses

400
LANGUAGE
Python
PHP
Java
Node
Ruby
$ pip install requests
RESPONSE

Click Test it to start the request and see the response here!


API Response

FieldTypeRequirementDescription
statusBooleanMandatory
Indicates if the WHOIS response from whois_server is a complete response
ip_addressStringMandatory
IP address (IPv4 or IPv6) to query live WHOIS
query_timeStringMandatory
Date and time of WHOIS query in the yyyy-MM-dd HH:mm:ss format
whois_serverStringMandatory
WHOIS host server used to query the ip_address
inet_numsArrayMandatory

List of inet nums. Each object contains the following fields:

FieldTypeRequirementDescription
start_ipStringMandatory
Start IP in the IP range
end_ipStringMandatory
End IP in the IP range
cidrStringMandatory
IP range in the CIDR format
net_nameStringMandatory
Net-Name (unique ID) of this inetnum in the WHOIS data
net_handleStringOptional
Net-Handle (unique ID) of this inetnum in the WHOIS data, only available in the ARIN's response
descriptionList<String>Optional

All values of description in this inetnum

countriesList<String>Mandatory
All ISO 3166-2 letter country codes from where the IP block is allocated
geofeedStringOptional
Link to the geofeed
latitudeFloatOptional

Latitude value parsed from geoloc in the inetnum object

longitudeFloatOptional

Longitude value parsed from geoloc in the inetnum object

cityStringOptional
City of allocation for the inetnum, only returned from the LACNIC's response
languagesList<String>Optional
All regional languages in countries of allocation
statusStringMandatory
Allocation or assignment status
organizationStringOptional
Handle (unique ID) of the organization in WHOIS data, managing this inetnum
sponsoring_organizationStringOptional
Handle (unique ID) of the sponsoring organization in WHOIS data, sponsoring this inetnum
admin_contactsList<String>Mandatory
All handles (unique IDs) of admin persons or roles in WHOIS data
tech_contactsList<String>Mandatory
All handles (unique IDs) of tech persons or roles in WHOIS data
abuse_contactsList<String>Optional
All handles (unique IDs) of abuse persons or roles in WHOIS data
remarksList<String>Optional

All values of remarks in inetnum object

assignment_sizeStringOptional
Allocation or assignment size of IP network or block
notifyList<String>Optional

All values of notify in the inetnum object

mnt_byList<String>Optional

All values of mnt-by in the inetnum object

mnt_lowerList<String>Optional

All values of mnt-lower in the inetnum object

mnt_domainsList<String>Optional

All values of mnt-domains in the inetnum object

mnt_routesList<String>Optional

All values of mnt-routes in the inetnum object

mnt_irtList<String>Optional

All values of mnt-irt in the inetnum object

date_createdStringOptional
This object's registration date, parsed in yyyy-MM-dd format
date_updatedStringMandatory
This object's last update date, parsed in yyyy-MM-dd format
sourceStringMandatory
WHOIS data source of this object
parentsStringOptional
Parent allocations or assignments of this inetnum block
irt.handleStringMandatory
Handle or unique identifier of this irt in the WHOIS data
irt.addressList<String>Mandatory
All values of address in the irt object
irt.streetStringOptional
Parsed street addressfrom address
irt.cityStringOptional
Parsed cityfrom address
irt.districtStringOptional
Parsed districtfrom address
irt.stateStringOptional
Parsed statefrom address
irt.zip_codeStringOptional
Parsed ZIP codefrom address
irt.countryStringOptional
Parsed countryfrom address
irt.emailList<String>Mandatory
All values of email in the irt object
irt.abuse_mailboxList<String>Optional
All values of abuse-mailbox in the irt object
irt.phoneList<String>Optional
All values of phone in the irt object
irt.fax_noList<String>Optional
All values of fax-no in the irt object
irt.organizationsList<String>Optional
All handles of organization objects, irt object is linked to
irt.admin_contactsList<String>Mandatory
All handles (unique IDs) of admin persons or roles in WHOIS data
irt.tech_contactsList<String>Mandatory
All handles (unique IDs) of tech persons or roles in WHOIS data
irt.remarksList<String>Optional
All values of remarks in the irt object
irt.signatureList<String>Optional
All values of signature in the irt object
irt.encryptionList<String>Optional
All values of encryption in the irt object
irt.authList<String>Optional
All values of auth in the irt object
irt.notifyList<String>Optional
All values of notify in the irt object
irt.irt_nfyList<String>Optional
All values of irt-nfy in the irt object
irt.mnt_byList<String>Optional
All values of mnt-by in the irt object
irt.mnt_refList<String>Optional
All values of mnt-ref in the irt object
irt.date_createdStringOptional
This object's registration date, parsed in yyyy-MM-dd format
irt.date_updatedStringMandatory
This object's last update date, parsed in yyyy-MM-dd format
irt.sourceStringMandatory
WHOIS data source of this object
organization.handleStringMandatory
Handle or unique identifier of this organization object in WHOIS data
organization.nameStringMandatory
Name of the organization
organization.typeStringOptional
Type of the organization
organization.descriptionList<String>Optional
All values of description in the organization object
organization.addressList<String>Mandatory
All values of address in the organization object
organization.streetStringOptional
Parsed street addressfrom address
organization.cityStringOptional
Parsed cityfrom address
organization.districtStringOptional
Parsed districtfrom address
organization.stateStringOptional
Parsed statefrom address
organization.zip_codeStringOptional
Parsed ZIP codefrom address
organization.countryStringOptional
Parsed countryfrom address
organization.latitudeFloatOptional
latitude parsed from the geoloc field
organization.longitudeFloatOptional
longitude parsed from the geoloc field
organization.emailList<String>Mandatory
All values of email in the organization object
organization.abuse_mailboxList<String>Optional
All values of abuse-mailbox in the organization object
organization.phoneList<String>Optional
All values of phone in the organization object
organization.fax_noList<String>Optional
All values of fax-no in the organization object
organization.organizationsList<String>Optional
All handles of organization objects, organization object is linked to
organization.admin_contactsList<String>Optional
All handles (unique IDs) of admin persons or roles in WHOIS data
organization.tech_contactsList<String>Optional
All handles (unique IDs) of tech persons or roles in WHOIS data
organization.abuse_contactsList<String>Optional
All handles (unique IDs) of abuse persons or roles in WHOIS data
organization.languagesList<String>Optional
All values of language in the organization object
organization.remarksList<String>Optional
All values of remarks in the organization object
organization.notifyList<String>Optional
All values of notify in the organization object
organization.ref_nfyList<String>Optional
All values of ref-nfy in the organization object
organization.mnt_byList<String>Optional
All values of mnt-by in the organization object
organization.mnt_refList<String>Optional
All values of mnt-ref in the organization object
organization.date_createdStringOptional
This object's registration date, parsed in yyyy-MM-dd format
organization.date_updatedStringMandatory
This object's last update date, parsed in yyyy-MM-dd format
organization.sourceStringMandatory
WHOIS data source of this object
administrative_contactsList<Object>Optional
List of administrative contacts
technical_contactsList<Object>Optional
List of technical contacts
abuse_contactsList<Object>Optional
List of abuse contacts
routesList<Object>Optional

List of routes. Each object in the list contains following fields:

FieldTypeRequirementDescription
routeStringMandatory
BGP route
originStringMandatory
AS number
descriptionList<String>Optional

All values of description in the route

countryStringOptional
Country of organization, managing this route
pingableList<String>Optional

All values of pingable in the route

ping_hdlList<String>Optional

All values of ping-hdl in the route

holesList<String>Optional

All values of holes in the route

member_ofList<String>Optional

All values of member-of in the route

injectList<String>Optional

All values of inject in the route

aggr_mtdStringOptional

Value of aggr-mtd in the route

aggr_bndryStringOptional

Value of aggr-bndry in the route

export_compsStringOptional

Value of export-comps in the route

componentsStringOptional

Value of components in the route

organizationsList<String>Optional
All handles of Organization objects related to the route
remarksList<String>Optional

All values of remarks in the route

notifyList<String>Optional

All values of notify in the route

mnt_lowerList<String>Optional

All values of mnt-lower in the route

mnt_byList<String>Optional

All values of mnt-by in the route

date_createdStringOptional
This object's registration date, parsed in yyyy-MM-dd format
date_updatedStringMandatory
This object's last update date, parsed in yyyy-MM-dd format
sourceStringMandatory
WHOIS data source of this object
whois_raw_responseStringMandatory
WHOIS response (unparsed) from the whois_server WHOIS server
r_whois_raw_responseStringMandatory
WHOIS response from the rwhois server

Each object within the lists of administrative contacts, technical contacts, and abuse contacts comprises the following fields:

FieldTypeRequirementDescription
handleStringMandatory
Handle or unique identifier of this person or role object in WHOIS data
nameStringMandatory
Name of the person or role
addressList<String>Mandatory
All values of address in the object
streetStringOptional
Parsed street address from address
cityStringOptional
Parsed city from address
districtStringOptional
Parsed district from address
stateStringOptional
Parsed state from address
zip_codeStringOptional
Parsed ZIP code from address
countryStringOptional
Parsed country from address
emailList<String>Mandatory
All values of email in the object
abuse_mailboxList<String>Optional
All values of abuse-mailbox in the object
phoneList<String>Optional
All values of phone in the object
fax_noList<String>Optional
All values of fax-no in the object
organizationsList<String>Optional

All handles of organization objects, managing this person or role object

admin_contactsList<String>Optional
All handles (unique IDs) of admin persons or roles in WHOIS data
tech_contactsList<String>Optional
All handles (unique IDs) of tech persons or roles in WHOIS data
remarksList<String>Optional
All values of remarks in the person or role object
notifyList<String>Optional
All values of notify in the person or role object
mnt_byList<String>Optional
All values of mnt-by in the person or role object
mnt_refList<String>Optional
All values of mnt-ref in the person or role object
date_createdStringOptional
This object's registration date, parsed in yyyy-MM-dd format
date_updatedStringMandatory
This object's last update date, parsed in yyyy-MM-dd format
sourceStringMandatory
WHOIS data source of this object