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 key

Overview

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
    X-API-Key: YOUR_API_KEY
    or
    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

StatusMeaning
401Missing, invalid, or revoked API key.
403Your plan does not include this endpoint (Free has no API access; Malicious IP Scan starts on Light).
404Unknown path, or the company/breach was not found.
429Daily plan quota reached. Resets at 00:00 UTC.
502Upstream catalog request failed.
503API is temporarily unavailable.

Verify API Key

GET /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

GET /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

GET /companies

Paginated company list with optional country, industry, and breach-count filters.

Query parameters:
ParameterTypeDescription
pageintegerPage number, default 1.
limitintegerPage size, capped by your plan.
countrystringISO country name/code, case-insensitive.
industrystringIndustry / classification, partial match.
min_breachesintegerOnly companies with at least this many breaches.
sortstringname | 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" }]
}

Company Profile

GET /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

GET /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

GET /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

GET /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

GET /breaches

Search the global breach catalog, optionally scoped to a company.

Query parameters:
ParameterTypeDescription
companyIdstringCompany id or slug.
qstringTitle / company id search.
offsetintegerPagination offset, default 0.
limitintegerPage 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

GET /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

GET /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.

GET /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": []
}
GET /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"
GET /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"
GET /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

GET /cves

Search the live CVE catalog. Every entry carries a KEV (actively exploited) flag and an EPSS exploit-probability score.

Query parameters:
ParameterTypeDescription
qstringCVE id or keyword.
severitystringCRITICAL | HIGH | MODERATE | LOW
kevbooleanIf 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

GET /ransomware

Recent leak-site posts, built from ongoing dark web and surface web monitoring.

Query parameters:
ParameterTypeDescription
qstringVictim or group search.
groupstringThreat group name.
countrystringVictim 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+.

GET /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