Skip to Content
ReferenceAPI referenceCrowdSec
Next: these pages describe unreleased changes on the develop branch. Read the docs for the current release

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. The list comes from the decision stream the server polls, so a change can take up to CROWDSEC_STREAM_POLL_INTERVAL seconds to show.

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"  }]