详细内容
LatestCheck out what we've been working on LatestAdditional Authentication Method types
Stop bots and account abuse in minutes
Connect Castle to Cloudflare with no code, or use your own edge stack. Use the SDK to monitor users and stop fraud in-app. Enterprise security without the friction.
Start for free
Watch demo 2 min
How we're different
Dual-layer fraud defense
Castle is natively built to run at the edge and in-app as one system. Signals flow between both, so what you block early sharpens what you catch later.
-
Block abuse at the edge
Deploy Castle at the edge to analyze every request and credential stuffing and scripted abuse before they reach your backend.
-
Catch fraud in the app
Add our SDK to track sessions, devices, and behavior, enriched with your own business context. Spot fake signups, account takeovers, and multi-accounting in real time.
-
Go live in minutes
Start in monitoring mode, switch to blocking when ready. No DNS swap. No contracts. Just connect, observe, and protect.

Sign up
Password
Sign up
Enter PIN code
Continue
Verification failed
73
Castle Risk Score
-
Robotic input
-
3 accounts per device
-
Residential proxy
-
Spiky behavior
-
Newly registered domain
The Castle platform
Everything you need to stop fraud & abuse
A complete stack of data, tools, and APIs, eliminating the need for multiple, disconnected tools.
-
Behavioral analysis
Use out-of-the-box signals or create your own custom aggregations and rate limiters.

-
Device fingerprinting
99.5% accurate fingerprinting. Uncover headless browsers, tampering, carrier data, etc.

-
Bot detection
Detect bots, scripts, and coordinated attacks. Identify automated behavior and tampering.

-
AI scoring
Spot account takeover attempts and abusive behavior using self-learning AI.

-
Rules engine
Real-time allow, challenge, or deny actions. Manage rules seamlessly, without code changes.

-
Email intelligence
Assess email reputation and risk. Detect disposable domains and enumeration patterns.

-
Case & state management
Manage dynamic trust, block, and review lists of users, devices, or any custom attribute.


Analytics
Proactive threat hunting with user behavior analytics
Monitor, analyze, and alert on up to 18 months of historical data enriched with user and device intelligence to stop evolving abuse trends.
Network analysis
Spot network of bad user activity via shared devices, emails, IPs,
payment methods, or addresses.
Pattern exploration
Uncover bad user activity by querying and visualizing large amounts
data and turn into rules with a few clicks.
Session monitoring
Get a complete history of each user and company, down to individual
page views and any custom actions.
Rule backtesting
Test complex risk logic on historical data first, ensuring zero
disruption to legitimate users.
Pattern exploration
Uncover patterns in login attacks, signup spam campaigns, and repetitive in-app transactions.

Network analysis
Spot interconnected users via shared devices, emails, IPs, payment
methods, or addresses.

Session monitoring
Get a complete history of each user and company, down to
individual page views and any custom actions.

Rule simulation
Test complex risk logic on historical data first, ensuring zero disruption to legitimate users.





