Skip to content
Finowl

Password breach checks · E-commerce

Breached password screening for e-commerce accounts

Shoppers rarely create a fresh password for every store they buy from, so the password they type into your registration form may already be on a credential stuffing list. The Finowl password breach API checks that value against breach data and returns whether it has been seen and how often, letting you ask for a different one before the account goes live.

Because a store’s registration form is high volume and conversion sensitive, the check needs to be quick and the message needs to be kind. Finowl hashes the password and looks up only a short hash prefix, never storing the value, and your form can respond with one clear sentence instead of a wall of complexity rules.

USE CASES

Where it fits in e-commerce

HOW TO INTEGRATE

The workflow

  1. 1

    Post the submitted password from your server to POST /v1/breaches/password, keeping the API key off the storefront.

  2. 2

    If breached is true, return a validation error that suggests a longer passphrase.

  3. 3

    If breached is false, continue with your normal length and strength checks.

  4. 4

    Strip the password from logs, analytics events and error tracking on your side.

  5. 5

    On timeouts or 5xx responses, fall back to your standard rules so registration never stalls.

POST /v1/breaches/password
curl https://api.finowl.co/v1/breaches/password \
  -H "Authorization: Bearer $FINOWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "password": "correct-horse-battery-staple"
}'

Response is breached plus count, the number of times the password appears in breach data. The password is never logged, stored or returned.

GOOD PRACTICE

Before you ship

Read the API reference for every field and error code. Each lookup costs 1 credit; see pricing.

A FEW GOOD QUESTIONS

Common questions

Breached password screening for e-commerce accounts

Start with 100 free credits every month and test the request above in the sandbox.