Good Speak API
Translate potentially harmful messages into polite alternatives.
Try It Live
Endpoint
POST /api/moderate
Request Fields
username: Your API key or identifiermessage: The text you want checked
Response
{
"flagged": true|false,
"toxicity": 0.0-1.0,
"suggestion": "Rewritten message" | null
}Example CURL
curl -X POST http://localhost:3000/api/moderate -H "Content-Type: application/json" -d '{
"username": "test_user",
"message": "Hey, could you please be less noisy?"
}'Rate Limiting
Clients are limited to 100 requests per hour. Exceeding this will return 429 Too Many Requests.