CrowdSec — API
Swagger CrowdSecv1.0.0 Read the vendor's spec ↗
- 23 endpoints
- 1 version archived since Jul 20, 2026
- Last checked Nov 2, 2026
CrowdSec local API
Get started
$ curl "https://127.0.0.1/v1/alerts" \
-H "Authorization: Bearer: $API_KEY"
Set $API_KEY first, then paste.
- Base URL
-
https://127.0.0.1/v1 - Authenticate
-
API key in the Authorization: Bearer header
1 other scheme
- API key in the X-Api-Key header
What it covers
- Watchers 18 Operations about watchers : cscli & crowdsec
- Remediation Component 5 Operations about decisions : bans, captcha, rate-limit etc.
Open an endpoint for a runnable command, its inputs and what it returns.
Watchers 18
-
DELETE
/alertsdeleteAlertsLoading…
-
DELETE
/alerts/{alert_id}DeleteAlertLoading…
-
DELETE
/decisionsdeleteDecisionsLoading…
-
DELETE
/decisions/{decision_id}DeleteDecisionLoading…
-
DELETE
/watchers/selfDeleteWatcherLoading…
-
GET
/alertssearchAlertsLoading…
-
GET
/alerts/{alert_id}GetAlertByIDLoading…
-
GET
/allowlistsgetAllowlistsLoading…
-
GET
/allowlists/check/{ip_or_range}checkAllowlistLoading…
-
GET
/allowlists/{allowlist_name}getAllowlistLoading…
-
HEAD
/alertssearchAlertsLoading…
-
HEAD
/alerts/{alert_id}GetAlertByIDLoading…
-
HEAD
/allowlists/check/{ip_or_range}checkAllowlistLoading…
-
HEAD
/allowlists/{allowlist_name}getAllowlistLoading…
-
POST
/alertspushAlertsLoading…
-
POST
/allowlists/checkpostCheckAllowlistLoading…
-
POST
/watchersRegisterWatcherLoading…
-
POST
/watchers/loginAuthenticateWatcherLoading…
Remediation Component 5
-
GET
/decisionsgetDecisionsLoading…
-
GET
/decisions/streamgetDecisionsStreamLoading…
-
HEAD
/decisionsGetDecisionsLoading…
-
HEAD
/decisions/streamGetDecisionsStreamLoading…
-
POST
/usage-metricsSend usage metricsLoading…
No endpoint matches. Clear the filter to see all 23.