---
name: listbanned
btcversion: 0.16.0
btcgroup: network
permalink: en/doc/0.16.0/rpc/network/listbanned/
---

listbanned

List all banned IPs/Subnets.

Examples:
> bitcoin-cli listbanned 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/


