Domain name availability check script
Functionality of the script:
Input data
List of domains for checking (format .txt, .csv, or array in code).
Ability to specify TLD (for example, .com, .net, .org) to limit the check.
Availability check
Via WHOIS:
The script sends a request to the WHOIS server for each domain.
Determines whether the domain is registered or available.
Via registrar API (optional):
If there is access to the API (for example, Namecheap, Gname), the script makes a request for domain availability.
Parallel processing:
The script checks multiple domains simultaneously to speed up the process.
Processing results
The script marks each domain:
Available – can be registered.
Registered – already taken.
Error – failed to check (for example, WHOIS error).
Output of results
Table or file (CSV/XLSX) with columns:
Domain, Status, TLD.
Ability to immediately filter only available domains.
Optional features
Request limits per unit of time to avoid blocking WHOIS or API.
Re-checking erroneous domains (Error).
Input data
List of domains for checking (format .txt, .csv, or array in code).
Ability to specify TLD (for example, .com, .net, .org) to limit the check.
Availability check
Via WHOIS:
The script sends a request to the WHOIS server for each domain.
Determines whether the domain is registered or available.
Via registrar API (optional):
If there is access to the API (for example, Namecheap, Gname), the script makes a request for domain availability.
Parallel processing:
The script checks multiple domains simultaneously to speed up the process.
Processing results
The script marks each domain:
Available – can be registered.
Registered – already taken.
Error – failed to check (for example, WHOIS error).
Output of results
Table or file (CSV/XLSX) with columns:
Domain, Status, TLD.
Ability to immediately filter only available domains.
Optional features
Request limits per unit of time to avoid blocking WHOIS or API.
Re-checking erroneous domains (Error).