Skip to Content
ReferenceAPI referenceCrowdSec

List every IP under an active decision

GET
/api/v1/crowdsec/banned-ips

Returns each IP that holds an Ip decision from any origin, once, with the strongest decision type on it. ban beats captcha, which beats the rest. /banned-ranges lists the Range decisions.

Authorization

cookiesession<token>

Session cookie authentication.

Response Body

Request fulfilled, document follows

application/json
  1. response
[index: integer]?

An IP under an active decision.

Example Request
curl -X GET 'https://geometrikks.example.com/api/v1/crowdsec/banned-ips'
Example Response200
[  {    "ip": "string",    "type": "string"  }]