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

listbanned

List all manually banned IPs/Subnets.

Result:
[                            (json array)
  {                          (json object)
    "address" : "str",       (string)
    "banned_until" : xxx,    (numeric)
    "ban_created" : xxx      (numeric)
  },
  ...
]

Examples:
> bitcoin-cli listbanned 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "li