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.
{\n "status": "ready"\n}
Engineered for Sub-Millisecond Real-Time Apps
Traditional AI APIs introduce hundreds of milliseconds of lag. SanitiText executes at the edge in microseconds.
| Feature / Metric | SanitiText Edge | OpenAI Moderation API | Google Perspective API |
|---|---|---|---|
| Average Latency | < 1 ms (Edge Isolate) | 250 – 450 ms | 200 – 350 ms |
| Multiplayer Gaming Ready | Yes (<16ms frame budget) | No (causes stutter) | No (causes stutter) |
| Username Impersonation Guard | Dedicated (mode: 'username') |
No (chat only) | No (chat only) |
| Cyrillic & Homoglyph Defense | Full NFKD + Lookalikes | Partial | Partial |
| Privacy & Data Retention | Zero logs / GDPR compliant | Retained per enterprise terms | Retained for 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)
- ✓ 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 (support@sanititext.com)
Enterprise
For large platforms with custom compliance and dictionary requirements.
- ✓ 6,000+ Requests / Minute quota
- ✓ Custom company dictionary training
- ✓ Custom dedicated edge isolate routing
- ✓ 24/7 Priority SLA & Slack channel
- ✓ Dedicated invoice & PO billing