v1.0·REST API · JSON · API Key Auth

EdgeWrap Documentation

EdgeWrap is a managed API gateway that protects, accelerates, and monitors your API traffic. Point EdgeWrap at your origin server, generate an API key, and every request through EdgeWrap gets WAF protection, caching, DDoS shielding, and real-time analytics — with zero infrastructure to manage.

How EdgeWrap Works

Instead of calling your API directly, your clients call EdgeWrap. EdgeWrap verifies the API key, applies your configured security rules and cache policies, and forwards clean requests to your origin.

1
Your client sends a request to EdgeWrap with an API key header
2
EdgeWrap validates the key, checks WAF rules, quota, DDoS, and cache — then forwards the request to your origin
3
Your origin responds — EdgeWrap caches it, logs it, strips secrets, then returns it to the client
# Before EdgeWrap
curl https://api.yourcompany.com/v1/users

# After EdgeWrap (your client sends this instead)
curl https://your-project.edgewrap.pro/v1/users \
  -H "x-api-key: ek_live_xxxxxxxxxxxxxxxxxxxx"

What You Get

Web Application Firewall

Block SQL injection, XSS, remote code execution, and more with one toggle. Add custom rules to block specific IPs, countries, or request patterns.

DDoS Protection

Rate limit requests per IP with configurable thresholds. Burst traffic is challenged or blocked automatically before it reaches your origin.

Edge Caching

Cache GET responses globally. Serve cached content in milliseconds, reduce origin load by up to 80%, and set custom TTL per path.

Real-Time Analytics

See every request in real time: latency, cache hit rate, error rate, top paths, country breakdown, WAF blocks, and bot traffic.

Circuit Breaker

Stop hammering a failing origin. When your API returns errors, EdgeWrap opens the circuit, serves cached responses, and retries once it recovers.

Secret Shield

Pro

Automatically redact API keys, tokens, and PII from request and response bodies so sensitive data never leaks into your logs.

AI Geo Routing

Pro

Route EU users to your EU origin and US users to your US origin automatically. Enforce GDPR data residency without code changes.

AI Insights

Pro

Automatically surface anomalies, traffic spikes, and error patterns in plain English. No dashboards to configure — insights appear automatically.

Base URLs & Dashboard

Dashboard UI

Configure gateways, view logs & threat feeds.

https://app.edgewrap.pro

Dashboard API

Manage projects, keys, and settings.

https://server.edgewrap.pro/v1

Edge Proxy

Route your API traffic through EdgeWrap.

https://{your-project}.edgewrap.pro

Authentication

Dashboard API

Use a session token (JWT) obtained by logging in.

Authorization: Bearer eyJhbGci...

Edge Proxy

Use an API key generated in your project dashboard.

x-api-key: ek_live_xxxxxxxxxxxxxxxxxxxx
Note: The session token is for configuring EdgeWrap (creating projects, updating WAF rules, etc.). The API key is what your application sends with every proxied request.