First API call in 60 seconds
3 steps. Copy-paste examples. No boilerplate.
- 1
- 2
- 3
Make your first call
Replace
YOUR_KEYwith your API key and run:Detect toxicity in text. Fastest endpoint — ~20ms response.
curl -X POST https://api.brainiall.com/v1/nlp/toxicity \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"text":"You are an amazing person!"}'Expected response
{ "toxic": false, "score": 0.0003, "label": "not toxic" }