Free Data Breach API
Get public data breach metadata as JSON without an API key. MyRecon’s selected catalogue includes reported incident dates, affected data categories, counts and links to source summaries. Use the feed in a dashboard, sidebar or project and credit Have I Been Pwned for the upstream data.
Start here
One request, no setup:
curl https://www.myrecon.xyz/data/v1/latest.json
View the latest JSON feed · Download OpenAPI 3.1 · View the feed index
Import the OpenAPI description into an API client for the six read-only operations, their response schemas and the slug parameter. The embed widget displays source credits automatically.
Endpoints
| Path | Returns |
|---|---|
/data/v1/index.json | Discovery document, every endpoint, counts, licence |
/data/v1/breaches.json | The MyRecon catalogue with a sum of the reported incident counts |
/data/v1/breaches/{slug}.json | One incident. An unknown slug returns HTTP 404 with an HTML error page. |
/data/v1/latest.json | The ten most recently added, newest first |
/data/v1/case-files.json | Index of our long-form incident write-ups |
/data/v1/stats.json | Headline counters for a single-number display |
A breach record
Every payload shares an envelope, api_version, generated, licence, attribution: so you can write one parser for all of them. The records look like this:
{
"slug": "mckesson",
"name": "McKesson",
"title": "McKesson",
"domain": "mckesson.com",
"breach_date": "2026-08-21",
"added_date": "2026-09-10T05:45:39Z",
"accounts": 6404340,
"severity": 73,
"band": "Severe",
"verified": true,
"sensitive": true,
"stealer_log": false,
"data_classes": ["Email addresses", "Names", "Phone numbers", "..."],
"summary": "In August 2026, healthcare and pharmaceutical company ...",
"logo": "https://logos.haveibeenpwned.com/McKesson.png",
"url": "https://www.myrecon.xyz/breaches/mckesson.html"
}
| Field | Type | Meaning |
|---|---|---|
slug | string | Stable identifier. Use it as your key. |
breach_date | date | When the breach is believed to have occurred. |
added_date | datetime | When the upstream source added the incident. The latest feed sorts by this value. |
accounts | integer | The count reported upstream for this incident. Read count_unit when present. The same person or account may appear in several incidents. |
severity | 0 to 100 | Our score, weighted by which data classes were exposed. |
band | string | The named bucket for the severity score, for example Critical or Severe. |
domain, logo | string or null | The public domain and logo where the source provides them. |
verified | boolean | Upstream confirmed the corpus is genuine. Show this. |
sensitive | boolean | Membership alone could harm the person. Handle with care. |
stealer_log | boolean | From infostealer malware rather than a company breach. |
data_classes | string[] | Categories of data exposed, upstream's vocabulary. |
verified: false is not a detail to drop. An unverified breach is one nobody has confirmed is genuine, and presenting it beside confirmed incidents with no distinction is how a rumour becomes a fact on somebody's dashboard. If your interface has room for one boolean, make it this one.
Examples
Browser JavaScript
const res = await fetch("https://www.myrecon.xyz/data/v1/latest.json");
if (!res.ok) throw new Error(`Breach feed returned HTTP ${res.status}`);
const data = await res.json();
for (const b of data.breaches) {
console.log(b.title, b.accounts, b.band);
}
Python
import urllib.request, json
url = "https://www.myrecon.xyz/data/v1/breaches.json"
with urllib.request.urlopen(url) as r:
data = json.load(r)
severe = [b for b in data["breaches"] if b["band"] == "Severe"]
print(len(severe), "severe of", data["count"])
One breach by slug
curl -s https://www.myrecon.xyz/data/v1/breaches/mckesson.json | jq .breach.data_classes
The embed widget
If you want a live breach list on your page and would rather not write the rendering, drop in two lines. It builds itself inside a shadow root, so your CSS cannot break it and it cannot leak styles into your page.
<div id="myrecon-breaches"></div>
<script src="https://www.myrecon.xyz/assets/js/embed.js"
data-count="5" data-theme="auto" async></script>
Options: data-count (1 to 10, default 5), data-theme (auto, dark, light), data-title.
It sets no cookies, stores nothing, and sends no identifier, it is one GET for a static file. If that request fails it renders nothing rather than showing your visitors an error. The attribution footer is drawn by the widget itself, which is what keeps you compliant with the licence without having to think about it.
Attribution: the part that is not optional
The breach data originates with Have I Been Pwned and is licensed CC BY 4.0. We redistribute it under that licence, and so do you when you publish it.
CC BY makes attribution a condition of use, not a courtesy. If you display this data publicly, credit Have I Been Pwned. That is the requirement, and it is owed upstream, we are the distributor, not the source. A link back to MyRecon is genuinely appreciated and is how this stays worth maintaining, but the licence does not demand it and neither do we.
A credit line that satisfies it:
Breach data from Have I Been Pwned (CC BY 4.0), via MyRecon.
Every JSON payload carries its own attribution object with the same information, so it travels with the data even if this page never gets read.
The case-file index is different: those write-ups are our own work. Use the index to link to them freely. Reproducing the article text needs a visible credit and a link to the article it came from.
Fair use, and what we ask
- Cache it. The data changes at most once a day. Fetch it on a schedule and serve from your own store rather than hitting us per page view, it is faster for your users and it is what the
generatedfield is for. - Do not hotlink the logos. The
logoURLs point at Have I Been Pwned's servers. Copy the images you need to your own hosting. - Parse defensively. New fields can appear in
v1without warning. Ignore keys you do not recognise. - Read the
generateddate. If your copy is a month old, say so in your interface rather than implying it is live.
Free breach API: catalogue data or an email lookup?
This free breach API returns incident metadata, affected data categories and source links. It does not accept an email address or return leaked passwords. Use latest.json for recently added catalogue records and case-files.json for researched case summaries. Both are rebuilt alongside the website and Android feeds.
Check generated before refreshing a local cache. Keep the previous successful response if a request fails; an unavailable feed is not an empty archive. Compare added_date with breach_date when showing new alerts. See why those dates differ.
Free data breach APIs compared
Most developers searching for a breach API free tier or breach data API want one of three jobs: an incident catalogue, a single email lookup, or a password hash check. No single free API covers all three.
The table below compares live free options with limits quoted from each provider's own documentation (read 25 November 2026). MyRecon calls these services in production, so the notes underneath reflect observed runtime behavior.
| API and endpoint | Answers | Key | Stated limit | What you owe |
|---|---|---|---|---|
MyRecon /data/v1/breaches.json | Which breaches happened, what they exposed | No | Fair use (static CDN files) | Credit Have I Been Pwned (CC BY 4.0) |
Have I Been Pwned /api/v3/breaches, /breach/{name}, /dataclasses | The full breach catalogue and data classes | No | Not stated for these endpoints | Identify HIBP as the source (CC BY 4.0) |
Have I Been Pwned /breachedaccount/{email}, /pasteaccount/{email} | Breaches and pastes for one email address | Yes, paid subscription | Requests per minute set by the plan; HTTP 429 over it | Same CC BY 4.0 credit; a user agent header is required |
Pwned Passwords api.pwnedpasswords.com/range/{5 hex} | Whether a password hash appears in breach corpora, and how often | No | "There is no rate limit" | None required |
XposedOrNot /v1/check-email/{email} | Breach names for one email address | No | 2 per second, 25 per hour, 100 per day, per IP | Not stated in the API docs |
XposedOrNot /v1/breach-analytics?email= | Per-breach detail, yearly timeline, risk summary | No | 2 per second, 25 per hour, 100 per day, per IP | Not stated in the API docs |
XposedOrNot /v1/breaches | Its own breach catalogue | No | 2 per second, 50 per hour, 100 per day, per IP | Not stated in the API docs |
LeakCheck public leakcheck.io/api/public?check= | Record count, exposed field names and source breaches for an email or username | No | 1 request per second | A "Powered by LeakCheck" link on your site |
Sources: HIBP API v3, XposedOrNot API docs, LeakCheck public API. HIBP offers test keys for development, but checking real addresses needs a paid key, and its stealer log endpoints need a Pro subscription or higher.
Which one to use
- A breach list, alert feed or widget for your site: MyRecon's feed or HIBP's keyless catalogue. Both carry the same CC BY 4.0 credit. MyRecon's adds a severity score, the date we added each record and open CORS from static files.
- Checking a password in a sign-up or reset form: Pwned Passwords. Hash on the device or your server, send only the first five characters of the SHA-1, and compare the suffixes locally. Send
Add-Padding: trueso the response size does not hint at which prefix you asked about; padded rows have a count of 0 and can be dropped. - Checking one email address for free: LeakCheck's public API, then XposedOrNot. Neither needs a key. Both are rate limited per IP, so they suit a person checking their own address, not a batch job.
- Checking many addresses, or a whole domain: a paid key. HIBP, XposedOrNot's domain endpoint and LeakCheck's Pro API all need one, and that is the honest answer to "free bulk email breach API".
Five traps we hit in production
- XposedOrNot nests its list.
check-emailreturns{"breaches": [["Adobe", "Dropbox"]]}, a list inside a list. Code that treats the outer list as the names reports one odd entry, or zero breaches for everyone. - XposedOrNot's "not found" reads like an error. An address with no breaches comes back as
{"Error":"Not found","email":null}. Treat that as a clean result, not a failed request, or every clean address shows "could not check". - LeakCheck's
foundcounts records, not breaches. One address can appear in many rows of one breach. Count distinct entries insourcesfor "how many breaches", and keepfoundas a separate figure. - A rate limit is not a clean result. A 429, a timeout or a missing key means the address was not checked. Show that as its own state. Showing it as "no breaches found" tells people they are safe when nobody looked.
- Retry on the provider's unit. LeakCheck's public limit is one request per second, and HIBP's 429 carries a
retry-afterin seconds. Telling a user to "come back tomorrow" sends them away from an answer that is a second away.
What this API is not
It serves breach metadata: which incidents happened, what categories of data were exposed, how many accounts, how severe. It holds no personal records and cannot be queried by email address, name or password.
That is a deliberate boundary rather than a missing feature. Checking whether a specific address appears in breach data is a different operation with entirely different privacy implications, and an unauthenticated public endpoint is the wrong shape for it. That check lives on the tool, where it can be explained and consented to. If you need it programmatically, go to HIBP's own API, which is built for it.
Versioning and stability
The path carries the version. Additive changes, new fields, new endpoints, ship into /data/v1/ at any time, which is why you should ignore unknown keys. Anything that would break an existing consumer ships at a new version path, and v1 stays exactly where it is.
This is a free service maintained alongside a small product, offered in good faith and with no uptime guarantee. If you are building something where breach data being unavailable would be a real problem, cache it on your side.
Common questions
Is it really free?
Yes. No account, no key, no paid tier, no rate limit beyond fair use. The endpoints are static files on a CDN, so serving them costs almost nothing and there is nothing to meter.
Do I need to register?
No. Every endpoint is a plain GET with no authentication, and CORS is open, so browser JavaScript on any origin can call it directly.
How often does the data update?
The archive rebuilds from upstream daily, and each payload carries a generated date so you can see how fresh your copy is. The CDN caches for an hour and serves a stale copy for up to a day rather than failing.
Can I check a specific email address?
For your own address, open MyRecon’s email checker. For account-level programmatic access, see Have I Been Pwned’s API documentation.
Can I use this commercially?
CC BY 4.0 permits commercial use with attribution. Credit Have I Been Pwned as described above and you are within the licence.
Which free breach API can check an email address?
LeakCheck's public API and XposedOrNot's check-email both answer for one address with no key, limited per IP (1 request per second for LeakCheck; 2 per second, 25 per hour and 100 per day for XposedOrNot). Have I Been Pwned's email search needs a paid key. See the comparison above.