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