LayeredStudio / whoiser

🌍 Easy to use WHOIS info for domains, TLDs and IPs
MIT License
215 stars 32 forks source link

Whois request per second / minute #70

Closed neelhabib closed 2 years ago

neelhabib commented 2 years ago

Hi could you please provide how many request could I make per sec / minute? I am going to use it on a semi-large scale application. Thanks.

AndreiIgna commented 2 years ago

Hi @neelhabib

This info is not something I can provide, as it's not handled by this library. whoiser only makes requests to WHOIS servers, ex: the ones listed here https://github.com/LayeredStudio/whoiser/blob/master/src/whoiser.js#L9, and it's up to those servers to enforce access and rate limiting.

From usage on one of my websites I can see whois.verisign-grs.com (used for .com, .net) allows many requests, but the server for .org or .ai enforces rate limit by IP after a few requests per minute.

Hope this helps