Customization
Fraudulent behavior, as defined by you
Combine Castle's threat data with velocity checks and rate limiters to categorize users according to what's considered fraud and abuse on your specific platform.
Fake Accounts
Weed out bad actors
Account Takeovers
Identify bots and human attacks
Multi-Accounting
Only allow signing up once
Content Abuse
Block repetitive spam content
SMS Pumping
Eliminate SMS verification abuse
Account Sharing
Define account sharing your way
Transaction Abuse
Stop credit card testing
API Abuse
Headless API protection
Fake Accounts
Weed out bad actors before or after signup
Segment out new accounts based on similarity to other accounts, bot behavior, and blocklists.
99
Active 2 minutes ago
Indonesia
Dki Jakarta, Jakarta
-
Suspicious IP
-
Users per Device (12)
-
Repetitive Email Pattern
-
Abuse-repored IP
74
Active 2 minutes ago
Indonesia
Dki Jakarta, Jakarta
- Suspicious IP
43
Active 2 minutes ago
Thailand
Bangkok
- Blocked Country
Account Takeovers
Identify both bots and human attacks
Use a combination of scores and heuristics to highlight suspicious or hijacked accounts.
99
Active 2 minutes ago
Malaysia
Kuala Lumpur
-
Credential Stuffing
-
New Device
-
Datacenter IP
-
Abuse-repored IP
74
Active 2 minutes ago
Mexico
Mexico City
-
New Device
-
New Country
-
Impossible Travel
64
Active 2 minutes ago
Denmark
Copenhagen
-
Proxy IP
-
Users per Device (2)
Multi-Accounting
Only allow signing up once
Aggregate the number of accounts created per device, IP, or credit card and block when it exceeds a threshold.
99
Active 2 minutes ago
Denmark
Copenhagen
-
Users per Device (13)
-
Users per Credit Card (7)
-
Users per IP (32)
63
Active 2 minutes ago
Denmark
Copenhagen
-
Users per Device (12)
-
Users per Credit Card (6)
-
Users per IP (31)
63
Active 2 minutes ago
Sweden
Stockholm
- Users per Email (3)
Content Abuse
Block repetitive spam content
Customize logic based on the the number of content posts or messages per device and minute, and tune it with regex filters.
99
Active 2 minutes ago
Sweden
Gothemburg
-
Bot Behavior
-
Content per IP (122)
-
Datacenter IP
94
Active 2 minutes ago
Indonesia
Dki Jakarta, Jakarta
-
Content per User 1h (33)
-
Proxy IP
45
Active 2 minutes ago
Thailand
Bangkok
- Blocked Regex
SMS Pumping
Eliminate SMS verification abuse
Use a mix of bot detection and velocity signals to lock down spammy SMS fees with high precision
99
Active 2 minutes ago
Malaysia
Kuala Lumpur
-
Bot Behavior
-
Verifications per IP (48)
-
Users per Device (12)
96
Active 2 minutes ago
Mexico
Mexico City
-
Bot Behavior
-
Verifications per IP (48)
23
Active 2 minutes ago
Indonesia
Dki Jakarta, Jakarta
- Blocked Phone Numbers
Account Sharing
Define account sharing your way
Uncovering account sharing requires granular controls to define the exact behavior that breaches your terms of services.
97
Active 2 minutes ago
Nigeria
Abuja
42 Devices
-
Excessive Content Sharing
-
Impossible Travel
88
Active 2 minutes ago
Indonesia
Dki Jakarta, Jakarta
23 Devices
-
Frequent Device Toggling
-
Bot Behavior
-
Proxy IP
73
Active 2 minutes ago
United States
Chicago
12 Devices
-
Frequent IP Toggling
-
Impossible Travel
Transaction Abuse
Stop card testing before the transaction
Implement velocity checks to prevent a transaction attempt from reaching your payment processor in the first place.
99
Active 2 minutes ago
Germany
Berlin
-
Transactions per 1h (13)
-
Transactions per Card (21)
-
Users per Device (3)
78
Active 2 minutes ago
United States
San Francisco
- Transactions per 10m (5)
45
Active 2 minutes ago
Thailand
Bangkok
- Blocked Credit Card
API Abuse
Headless API protection
Castle supports protection of endpoints where client-side code can't be injected, such as desktop apps or REST APIs
99
Active 2 minutes ago
Germany
Berlin
-
Request per IP (138)
-
Abuse-reported IP
-
Time Since Registration (39s)
78
Active 2 minutes ago
United States
San Francisco
- Request per User (18)
45
Active 2 minutes ago
Thailand
Bangkok
- Blocked IP
Automation
Scale threat response with custom flows
Model custom security flows, blocklists, and trusted device management. Manage review states across signups, logins, and in-app activity.
State management
Maintain custom security lists (blocklists, allowlists, trusted devices, reviews, etc.) and update states in real-time based on rules and manual actions.
Inline blocking
Initiate real-time blocks or step-up verifications anywhere in your app without disrupting the user experience.
Alerts & notifications
Ensure your team stay informed with triggered Slack notifications, or automate end-user notifications or internal processes using granular webhooks.
Developers
A single API to detect, score, and act. Everywhere.
Retrieve comprehensive threat insights in real-time and use them to tailor the user experience.
Device Intelligence
99.5% accurate fingerprinting. Uncover headless browsers, tampering, carrier data, etc.
Bot Detection
Detect bots, scripts, and coordinated attacks. Identify automated behavior and tampering.
ATO & Abuse Scoring
Spot account takeover attempts and abusive behavior using machine learning.
IP & Proxy Analysis
Unmask anonymizers, Tor, and suspicious IP origins. Protect against location-based abuse.
Email Intelligence
Assess email reputation and risk. Detect disposable domains, leaks, and enumeration patterns.
Custom Metrics
Tailor your own real-time aggregations based on login attempts, transactions, custom events, and more.
Custom Alerts
Define precise signals for proactive threat detection. Trigger alerts based on complex logic and risk thresholds.
Rule Evaluation
Automate allow, challenge, or deny actions. Manage rules seamlessly, without code changes.
State Management
Manage dynamic security lists. Track trusted/blocked devices, users, IPs, or any custom attribute.
Response
<br> 1<br> 2<br> 3<br> 4<br> 5<br> 6<br> 7<br> 8<br> 9<br> 10<br> 11<br> 12<br> 13<br> 14<br> 15<br> 16<br> 17<br> 18<br> 19<br> 20<br> 21<br> 22<br> 23<br> 24<br> 25<br> 26<br> 27<br> 28<br> 29<br> 30<br> 31<br> 32<br> 33<br> 34<br> 35<br> 36<br> 37<br> 38<br> 39<br> 40<br> 41<br> 42<br> 43<br> 44<br> 45<br> 46<br> 47<br> 48<br> 49<br> 50<br> 51<br> 52<br> 53<br> 54<br> 55<br> 56<br> 57<br> 58<br> 59<br> 60<br> 61<br> 62<br> 63<br> 64<br> 65<br> 66<br> 67<br> 68<br> 69<br> 70<br> 71<br> 72<br> 73<br> 74<br> 75<br> 76<br> 77<br> 78<br> 79<br> 80<br> 81<br> 82<br> 83<br> 84<br> 85<br> 86<br> 87<br> 88<br> 89<br> 90<br> 91<br> 92<br> 93<br> 94<br> 95<br> 96<br> 97<br> 98<br> 99<br>100<br>101<br>102<br>103<br>104<br>105<br>106<br>107<br>108<br>109<br>110<br>111<br>112<br>113<br>114<br>115<br>116<br>117<br>118<br>119<br>120<br>121<br>122<br>123<br>124<br>125<br>126<br>127<br>128<br>129<br>130<br>131<br>132<br>133<br>134<br>135<br>136<br>137<br>138<br>139<br>140<br>141<br>142<br>143<br>144<br>145<br>146<br>147<br>148<br>149<br>150<br>151<br>152<br>153<br>154<br>155<br>156<br>157<br>158<br>159<br>160<br>161<br>162<br>163<br>164<br>165<br>166<br>167<br>168<br>169<br>170<br>171<br>172<br>173<br>174<br>175<br> |
json<br>{<br> "id": "2V48MDnuMar9pvOOwulwK4BXui2",<br> "type": "$login",<br> "status": "$succeeded",<br> "name": "Login Succeeded",<br> "authenticated": true,<br> "endpoint": "/v1/risk",<br> "created_at": "2023-09-02T4:39:05.147Z",<br> "properties": {<br> "my_custom_property": 234<br> },<br> "device": {<br> "fingerprint": "zhQ3YFvQTVOIP4EZWcMaNg",<br> "user_agent": "CryptoKid iOS/2023.9.1 (2023.9.1) (iPhone15,3; iOS 16.6.1; Castle 3.0.7)",<br> "name": "Adam's iPhone",<br> "emulator": false,<br> "rooted": false,<br> "software": {<br> "languages": ["en-us", "en", "ru-ru"],<br> "type": "mobile_application",<br> "name": "CryptoKid iOS",<br> "version": { "major": "2023", "full": "2023.9.1" }<br> },<br> "timezone": {<br> "offset": -420,<br> "name": "America/New_York"<br> },<br> "os": {<br> "name": "iOS",<br> "version": { "major": "16", "full": "16.6.1" }<br> },<br> "hardware": {<br> "type": "phone",<br> "name": "iPhone",<br> "brand": "Apple",<br> "model": {<br> "name": "iPhone 14 Pro Max",<br> "code": "iPhone15,3"<br> },<br> "display": { "width": 430, "height": 932 }<br> },<br> "cellular": {<br> "carrier": {<br> "name": "Verizon Wireless",<br> "country_code": "US"<br> },<br> "available": true<br> },<br> "wifi": { "available": true },<br> "battery": {<br> "charging_state": "unplugged",<br> "level": 34<br> },<br> "location": {<br> "accuracy": 20,<br> "city": "Falls Church",<br> "country_code": "US",<br> "latitude": 38.8524,<br> "longitude": -77.148<br> },<br> "screen": {<br> "density": 3,<br> "orientation": "portrait"<br> },<br> "memory": {<br> "available": 345,<br> "total": 5500<br> },<br> "storage": {<br> "available": 2011,<br> "total": 121943<br> },<br> "usage": {<br> "screen_time": 10265,<br> "uptime": 695312<br> }<br> },<br> "scores": {<br> "bot": { "score": 0.033 },<br> "account_abuse": { "score": 0.27 },<br> "account_takeover": { "score": 0.196 }<br> },<br> "ip": {<br> "address": "108.18.100.121",<br> "type": "ipv4",<br> "asn": 701,<br> "isp": {<br> "name": "Verizon Fios",<br> "organization": "Verizon Fios"<br> },<br> "location": {<br> "city": "Falls Church",<br> "country_code": "US",<br> "region_code": "VA",<br> "continent_code": "NA",<br> "postal_code": "22042",<br> "latitude": 38.8597,<br> "longitude": -77.198<br> },<br> "privacy": {<br> "anonymous": false,<br> "datacenter": false,<br> "proxy": false,<br> "tor": false<br> }<br> },<br> "email": {<br> "normalized": "adam@castle.com",<br> "domain": "castle.com",<br> "disposable": false,<br> "unreachable": false,<br> "domain_details": {<br> "created_at": "2014-12-27T00:30:13.000+00:00",<br> "updated_at": "2021-10-01T17:59:27.000+00:00",<br> "expires_at": "2024-12-27T00:30:13.000+00:00",<br> "registrar": "101domain GRS Limited",<br> "registrant": "Digital Privacy Corporation",<br> "nameservers": ["ns-77.awsdns-09.com", "ns-1523.awsdns-62.org"],<br> "spf_record": { "exists": true },<br> "dmarc_record": { "exists": true },<br> "mx_records": { "null_mx": false }<br> }<br> },<br> "metrics": {<br> "1": {<br> "name": "Users per device fingerprint in 30d",<br> "value": 5<br> },<br> "2": {<br> "name": "Failed logins per IP in 1h",<br> "value": 238<br> },<br> "3": {<br> "name": "Average transaction amount per user",<br> "value": 83.13<br> }<br> },<br> "signals": {<br> "impossible_travel": {},<br> "credential_stuffing": {},<br> "multiple_accounts_per_device": {},<br> "new_device": {}<br> },<br> "policy": {<br> "action": "deny",<br> "name": "Block multi-accounting",<br> "id": "3666300b-adc9-4a9a-9773-f6e692ed348d",<br> "revision_id": "1d1e6f75-08ea-47ea-bb92-61d598c448e2"<br> },<br> "lists": [<br> "blocked_ips",<br> "trusted_devices"<br> ],<br> "list_items": [<br> "8842e866-86e7-4f18-a023-edbf8cb91107",<br> "42bc2f4d-64d1-4291-a77f-61c64bd410a0"<br> ],<br> "user": {<br> "id": "7312",<br> "registered_at": "2023-08-13T14:00:58.000Z",<br> "name": "Adam Winter",<br> "email": "adam@castle.com",<br> "phone": "+11123456789",<br> "traits": {<br> "nationality": "PL",<br> "organization_id": "789435"<br> }<br> },<br> "sdks": {<br> "client": {<br> "name": "castle-web",<br> "version": "2.1.8"<br> }<br> }<br>}<br> |
egesgesges
Built for scale
Our APIs process billions of monthly requests with resilience against severe bot attacks.
100ms response time
Fingerprinting, risk scores, and rules computed instantly in real-time.
Pay-as-you-go pricing
Transparent and predictable plans based on requests or MAU.
Get started
Create your free account today
Starting at $0 for 1,000 requests per month, with transparent pricing that scales with your needs.
Start for free
Watch demo 2 min


Click for sound

Click for sound
