Generate strong random passwords

Generates cryptographically secure random passwords, with their entropy in bits.

Request

GEThttps://password-security-toolkit.p.apihiver.com/v1/generate?length=16
Number. Password length (8–128, default 16).
Number. How many passwords to generate (1–50, default 1).
Boolean. Include upper-case letters (default true).
Boolean. Include digits (default true).
Boolean. Include symbols (default true).
Boolean. Leave out look-alikes like 0/O and l/1 (default false).
Language
Client
1curl --request GET \
2  --url 'https://password-security-toolkit.p.apihiver.com/v1/generate?length=16&count=%7Bcount%7D&uppercase=%7Buppercase%7D&digits=%7Bdigits%7D&symbols=%7Bsymbols%7D&exclude_ambiguous=%7Bexclude_ambiguous%7D' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Generate strong random passwords: Password Security API reference

Generates cryptographically secure random passwords, with their entropy in bits. This endpoint is part of the Password Security API: Password strength scoring, private breach checks against known leaked passwords, secure password generation, hashing and bcrypt checks.

Example response (200, application/json)

Success.

1{
2  "length": 16,
3  "passwords": [
4    "@0xa2;?ImKU;34D6"
5  ],
6  "entropy_bits": 102.6
7}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "A parameter has the wrong format — the message names it."
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.