Loading
Loading
Look up the registration record of any IPv4 or IPv6 address, from the five Regional Internet Registries.
https://api.apifreaks.com/v1.0/ip/whois/liveThe record holds the allocated block with CIDR ranges, the organization, technical and abuse contacts, route objects and the registry text. The fields in the record follow what the responding registry publishes, so check whois_server and read the raw record when a field you expect is missing.
Send your API key with every request. Pass it in the X-apiKey header or in the apiKey query parameter.
X-apiKey: YOUR_API_KEY to the request. Prefer this one, because query strings are often logged.apiKey=YOUR_API_KEY to the URL. Handy for a quick test in the browser.A request without a key returns 400, and an invalid key returns 401.
This page documents version 1.0 of the API. The version is part of the endpoint path, for example /v1.0/.
The following parameters can be used in your API requests. All parameters are passed as query string parameters.
formatoptionalStringdefault: jsonjson or xml.iprequiredStringIPv4 or IPv6 whose WHOIS required. Private, loopback and reserved addresses are not rejected: they return a 200 with the IANA special-use record.
A successful request returns a 200 OK response with a JSON object. When a registry sends an incomplete answer the same body comes back with 206 Partial Content. See the response preview for the full JSON structure.
statusBooleanmandatorytrue when the record from whois_server is complete. A different field from status inside inet_nums.
ip_addressStringmandatoryIP address (IPv4 or IPv6) to query live WHOIS.
query_timeStringmandatoryDate and time of WHOIS query in the yyyy-MM-dd HH:mm:ss format.
whois_serverStringmandatoryWHOIS host server used to query the ip_address.
whois_raw_responseStringmandatoryWHOIS response (unparsed) from the whois_server WHOIS server.
start_ipStringmandatoryStart IP in the IP range.
end_ipStringmandatoryEnd IP in the IP range.
cidrArray<String>mandatoryIP range in the CIDR format.
net_nameStringmandatoryNet-Name (unique ID) of this inetnum in the WHOIS data.
net_handleStringoptionalNet-Handle (unique ID) of this inetnum in the WHOIS data, only available in the ARIN's response.
descriptionArray<String>optionalAll values of description in this inetnum.
countriesArray<String>optionalAll ISO 3166-2 letter country codes from where the IP block is allocated.
geofeedStringoptionalLink to the geofeed (RFC 8805)
statusStringoptionalHow the registry handed this block out, in its own words, such as Direct Allocation. Not the result of the call.
organizationStringoptionalHandle (unique ID) of the organization in WHOIS data, managing this inetnum.
remarksArray<String>optionalAll values of remarks in inetnum object.
assignment_sizeStringoptionalAllocation or assignment size of IP network or block.
notifyArray<String>optionalAll values of notify in the inetnum object.
mnt_byArray<String>optionalAll values of mnt-by in the inetnum object.
mnt_lowerArray<String>optionalAll values of mnt-lower in the inetnum object.
mnt_domainsArray<String>optionalAll values of mnt-domains in the inetnum object.
mnt_routesArray<String>optionalAll values of mnt-routes in the inetnum object.
mnt_irtArray<String>optionalAll values of mnt-irt in the inetnum object.
date_createdStringoptionalThis object's registration date, parsed in yyyy-MM-dd format.
date_updatedStringoptionalThis object's last update date, parsed in yyyy-MM-dd format.
sourceStringmandatoryWHOIS data source of this object.
parentsArray<String>optionalParent allocations or assignments of this inetnum block.
handleStringmandatoryHandle or unique identifier of this irt in the WHOIS data.
addressArray<String>mandatoryAll values of address in the irt object.
streetStringoptionalParsed street address from address.
cityStringoptionalParsed city from address.
stateStringoptionalParsed state from address.
zip_codeStringoptionalParsed ZIP code from address.
countryStringoptionalParsed country from address.
emailArray<String>mandatoryAll values of email in the irt object.
abuse_mailboxArray<String>mandatoryAll values of abuse-mailbox in the irt object.
phoneArray<String>optionalAll values of phone in the irt object.
fax_noArray<String>optionalAll values of fax-no in the irt object.
admin_contactsArray<String>mandatoryAll handles (unique IDs) of admin persons or roles in WHOIS data.
tech_contactsArray<String>mandatoryAll handles (unique IDs) of tech persons or roles in WHOIS data.
remarksArray<String>optionalAll values of remarks in the irt object.
notifyArray<String>optionalAll values of notify in the irt object.
irt_nfyArray<String>optionalAll values of irt-nfy in the irt object.
mnt_byArray<String>optionalAll values of mnt-by in the irt object.
date_updatedStringoptionalThis object's last update date, parsed in yyyy-MM-dd format.
sourceStringmandatoryWHOIS data source of this object.
handleStringmandatoryHandle or unique identifier of this organization object in WHOIS data.
nameStringmandatoryName of the organization.
typeStringoptionalType of the organization.
descriptionArray<String>optionalAll values of description in the organization object.
addressArray<String>optionalAll values of address in the organization object.
streetStringoptionalParsed street address from address.
cityStringoptionalParsed city from address.
stateStringoptionalParsed state from address.
zip_codeStringoptionalParsed ZIP code from address.
countryArray<String>optionalParsed country from address.
emailArray<String>optionalAll values of email in the organization object.
phoneArray<String>optionalAll values of phone in the organization object.
fax_noArray<String>optionalAll values of fax-no in the organization object.
admin_contactsArray<String>optionalAll handles (unique IDs) of admin persons or roles in WHOIS data.
tech_contactsArray<String>optionalAll handles (unique IDs) of tech persons or roles in WHOIS data.
abuse_contactsArray<String>optionalAll handles (unique IDs) of abuse persons or roles in WHOIS data.
remarksArray<String>optionalAll values of remarks in the organization object.
mnt_byArray<String>optionalAll values of mnt-by in the organization object.
mnt_refArray<String>optionalAll values of mnt-ref in the organization object.
date_createdStringoptionalThis object's registration date, parsed in yyyy-MM-dd format.
date_updatedStringoptionalThis object's last update date, parsed in yyyy-MM-dd format.
sourceStringmandatoryWHOIS data source of this object.
handleStringmandatoryHandle or unique identifier of this person or role object in WHOIS data.
nameStringoptionalName of the person or role.
addressArray<String>optionalAll values of address in the object.
streetStringoptionalParsed street address from address.
cityStringoptionalParsed city from address.
stateStringoptionalParsed state from address.
zip_codeStringoptionalParsed ZIP code from address.
countryStringoptionalParsed country from address.
emailArray<String>optionalAll values of email in the object.
abuse_mailboxArray<String>optionalAll values of abuse-mailbox in the object.
phoneArray<String>optionalAll values of phone in the object.
fax_noArray<String>optionalAll values of fax-no in the object.
organizationsArray<String>optionalAll handles of organization objects, managing this person or role object.
admin_contactsArray<String>optionalAll handles (unique IDs) of admin persons or roles in WHOIS data.
tech_contactsArray<String>optionalAll handles (unique IDs) of tech persons or roles in WHOIS data.
remarksArray<String>optionalAll values of remarks in the person or role object.
notifyArray<String>optionalAll values of notify in the person or role object.
mnt_byArray<String>optionalAll values of mnt-by in the person or role object.
mnt_refArray<String>optionalAll values of mnt-ref in the person or role object.
date_createdStringoptionalThis object's registration date, parsed in yyyy-MM-dd format.
date_updatedStringoptionalThis object's last update date, parsed in yyyy-MM-dd format.
sourceStringmandatoryWHOIS data source of this object.
handleStringmandatoryHandle or unique identifier of this person or role object in WHOIS data.
nameStringoptionalName of the person or role.
addressArray<String>optionalAll values of address in the object.
streetStringoptionalParsed street address from address.
cityStringoptionalParsed city from address.
stateStringoptionalParsed state from address.
zip_codeStringoptionalParsed ZIP code from address.
countryStringoptionalParsed country from address.
emailArray<String>optionalAll values of email in the object.
abuse_mailboxArray<String>optionalAll values of abuse-mailbox in the object.
phoneArray<String>optionalAll values of phone in the object.
fax_noArray<String>optionalAll values of fax-no in the object.
organizationsArray<String>optionalAll handles of organization objects, managing this person or role object.
admin_contactsArray<String>optionalAll handles (unique IDs) of admin persons or roles in WHOIS data.
tech_contactsArray<String>optionalAll handles (unique IDs) of tech persons or roles in WHOIS data.
remarksArray<String>optionalAll values of remarks in the person or role object.
notifyArray<String>optionalAll values of notify in the person or role object.
mnt_byArray<String>optionalAll values of mnt-by in the person or role object.
mnt_refArray<String>optionalAll values of mnt-ref in the person or role object.
date_createdStringoptionalThis object's registration date, parsed in yyyy-MM-dd format.
date_updatedStringoptionalThis object's last update date, parsed in yyyy-MM-dd format.
sourceStringmandatoryWHOIS data source of this object.
handleStringmandatoryHandle or unique identifier of this person or role object in WHOIS data.
nameStringoptionalName of the person or role.
addressArray<String>optionalAll values of address in the object.
streetStringoptionalParsed street address from address.
cityStringoptionalParsed city from address.
stateStringoptionalParsed state from address.
zip_codeStringoptionalParsed ZIP code from address.
countryStringoptionalParsed country from address.
emailArray<String>optionalAll values of email in the object.
abuse_mailboxArray<String>optionalAll values of abuse-mailbox in the object.
phoneArray<String>optionalAll values of phone in the object.
fax_noArray<String>optionalAll values of fax-no in the object.
organizationsArray<String>optionalAll handles of organization objects, managing this person or role object.
admin_contactsArray<String>optionalAll handles (unique IDs) of admin persons or roles in WHOIS data.
tech_contactsArray<String>optionalAll handles (unique IDs) of tech persons or roles in WHOIS data.
remarksArray<String>optionalAll values of remarks in the person or role object.
notifyArray<String>optionalAll values of notify in the person or role object.
mnt_byArray<String>optionalAll values of mnt-by in the person or role object.
mnt_refArray<String>optionalAll values of mnt-ref in the person or role object.
date_createdStringoptionalThis object's registration date, parsed in yyyy-MM-dd format.
date_updatedStringoptionalThis object's last update date, parsed in yyyy-MM-dd format.
sourceStringmandatoryWHOIS data source of this object.
routeStringoptionalBGP route.
originStringoptionalAS number.
descriptionArray<String>optionalAll values of description in the route.
countryStringoptionalCountry of organization, managing this route.
remarksArray<String>optionalAll values of remarks in the route.
mnt_byArray<String>optionalAll values of mnt-by in the route.
date_createdStringoptionalThis object's registration date, parsed in yyyy-MM-dd format.
date_updatedStringoptionalThis object's last update date, parsed in yyyy-MM-dd format.
sourceStringmandatoryWHOIS data source of this object.
Besides the response body, every response carries custom headers you can use to track credit usage, and concurrency usage on endpoints that enforce a concurrency limit. See the Custom Response Headers documentation and the endpoints with concurrency limits for more details.
X-Concurrent-Threadsheaderconcurrency-limited endpointsSpecifies the maximum number of concurrent requests allowed.
X-Concurrent-Threads-Activeheaderconcurrency-limited endpointsIndicates the number of active concurrent requests being processed.
X-AF-Credits-Costheaderall responsesSpecifies the number of credits consumed by the current request.
See the HTTP Status Codes documentation for a complete reference of common API errors and HTTP status codes. Only successful (2xx) requests are charged. Errors cost nothing.
Request-param 'ip' (not-an-ip) is not an IP address
please pass correct parameters
Please provide apiKey
The requested resource could not be found. Please verify the URL and try again.
The media type specified in the request is not supported. For more details, please refer to the API documentation.
Unable to fetch whois data.Please try again [For Technical Support: support@apifreaks.com]
You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]
You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan. [For Technical Support email at: support@apifreaks.com]
Please slow down. Your maximum request limit per minute reached.
The request or connection timeout you’ve set is too short, which is causing the server to close the connection before completing the response. Please increase the timeout duration to ensure successful communication with the server.