Sub-Millisecond Edge Moderation & Username Safety API
Protect live multiplayer gaming, real-time chat, and community platforms from toxicity, leetspeak evasion, Cyrillic homoglyph spoofing, and staff impersonation — with zero cold-starts.
Test the Edge Engine Live
Directly calls https://api.sanititext.com/v1/sanitize in real time.
Experience the sub-millisecond response time right in your browser.
Submit text to view matched flags and confidence metrics.
{
"status": "ready"
}
Sub-Millisecond Edge Execution vs Centralized APIs
Traditional centralized AI moderation introduces high latency and GDPR compliance risks. SanitiText executes at Cloudflare edge nodes with zero cross-region round trips.
| Performance Metric | SanitiText (Edge Automata) | OpenAI Moderation API | Google Perspective API |
|---|---|---|---|
| API Execution Latency | < 1 ms (Edge Isolate) | 180 ms – 350 ms | 150 ms – 300 ms |
| Cold-Start Overhead | 0 ms (Pre-warmed V8) | Variable (GPU pooling) | Variable (Regional queuing) |
| Global PoP Presence | 300+ Cities (Anycast) | US Central / Europe Only | Google Cloud Core Hubs |
| Zero Data Retention (ZDR) | Guaranteed in RAM | Retained per enterprise terms | Retained for model training |
Integrate with 3 Lines of Code
Call the REST API directly from any language or framework using your API key.
curl -X POST https://api.sanititext.com/v1/sanitize \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"text": "Check out this gaming username: xX_s1k1k_Xx",
"mode": "username",
"lang": "tr"
}'
const response = await fetch("https://api.sanititext.com/v1/sanitize", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${process.env.SANITITEXT_API_KEY}`,
},
body: JSON.stringify({
text: "user_message_here",
mode: "chat",
lang: "tr",
mask: true,
}),
});
const result = await response.json();
console.log(`Clean: ${result.clean}, Masked: ${result.sanitized_text}`);
import requests
response = requests.post(
"https://api.sanititext.com/v1/sanitize",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"text": "pro_amkkk_player",
"mode": "username",
"lang": "tr",
},
)
data = response.json()
if not data.get("valid_username"):
print(f"Rejected username: {data.get('reasons')}")
package main
import (
"bytes"
"encoding/json"
"net/http"
)
func main() {
payload := map[string]interface{}{
"text": "test chat message",
"mode": "chat",
"lang": "en",
}
body, _ := json.Marshal(payload)
req, _ := http.NewRequest("POST", "https://api.sanititext.com/v1/sanitize", bytes.NewBuffer(body))
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
resp, err := http.DefaultClient.Do(req)
// Handle response...
}
Predictable Tiers for Startups to Enterprises
Transparent billing, zero hidden fees, and scale-out edge infrastructure.
Developer Free
For testing, indie game developers, and small platforms.
- ✓ 60 Requests / Minute quota
- ✓ 50,000 free requests per month
- ✓ Both Chat & Username modes
- ✓ Multilingual (TR, EN, NL, DE, ES, FR)
- ✓ Global edge execution
Growth
For fast-growing social apps, gaming communities, and SaaS chats.
- ✓ 600 Requests / Minute quota
- ✓ 1,000,000 requests included
- ✓ Custom reserved handle rules
- ✓ 99.99% Edge SLA guarantee
- ✓ Email support ([email protected])
Enterprise
For high-volume platforms, AAA gaming publishers, and telecom operators.
- ✓ 6,000+ Requests / Minute quota
- ✓ Custom company dictionary training
- ✓ Custom dedicated edge isolate routing
- ✓ 24/7 Priority SLA & direct engineering channel
- ✓ Dedicated invoice & PO billing