我们可以在 shodan 中进行多少次搜索,API 会在什么时间充值?

How much searches can we do in shodan and after what time the API recharges?

我尝试在谷歌上搜索有关 shodan 速率限制的信息,但无法获得有关我们可以进行多少搜索以及在什么时间充电后的任何有用数据。就像在 github 中一样,我有 30 个请求,一段时间后,当我完成 30 个请求时,它可能会在 5 分钟后重新充电。

>>> s.info()
{'scan_credits': 0, 'usage_limits': {'scan_credits': 0, 'query_credits': 0, 'monitored_ips': 0}, 'plan': 'oss', 'https': False, 'unlocked': False, 'query_credits': 0, 'monitored_ips': 0, 'unlocked_left': 0, 'telnet': False}
>>> 

代码显示一切都是 0 我仍然可以在 shodan 中搜索,这是为什么? 我正在使用 python3-shodan。

Shodan API 使用限制在每个月初重置。

并且您处于免费 API 等级(oss 计划),这就是您没有任何查询/扫描积分的原因。如果您使用的是不同的 API 计划,那么您会看到您能够执行多少次查询/扫描以及您已经使用了多少积分。