Skip to main content
Quickstart

First API call in 60 seconds

3 steps. Copy-paste examples. No boilerplate.

  1. 1

    Sign up

    One-click GitHub login. $10 free credits, no credit card required.

    Sign up with GitHub
  2. 2

    Get your API key

    Go to API Keys, click "Create Key". Your key starts with brnl-.

    Go to API Keys
  3. 3

    Make your first call

    Replace YOUR_KEY with 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"
    }
Portal de Desenvolvedores Brainiall