Skip to content

Pwned Passwords API

1 endpointUtilitiesGlobalsocial:read1 real examples

Returns breached password hash suffixes and breach counts for a 5-character SHA-1 prefix.

View as Markdown
GET/pwnedpasswords/rangeBreached password hashes that share a 5-character SHA-1 prefix, with their breach counts (k-anonymity).

range

GET/v1/pwnedpasswords/range

Breached password hashes that share a 5-character SHA-1 prefix, with their breach counts (k-anonymity).

scope social:read1 unitcached 24 h

Parameters

prefix
string
required
First five hex characters of the SHA-1 hash of a password, such as 5BAA6. The password itself is never sent.
e.g. 5BAA6
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
itemsHash[]
countinteger (int64)
suffixstring
prefixstring
curl "https://api.hoshime.com/v1/pwnedpasswords/range?prefix=5BAA6" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "items": [
      {
        "count": 2,
        "suffix": "003CD215739D7C1B2218670D26F81408237"
      },
      {
        "count": 29,
        "suffix": "003D68EB55068C33ACE09247EE4C639306B"
      }
    ],
    "prefix": "5BAA6"
  },
  "meta": {
    "cached": false,
    "endpoint": "range",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pwnedpasswords",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open