Zum Hauptinhalt springen

Check if a password is leaked

GET/v2/leaked-passwords/{passwordHashPrefix}/
API version
v2
Request method
GET
Operation ID
user-searched-leaked-passwords-by-range

Request​

  • passwordHashPrefixstring (≤ 5 characters)
    required

    First 5 characters of the SHA1 hash of a password.

Responses​

Format
application/json
Beschreibung

All password hashes beginning with the searched prefix are returned alongside prevalence counts.

  • Array[
    • *string
    ]

Usage examples​

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/leaked-passwords/0018A