Sign-up, login and verification.

Stop abuse at sign-up, prove a phone or mailbox, and limit login attempts on one key.

Read the docs
coss.risk.assess() + coss.verify.start()
const { :  } = await ..({
  : "signup",
  : { : . },
  : .,
  : .,
  : { : . },
});

// The fraud guard runs before anything is sent.
await ..({ : ., : . });

const { :  } = await ..({
  : .,
  : .,
});

ada@example.com

+1 415 555 0123

approved
  1. coss.risk.assess()decision: allow
  2. coss.verify.start()status: pending
  3. verification.approved

Decide at the door

An assessment combines email, IP, device and content signals into allow, review or block, with its reasons.
See how
coss.risk.assess()event: signup
EmailReasonsDecision
ada@example.comnoneallow
team@example.orgemail.role_accountreview
x7@example.netemail.disposable, ip.torblock

Codes you never handle

coss.com keeps only a keyed hash, and a fraud guard runs before anything is sent or billed.
See how
coss.verify.check()approved
Code lifetime10 minutes by default
Wrong code that fails itthe fifth
coss.risk.limit()bucket: login
AttemptKeyAllowed
1ada@example.comtrue
2ada@example.comtrue
3ada@example.comfalse

Limits for your endpoints

Protect login, sign-up and password reset with the limiter coss.com runs on itself.
See how
coss/better-authcategory: "account"
Verify your emaildelivered
Reset your passworddelivered
Your sign-in linkdelivered
You're invitedsent

Account emails, drop-in

The Better Auth integration covers verification, resets, magic links and invitations, with tracking off.
Read the docs

Pricing and limits

Verify is billed per approved verification, plus the SMS that carried the code.

Verifications

$0.05per verification

Verification SMS

$0.0142United States, per segment

Other countries on the pricing page

Limits
Code length
6 digits by default
Code lifetime
10 minutes by default
Wrong code that fails it
the fifth
Resends per pending verification
5
Assessment decisions
allow, review, block
Assessments per API key
100 per second, bursts of 200
Rate limit buckets per environment
100
Rate limit checks per API key
500 per second, bursts of 1,000

Questions

The products

One key, one SDK, one log for all of them.

Build it this afternoon.

Development keys record every request and event and deliver nothing.

Pricing

Add coss.com to this project: read https://coss.com/llms.txt, get a development key with `npx coss-cli init --agents`, and build and test with it.