Guidelines

Introduction

SpyCloud's Exposure Metrics API is a programmatic interface for gathering high level breach statistics on domains and emails.

See API Guidelines for authentication, configuration, and error handling details.

Performance

The /stats/emails/{email} endpoint will also return a limited number of stats for the email domain. If your use case requires querying email address for free email services like gmail.com, yahoo.com, hotmail.com, etc then we recommend using the skip_domain query parameter to greatly improve response time. This query parameter will only return stats for the email address. Note: The domain endpoint will not return any stats for large free email service domains.

Domain Metrics (Effective 04/30/2026)

Domain (Email Domain + Target Domain)

FieldDescription
last_discovered_days_agoDays since the most recent record was discovered across the entire domain (employees + consumers)
recordsTotal records found with the domain (employees + consumers combined)
related_sourcesTotal distinct breach sources that contain records for the domain (employees + consumers combined)
lookbackPeriod of time the metrics are reporting over. Currently it is all time. Future feature to add time selector.

Employee (Email Domain Matches)

FieldDescription
employee_last_discovered_days_agoDays since the most recent employee record was discovered
employee_recordsTotal records found with the employee emails
employee_related_sourcesDistinct breach sources containing at least one employee email
employee_credit_card_recordsEmployee records containing a credit card number
employee_phish_recordsEmployee records from phished sources
employee_phish_records_with_passwordEmployee records from phished sources that contain a password
employee_distinct_infected_machine_idsCount of distinct infostealer infected machine ids found to contain at least one employee record (unique compromised devices tied to employees)
employee_distinct_emailsCount of distinct employee email addresses
employee_distinct_passwordsCount of distinct plaintext passwords appearing across all employee email records
employee_distinct_email_password_combinationsCount of distinct employee email + plaintext password pairings (useful for measuring credential reuse)
employee_infected_distinct_emailsCount of distinct employee emails appearing in infostealer records
employee_phish_records_distinct_emailsCount of distinct employee emails appearing in phishing records

Consumer (Target Domain Matches, Excludes Email Domain Matches)

FieldDescription
consumer_last_discovered_days_agoDays since the most recent consumer record was discovered
consumer_recordsTotal records found with the consumer emails
consumer_related_sourcesDistinct breach sources containing at least one consumer email
consumer_credit_card_recordsConsumer records containing a credit card number
consumer_distinct_infected_machine_idsCount of distinct infostealer infected machine ids found to contain at least one target domain record (unique compromised devices / application exposures)
consumer_distinct_emailsCount of distinct consumer email addresses
consumer_distinct_passwordsCount of distinct plaintext passwords across all consumer records
consumer_distinct_email_password_combinationsCount of distinct consumer email + plaintext password pairings
consumer_infected_distinct_emailsCount of distinct consumer emails appearing in infostealer records

Source Types Per Segment

Segments: employee_source_type_breakdown, consumer_source_type_breakdown

FieldDescription
*_source_typeThe category of breach source: exfiltrated, exposed, scraped, unknown, combolist, infostealer, and phished
*_record_countTotal records of this source type within the employee or consumer segment
*_related_sourcesDistinct count of breach sources of this source type within the segment
*_last_seen_dateThe most recent SpyCloud publish date among the records of this source type within the segment