Loading
Loading
Look up the WHOIS record of up to 100 domains in a single request. Each domain gets its own entry in the response, with the same structure as the single Domain WHOIS Lookup API.
https://api.apifreaks.com/v2.0/domain/whois/liveThe API accepts a JSON body with a domainNames array of domain names or URLs via POST and returns an array of WHOIS entries, one per domain. Each entry carries its own domain_name and status, so match results to your list by name, not position. A name that cannot be looked up is reported on its own entry and does not affect the rest of the batch.
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 2.0 of the API. The version is part of the endpoint path, for example /v2.0/.
The following parameters can be used in your API requests. All parameters are passed as query string parameters.
formatoptionalStringdefault: jsonjson or xml.The request body is a JSON object with a domainNames array of up to 100 domain names or URLs to look up. More than 100 returns 413.
domainNamesrequiredArray<String>Array of domain names or URLs to look up. Maximum 100 items per request.
A successful request returns a 200 OK response with a JSON object that holds one array. When some names in the batch cannot be looked up, the same body comes back with 206 Partial Content, and the failure sits on that name's entry. See the response preview for the full JSON structure.
bulk_whois_responseArray<Object>optionaldomain_name so you can match it to your list. A name that is sent twice returns one entry, and a URL comes back as its domain. Check status on each entry first. A registered domain returns the full record, an unregistered name returns only domain_name, query_time and domain_registered: "no", and a name that cannot be looked up returns status: false with status_code, error and message. The fields of a record are the same as in the Domain WHOIS Lookup API.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.
Please provide data in required format in request body
Please provide apiKey
We are not providing the whois of this domain extension(comsdf)
Provided domain belongs to an inactive TLD. Please try to use historical whois lookup.
The media type specified in the request is not supported. For more details, please refer to the API documentation.
You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]
Maximum request body size limit exceeded
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.
{"domainNames": ["google.com","microsoft.com"]}