API Reference v1
Programmatic access to the BreachHistory catalog and intelligence feeds. REST API, JSON responses. Build dashboards, screen companies, or pull live CVE and ransomware feeds into your own tooling.
All endpoints require a dashboard API key. Keys and usage live in your BreachHistory workspace.
Get an API keyOverview
The BreachHistory API gives you the same catalog and intelligence feeds that power the dashboard: companies, breaches, CVEs, ransomware leak-site activity, and live IP reputation checks. Keys are issued and managed from the dashboard app, not from this site.
Authentication
API keys use the format bh_app_.... Include your key in every request, either header works.
-
Header
or
X-API-Key: YOUR_API_KEY
Authorization: Bearer YOUR_API_KEY
Base URL
https://app.breachhistory.com/api/v1
Daily request limits are set by your plan. Check current usage any time with /verify.
Errors
| Status | Meaning |
|---|---|
| 401 | Missing, invalid, or revoked API key. |
| 403 | Your plan does not include this endpoint (Free has no API access; Malicious IP Scan starts on Light). |
| 404 | Unknown path, or the company/breach was not found. |
| 429 | Daily plan quota reached. Resets at 00:00 UTC. |
| 502 | Upstream catalog request failed. |
| 503 | API is temporarily unavailable. |
Verify API Key
/verify
Check that your key is active and see your plan's daily quota and how much is left. Does not count against your quota.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/verify"
Response:
{
"valid": true,
"plan": "pro",
"tier": "growth",
"used": 12,
"limit": 500,
"remaining": 488,
"percent": 2
}
Catalog Stats
/stats
Company and breach counts across the whole catalog.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/stats"
Response:
{ "companies": 15479, "breaches": 6765 }
List Companies
/companies
Paginated company list with optional country, industry, and breach-count filters.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, default 1. |
limit | integer | Page size, capped by your plan. |
country | string | ISO country name/code, case-insensitive. |
industry | string | Industry / classification, partial match. |
min_breaches | integer | Only companies with at least this many breaches. |
sort | string | name | breach_count_desc | breach_count_asc |
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/companies?page=1&limit=20&country=netherlands&sort=breach_count_desc"
Response:
{
"total": 120,
"page": 1,
"limit": 20,
"data": [{ "name": "Equifax", "slug": "equifax", "country": "United States", "industry": "Finance", "breach_count": 8, "last_breach_date": "2017-09-07" }]
}
Search Companies
/companies/search
Find companies by name/slug or website domain. Provide at least one of query or domain.
| Parameter | Type | Description |
|---|---|---|
query | string | Company name or slug search. |
domain | string | Website domain, e.g. equifax.com. |
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/companies/search?query=equifax"
Response:
{ "matches": [{ "name": "Equifax", "slug": "equifax", "country": "United States", "breach_count": 8 }] }
Company Profile
/companies/{slug}
Full company record by slug or id.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/companies/equifax"
Response:
{ "name": "Equifax", "slug": "equifax", "country": "United States", "classification": "Finance", "website": "https://www.equifax.com" }
Company Summary
/companies/{slug}/summary
Breach count, first/last breach dates, and a risk level label.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/companies/equifax/summary"
Response:
{ "company": "Equifax", "breach_count": 8, "first_breach_date": "2012-10-10", "last_breach_date": "2017-09-07", "risk_level": "High" }
Company Breaches
/companies/{slug}/breaches
All recorded incidents for a company, newest first.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/companies/equifax/breaches"
Response:
{
"company": "Equifax",
"breaches": [{
"id": "...",
"title": "Equifax 2017",
"date": "2017-09-07",
"records_exposed": 147000000,
"data_types": ["SSN", "Names"],
"attack_type": "Web application",
"severity": "High"
}]
}
Risk Score
/companies/{slug}/risk-score
Numeric risk score plus frequency, recency, and sensitive-data components.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/companies/equifax/risk-score"
Response:
{ "company": "Equifax", "risk_score": 63, "risk_level": "High", "breach_frequency_score": 40, "recency_score": 10, "sensitive_data_score": 15 }
List Breaches
/breaches
Search the global breach catalog, optionally scoped to a company.
| Parameter | Type | Description |
|---|---|---|
companyId | string | Company id or slug. |
q | string | Title / company id search. |
offset | integer | Pagination offset, default 0. |
limit | integer | Page size, max 200, default 50. |
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/breaches?limit=50"
Response:
{ "items": [], "total": 0, "offset": 0, "limit": 50 }
Single Breach
/breaches/{id}
Fetch one breach by id. Add /with-company to nest the company record alongside it.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/breaches/breach-id" curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/breaches/breach-id/with-company"
Response:
{ "id": "...", "title": "...", "date": "2017-09-07", "companyId": "..." }
Recent Breaches
/recent-breaches
Latest incidents across the catalog.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/recent-breaches?limit=20"
Response:
{ "items": [{ "id": "...", "companyName": "...", "title": "...", "date": "2026-10-01" }] }
Company Check (Enriched)
Dashboard-only lookups, matched by domain. These pull in CVE and ransomware data alongside the breach catalog.
/company/{domain}
Full enriched lookup by domain or name: profile, summary, risk, matches, breaches, and ransomware posts.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/company/equifax.com"
Response:
{
"query": "equifax.com",
"company": { "name": "Equifax", "slug": "equifax" },
"summary": { "breachCount": 8 },
"risk": { "score": 63, "level": "High" },
"matches": [],
"breaches": [],
"ransomware": []
}
/company/{domain}/breaches
Breaches linked to a domain via the dashboard company check.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/company/equifax.com/breaches"
/company/{domain}/cves
CVE catalog entries matched to a domain's known technology stack.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/company/equifax.com/cves"
/company/{domain}/ransomware
Leak-site posts where this domain is the victim. Vendor and product listings are not included.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/company/equifax.com/ransomware"
CVE Feed
/cves
Search the live CVE catalog. Every entry carries a KEV (actively exploited) flag and an EPSS exploit-probability score.
| Parameter | Type | Description |
|---|---|---|
q | string | CVE id or keyword. |
severity | string | CRITICAL | HIGH | MODERATE | LOW |
kev | boolean | If 1 or true, only known-exploited (KEV) items. |
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/cves?kev=true&severity=CRITICAL"
Response:
{ "total": 450, "cves": [{ "cveId": "CVE-2026-12345", "severity": "HIGH" }] }
Ransomware Feed
/ransomware
Recent leak-site posts, built from ongoing dark web and surface web monitoring.
| Parameter | Type | Description |
|---|---|---|
q | string | Victim or group search. |
group | string | Threat group name. |
country | string | Victim country. |
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/ransomware?group=akira"
Response:
{ "total": 500, "ransomware": [{ "victimName": "...", "groupName": "akira" }] }
Malicious IP Scan
Light plan and above. Not available on Free or Personal+.
/ip/{ip}
Live combined reputation from our threat intelligence sources for one IPv4 or IPv6 address. Nothing is stored.
curl -H "X-API-Key: YOUR_KEY" "https://app.breachhistory.com/api/v1/ip/8.8.8.8"
Response:
{
"ip": "8.8.8.8",
"malicious": false,
"verdict": "clean",
"confidence": 0,
"summary": "No meaningful abuse signal from our threat intelligence sources.",
"geo": { "country": "United States", "city": "Mountain View", "isp": "Google LLC", "asn": "AS15169 · GOOGLE" }
}
Response Format
All responses are JSON. Paginated list endpoints return:
{
"total": 12450,
"page": 1,
"limit": 50,
"data": [...]
}
Single resources return the object directly. Errors:
{
"error": "Invalid API key"
}
Contact
Questions or API access help: hello@breachhistory.com