Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Breach, paste and stealer-log searches are rate limited per key at the plan’s requests per minute (subscription.status returns it as Rpm); over it is a 429 with a retry-after header in seconds. Add a short delay on top of the limit.
  • Which calls a key may use depends on its plan: the range search needs Pro or High RPM; domain search only works for domains verified on the dashboard.
  • A 404 on a search means nothing was found.
  • Stealer-log, domain-verification and Pwned Passwords endpoints are not in this entry.

Endpoints

Get breaches for an email address

  • A 404 means the address is in no breach, not an error.
  • Needs a Core, Pro or High RPM key; counts against the key’s per-minute limit.

Get breached accounts by hash prefix (k-anonymity)

  • Needs a Pro or High RPM key.

Get pastes for an email address

  • A 404 means no paste holds the address.

Get breached addresses on a verified domain

  • Only for verified domains (a 403 otherwise). No formal rate limit, but repeated querying can be throttled: check latestBreach first.

List the key’s verified domains

List all breaches

  • Keyless.

Get a breach by name

  • Keyless.

Get the most recently added breach

  • Keyless. Poll this before re-querying domains.

List data classes

  • Keyless.

Get the key’s subscription