System Status: Operational  //  Edge Latency: 12ms  //  Requests Protected: 4.2B+  //  Global Nodes: 200+  //  Attacks Blocked: 850K+  //  Defense Grid: Active  //  System Status: Operational  //  Edge Latency: 12ms  //  Requests Protected: 4.2B+  //  Global Nodes: 200+  //  Attacks Blocked: 850K+  //  Defense Grid: Active  // 

Protect Your API From
Attacks & Duplicate Charges

Edge Security Layer

Stop Threats Before They Reach Your Servers

Distributed rate limiting and idempotency protection running on Cloudflare's global edge network. Block malicious traffic, prevent duplicate charges, and protect your infrastructure—all with sub-20ms latency.

Quick Deploy
$ wrangler deploy --env production
View Live API Status
Production ReadyOpen Source MIT
429
403
200
EDGE_PROTECTION.TS
LIVE FEED
Edge Latency
<15ms
P95 Response Time
Scale
4.2B
Requests Protected
Defense
850K
Attacks Blocked🛡️
Global Network
200+
Edge Locations🌍
Real-World Scenarios

See It In Action

💰

Payment Protection

Prevent Duplicate $500 Charges

Simulates a user accidentally double-clicking a payment button. The first request processes normally, but the duplicate is caught and returns the cached response without charging twice.

🛡️

API Abuse Protection

Stop Malicious Traffic

Simulates a bot sending 20 rapid requests to your API. The rate limiter allows legitimate traffic through while blocking the excess, protecting your servers from overload.

Global Performance

Sub-20ms Edge Response Times

Measures real round-trip latency to Cloudflare's edge network. Requests are processed at the nearest edge location, keeping response times fast regardless of your location.

Interactive Demos

Try It Live

Rate Limiting Demo

Token bucket algorithm running at Cloudflare's edge

Token Bucket Status
HEALTHY
10
tokens
3
5
8
Capacity
10
Refill Rate
2/s
Time to Full
0s

Idempotency Protection

Prevent duplicate payment charges and order processing