POST
Breach search
Free: no key, no account, no credits. 10 searches a minute per address, 1 at the same time (an IPv6 address counts for its whole /48 network), and like every call it also counts in the 120 calls a minute per address. The whole service also has an hourly and a daily cap on breach searches, all callers together: once reached, every breach search answers 503 breach_check_unavailable until the hour or the day ends. Calls made straight to the API (not through orelys.io) also have an hourly and a daily share of that cap, all of them together: once it is used, their breach searches answer 503 breach_check_unavailable until the hour or the day ends. And one address (an IPv6 /48) can start only a limited number of new breach searches an hour: past it, 429 rate_limited until the hour ends.
The address goes in the JSON body, never in the URL: a GET is refused with 405. Orelys does not store it or log it; the answer is kept in memory for at most 60 seconds, so that the same search sent twice does not go to our breach-data provider again.
breaches lists the named breaches holding the address, the most recent first, with found_types: the kinds of data the address was found under. The values themselves are never returned. hidden counts the sensitive breaches that also hold it but are not named: a breach marked sensitive is never listed by the breach search. found is true when either is above zero. A search can take up to about 45 seconds; past that it answers 504 upstream_timeout. Give your HTTP client a timeout of a minute. An address removed through orelys.io/data-removal, or an address on a removed domain, answers exactly like an address found nowhere: found: false, count: 0, hidden: 0, breaches: []. The guide, with code →

Body

application/json
email
string
required

The email address to check. Case does not matter. It is never stored.

Maximum string length: 254
Example:

"jane@example.com"

Response

The breaches holding this address. found: false and an empty list when it is in none.

found
boolean
required

true when the address is in at least one breach, named or hidden (count + hidden > 0).

count
integer
required

Number of named breaches in breaches.

Required range: x >= 0
hidden
integer
required

Number of sensitive breaches that also hold this address but are not named publicly.

Required range: x >= 0
breaches
object[]
required

The named breaches holding this address, the most recent breach date first; breaches with no date come last.