Lumeo APIs
Tools

Password Security API - Breach & Strength

Check if a password was leaked in data breaches (900M+ pwned passwords), score its strength, generate secure passwords & passphrases, hash text.

Get a free API key on RapidAPI Try it in the playground

Password Security API

Add modern password hygiene to your sign-up and change-password flows in minutes.

🔓 Breach check

Is this password in a known breach, and how many times was it seen? Send only the SHA-1 hash (or use the k-anonymity range endpoint, where just the first 5 hash characters leave your system) — following NIST 800-63B guidance to reject compromised passwords.

💪 Strength meter

A 0–4 score, entropy in bits, estimated crack times for four attack scenarios, and a list of detected weaknesses: common passwords (incl. l33t-speak), keyboard and number sequences, repeats, years, predictable patterns, low variety. Optionally combined with the breach check in one call.

🎲 Generators

Cryptographically secure random passwords (length, character sets, exclude look-alike characters, up to 50 at once) and memorable passphrases (word count, separator, capitalisation).

#️⃣ Hashing

MD5, SHA-1, SHA-256, SHA-384, SHA-512 and HMAC-SHA-256 of any text.

Privacy: nothing is stored or logged by this API; send secrets in a POST body or as a hash.

Use cases: sign-up forms · password managers · security audits and compliance (NIST, PCI) · admin tools · browser extensions

Keywords: password strength api, pwned passwords, password breach check, have i been pwned, password generator api, passphrase generator, password validation, hash generator, sha256 api, security api

Endpoints (6)

EndpointWhat it returns
GET/breach/checkCheck password breach
Whether a password appears in known data breaches and how many times. Send the SHA-1 hex of the password (`sha1`, recommended), or the password itself in a POST body {"password":"…"}.
GET/breach/rangek-anonymity range
All breached-hash suffixes that share a 5-character SHA-1 prefix, with their counts. Compare the remaining 35 characters locally so the full hash never leaves your system.
POST/strengthPassword strength
Strength analysis: score 0-4, entropy, character types, estimated crack times and detected weaknesses with suggestions. Set check_breach=true to include a breach lookup (a breached password is always scored 0). Also avai
GET/generateGenerate passwords
Cryptographically secure random passwords. Every enabled character type is guaranteed to appear at least once.
GET/passphraseGenerate passphrases
Memorable passphrases made of random common words, with entropy estimate.
GET/hashHash text
MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests of a text (hex), plus optional HMAC-SHA-256. POST {"text":"…"} is supported for long inputs.

Quick start

Subscribe on RapidAPI (free plan available), copy your key, and call GET /breach/check:

curl --request GET \
  --url 'https://password-security-api-breach-strength.p.rapidapi.com/breach/check?sha1=5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8' \
  --header 'x-rapidapi-host: password-security-api-breach-strength.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'

Example response

{
  "breached": true,
  "times_seen": 52373976,
  "risk": "critical",
  "sha1_prefix": "5BAA6",
  "recommendation": "This password appears in known data breaches. Do not use it.",
  "source": "Have I Been Pwned — Pwned Passwords"
}

Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.

Subscribe on RapidAPI

Related APIs

Tools

Domain & IP Lookup API

WHOIS/RDAP, domain availability, DNS records, SSL certificates, subdomain finder, IP geolocation with ASN & abuse contacts, ASN lookup.

Tools

Fake Data Generator API - Mock & Test Data

Generate realistic fake data for testing: persons, addresses, companies, products, cards & IBANs, internet data, lorem ipsum, custom schemas, CSV.

Tools

Package Registry API - npm, PyPI, crates, gems

One API for npm, PyPI, crates.io & RubyGems: package details, versions, dependencies, download stats, search, comparison and security advisories.

Tools

QR Code & Barcode Generator API

Generate QR codes (URL, Wi-Fi, vCard, email, SMS, event…) and 30 barcode types (Code128, EAN-13, UPC, DataMatrix, PDF417…) as PNG or SVG.

Tools

URL Shortener & Link Analytics API

Short links with custom aliases, expiry & click limits, full click analytics (countries, referrers, devices), bulk shortening, link expander and malware screeni

Tools

World Time & Timezone API

Current time in any timezone or city, timezone conversion, DST transitions, time difference, meeting planner and business-day calculator.