Enzoic API - Developer Documentation
Visit our website
  • Enzoic Website
  • Getting Started
    • .NET Quick Start
    • Java Quick Start
    • JavaScript Quick Start
    • Ruby Quick Start
    • PHP Quick Start
    • Go Quick Start
    • Python Quick Start
  • Using the Enzoic API
  • Libraries
  • API reference
    • Passwords API
    • Credentials API
      • Hashed Credentials API
      • Cleartext Credentials API
        • Query Passwords for an Email Address
        • Query Passwords for a Domain
        • Query Passwords for a Partial Hash of an Email Address
      • Test Accounts
    • Exposures API
      • Get Exposures for an Email Address
      • Get Exposures for a Domain
      • Get Exposures for All Email Addresses in a Domain
      • Get Exposures by Date
      • Retrieve Details for an Exposure
    • Breach Monitoring API
      • Breach Monitoring by User
        • Add Breach Alert Subscriptions for Users
        • Remove Breach Alert Subscriptions for Users
        • Query Breach Alert Subscriptions for Users
      • Breach Monitoring by Domain
        • Add Breach Alert Subscriptions for Domains
        • Remove Breach Alert Subscriptions for Domains
        • Query Breach Alert Subscriptions for Domains
      • Webhooks
        • Managing Webhooks
          • Register a Webhook
          • Update a Webhook
          • Delete a Webhook
          • Query Registered Webhooks
        • Webhook Test API
    • Identity Breach Monitoring API
      • Monitoring Identities
        • Add Identities to Monitoring
        • Update Monitored Identities
        • Remove an Identity from Monitoring
        • Query Monitored Identities
      • Retrieving Identity Exposures
      • Webhooks
        • Managing Webhooks
          • Register a Webhook
          • Update a Webhook
          • Delete a Webhook
          • Query Registered Webhooks
        • Webhook Test API
    • BIN Monitoring API
      • Monitoring BINs
        • Add Bank Identification Numbers to Monitoring
        • Remove Bank Identification Numbers from Monitoring
        • Query Monitored Bank Identification Numbers
      • Retrieving Exposed Payment Cards
      • Webhooks
        • Managing Webhooks
          • Register a Webhook
          • Update a Webhook
          • Delete a Webhook
          • Query Registered Webhooks
        • Webhook Test API
    • Payment Card Exposures API
      • Check a Card Number for Compromise
    • Account Status APIs
      • Account Status
      • Account Usage
    • Password Hash Algorithms
    • OpenAPI Specification
    • View OpenAPI Spec in Swagger UI
    • Postman Collection of API Examples
  • Password Strength Meter
    • Quick Start
    • Example
Powered by GitBook
On this page

Was this helpful?

  1. API reference
  2. Exposures API

Get Exposures for an Email Address

Retrieve all breaches a given email address has been exposed in

PreviousExposures APINextGet Exposures for a Domain

Last updated 10 months ago

Was this helpful?

Lookup all exposures for an email address

get

Returns all credentials exposures that have been found for a given user.

Authorizations
Query parameters
usernamesarrayRequired

A list of up to 50 email addresses OR SHA256 hashes of the lowercased email addresses (recommended)

Example: usernames=joe@corp.co&usernames=frank@corp.co
includeExposureDetailsintegerOptional

(Optional) If this parameter is specified and non-zero, the results will include the exposure details inline, rather than just the IDs. In this case the exposures array in the response will contain an array of ExposureDetails objects

Default: 0Example: 1
startDatestringOptional

(Optional) Specifies a start date/time in ISO8601 format (e.g. 2023-06-01T00:00:00Z). If specified, only exposures which occurred after this date will be included in the response.

Example: 2023-06-01
endDatestringOptional

(Optional) Specifies an end date/time in ISO8601 format (e.g. 2023-06-01T00:00:00Z). If specified, only exposures which occurred before this date will be included in the response.

Example: 2023-07-01
Responses
200
The response contains an array of objects, one per username that was passed in. Each object will contain an array of the known Exposures for that user.
application/json
get
GET /v1/exposures-for-usernames HTTP/1.1
Host: api.enzoic.com
Authorization: Bearer Base64(your_api_key:your_api_secret)
Accept: */*
200

The response contains an array of objects, one per username that was passed in. Each object will contain an array of the known Exposures for that user.

[
  {
    "username": "frank@corp.co",
    "usernameHash": "51885d3cc1b6f144455e9d25661ca34b9f945b5540b61cb41cf56381950bf50b",
    "count": 1,
    "exposures": [
      {
        "id": "57dc11964d6db21300991b78",
        "title": "funsurveys.net",
        "entries": 5123,
        "date": "2015-05-01T00:00:00.000Z",
        "category": "Manufacturing",
        "source": "Cybercrime Forums",
        "passwordType": "Cleartext",
        "exposedData": [
          "Emails",
          "Passwords"
        ],
        "dateAdded": "2016-09-16T15:36:54.000Z",
        "sourceURLs": [
          "https://www.someplace.com"
        ],
        "domainsAffected": 683,
        "sourceFileCount": 1
      }
    ]
  }
]