Skip to main content

Totus Shield quickstart

What it is​

Totus Shield is a sign-up risk check for SaaS and AI products. Add the required client script to your sign-up page, then call us from your backend with the new user's email, IP, fp, netid and a few request headers. We return a decision, allow, challenge or block, a score, and a list of signals. Use it to stop fake sign-ups, multi-accounting, free-trial farming and free-AI-credit abuse, without captchas for real users.

Status: live in early access. Sign up at https://gototus.com/sign-in (new accounts get 5,000 free credits) and set it up in about 5 minutes. The Shield console is at https://gototus.com/console/service/shield.

When to use it​

  • At sign-up, from your backend, before you grant a free trial or free credits.
  • After a bot filter such as Cloudflare Turnstile. Turnstile checks whether the visitor is a bot. We check whether the sign-up looks like a repeat, throwaway or farmed account. Use both.
  • Not a replacement for email verification: use challenge to trigger it.

Get started​

  1. Sign up. New accounts get 5,000 free credits, about 500 checks.
  2. Create an API key in the Totus Console (https://gototus.com/console/apikeys). Keys look like TTT_....
  3. Add the required client script to your sign-up page and call TotusShield.collect().
  4. From your backend, POST the result to https://api.totus.cloud/shield/signup.
  5. Act on allow, challenge or block. Pick a preset in the console if you want: permissive, balanced (the default), strict, or your own custom rules. You can also send policy on each API request.

Setup takes about 5 minutes.

Authentication​

Send your Totus API key as a bearer token.

Authorization: Bearer TTT_YOUR_API_KEY

API base URL: https://api.totus.cloud

1. Add the client script (required)​

The script is required, not optional. Load it on your sign-up page and call TotusShield.collect() before you submit. It returns { fp, netid }, runs in the background, and fails open after 1.5 seconds. No popups, nothing for the user to solve.

<!-- Load the collector on your sign-up page -->
<script src="https://api.totus.cloud/shield/shield.js"></script>
<script>
async function onSignupSubmit(formData) {
// Collects browser telemetry + edge network token (1.5s fail-open timeout)
const { fp, netid } = await TotusShield.collect();
return fetch("/api/signup", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ ...formData, shield_fp: fp, shield_netid: netid })
});
}
</script>

2. Call Totus Shield from your backend​

POST https://api.totus.cloud/shield/signup (no /v1/ prefix).

FieldRequiredNotes
emailyesThe sign-up email
ipyesThe sign-up IP, IPv4 or IPv6
fpfor a full checkFrom TotusShield.collect(). Omit only if you are running a weaker 5-credit check without the script.
netidfor a full checkFrom TotusShield.collect(), same as fp.
user_agentin every official sampleThe sign-up request's User-Agent
accept_languagein every official sampleThe sign-up request's Accept-Language
domainin every official sampleYour app hostname, for example app.yourdomain.com. This is not a bulk "check this email domain" field.

A check without the script is possible (5 credits instead of 10) but weaker: you lose device and network matching. For production sign-ups, send fp and netid.

curl -X POST https://api.totus.cloud/shield/signup \
-H "Authorization: Bearer TTT_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"ip": "203.0.113.42",
"fp": "TTfp1_...",
"netid": "TTn_...",
"user_agent": "Mozilla/5.0 ...",
"accept_language": "en-US,en;q=0.9",
"domain": "app.yourdomain.com"
}'

Response​

{ "request_id": "shd_...", "decision": "allow", "score": 0, "signals": [] }

Fields: request_id, decision (allow | challenge | block), score, signals (an array of signal codes). The field is signals, not reasons. There is no device_token.

We do not publish the full list of signal codes, or the internal score bands behind allow, challenge and block. The product examples show score out of 100. Error responses, rate limits and idempotency are not documented; do not assume them.

How to act on each verdict​

  • allow: create the account and grant the free tier as normal.
  • challenge: create the account but require email verification (or hold free credits) before granting access.
  • block: reject the sign-up, or create it with no free credits. Log request_id and signals.

Your code makes the final call; we only return the decision and the signals. Handle errors by failing open or closed according to your own risk policy.

How strict it is​

Pick permissive, balanced or strict, or write your own custom rules. Balanced is the default. Set it in the console, or send policy on each API request.

Pricing​

10 credits per check with the script ($0.01), 5 credits without ($0.005). $1 = 1,000 credits, so 1,000 checks with the script costs $10. Prepaid from $5, no subscription. New accounts get 5,000 free credits, about 500 checks.

  • validate_email (GET /validate/email, 0.1-2.25 credits by level) and lookup_ip (GET /ref/net/ip, 0.1 credits) are the same engines Shield's email and IP enrichment builds on. Also available as MCP tools at https://api.totus.cloud/mcp. There is no Shield MCP tool today.