MediaWiki:Apihelp-query+blocks-param-ip
From esoterum.org
Get all blocks applying to this IP or CIDR range, including range blocks. Cannot be used together with $3users. CIDR ranges broader than IPv4/$1 or IPv6/$2 are not accepted.