# Castle API

**Canonical:** https://apis.io/apis/castle/castle-api/  
**Provider:** Castle — https://apis.io/providers/castle/  
**Base URL:** https://api.castle.io  
**Documentation:** https://reference.castle.io

Castle API is published by [Castle](https://apis.io/providers/castle/) on the [APIs.io](https://apis.io/) network. Tagged areas include Fraud Prevention, Bot Detection, and Risk Scoring. The published artifact set on APIs.io includes API documentation, an API reference, a getting-started guide, and authentication docs.

Castle's REST API for real-time fraud and abuse detection. The Risk API scores authenticated user events (login, transaction, profile update), the Filter API scores anonymous/pre-authentication events (registration, password reset), the Log API records events without scoring, and the enterprise Events API queries and aggregates historical events. Device and Lists endpoints manage device reputation and allow/deny lists.

## Machine-readable artifacts (6)

- **Documentation** — https://docs.castle.io/
- **APIReference** — https://reference.castle.io
- **GettingStarted** — https://docs.castle.io/docs/integration-guide
- **Authentication** — https://raw.githubusercontent.com/api-evangelist/castle/refs/heads/main/authentication/castle-authentication.yml
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/castle/refs/heads/main/asyncapi/castle-webhooks.yml
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/castle/refs/heads/main/apis.yml

## Tags

Fraud Prevention, Bot Detection, Risk Scoring

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/castle/castle-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/castle/.
