Trusted by enterprise security teams
PwC Trustwave Teachers Mutual Bank Swire Shipping Defense.com

What is a Dark Web API?

A dark web API gives you programmatic access to continuously updated data from dark web marketplaces, hacker forums, data breaches, and malware-infected devices. When you integrate the Breachsense API into your security stack, you can automatically monitor for exposed credentials and stolen data.

A dark web API returns structured data, so nobody has to search these sources by hand. You can create automated workflows that detect when your sensitive information appears on the dark web. These workflows check whether a leaked password is still in use. They reset the password or revoke the stolen session.

Coverage includes NHIs (non-human identities), such as API keys, OAuth tokens and service account secrets. We find these keys and tokens in stealer logs from infected employee devices and in files leaked in ransomware attacks.

The API can also monitor your third-party vendors for security incidents like ransomware attacks.

Breachsense API Endpoints and the Data Each One Returns

Every Breachsense endpoint is at api.breachsense.com and returns JSON or CSV. The API documentation lists the parameters and output fields for each endpoint.
EndpointWhat you send itWhat it returns
/stealerA domain, email, IP address, crypto wallet, truncated card number or passwordCredentials from infected devices, with the target site and malware. Card numbers, crypto wallets and device details such as IP address, operating system and antivirus, when the log includes them
/comboA domain or emailPlaintext credentials from combo lists
/credsA domain or emailThird-party breach credentials and the breach name
/sessionsA domain, email or IP addressStolen session cookies, with the name, value and expiry
/nhiA domain, email, platform or token typeLeaked API keys, OAuth tokens and service credentials
/phishA domain or emailCredentials your users typed into phishing pages
/darkwebA domainRansomware leak site posts that list the domain, with the group’s name
/radarA domainPosts on hacker forums and underground marketplaces about the company behind the domain
/docsAny search termDownloadable leaked files that contain the term
/asmA domainYour subdomains and their IP addresses, plus potential phishing domains, such as example.net or example-login.com for example.com
/accountAn action, such as adding a domain to your watchlistYour watchlist, alert routing settings and audit log. It also sends test alerts and rotates your key
When we find a new match for your watchlist, we post it to your webhook, the URL you give us for alerts. The sample is one Sessions alert, trimmed to its main fields. It shows a JSESSIONID cookie stolen from an infected device. A session cookie is the token a site uses to keep someone signed in. An attacker can use the cookie to sign in without the password or an MFA (multi-factor authentication) code. The expires field shows the latest date the cookie can still work.

Two fields help your tools route the alert. The ast field is the monitored asset that triggered the alert. The api field is the endpoint that found it. We’ve masked the cookie value and the username.
webhook delivery POST application/json
[
  {
    "dom": "example.com",
    "name": "JSESSIONID",
    "val": "9f2c••••••••41ab",
    "path": "/",
    "expires": "1801050520",
    "fnd": 1795693720,
    "found": "20261126",
    "nme": "j••••••",
    "mal": "StealC",
    "api": "sessions",
    "ast": "example.com"
  }
]

Why Automate Dark Web Monitoring?

Automated Remediation

Trigger password resets and revoke stolen sessions as soon as an alert reaches your tools.

REST API Integration

Integrate dark web intelligence into Splunk, Sentinel or any tool that reads JSON. Query leaked credentials and breach files programmatically.

Scale Without Headcount

Monitor every asset on your watchlist 24/7 without adding security staff.

What You Can Build With the Breachsense API

We send each new finding to your webhook as JSON. Each record includes the monitored asset (ast) and the endpoint that found it (api). Your SIEM (security information and event management) or SOAR (security orchestration, automation and response) tool can read the api field and run a different playbook for each alert type. For example, it can reset the password on a /stealer alert and revoke sessions for the site in a /sessions alert. Our SIEM and SOAR integrations cover tools such as Splunk, Sentinel and Cortex XSOAR. Our guide to adding leaked credential data to a SIEM covers field mapping, alert rules and deduplication.

Flow diagram: a new finding, the webhook, your SIEM, SOAR or customer portal, then your response
  • SIEM / SOAR ENRICHMENT

    Add breach data to SIEM alerts

    Your SIEM sends an alert about a suspicious sign-in. Your SOAR playbook checks the API for credentials or tokens for that user and escalates the alert to an analyst if it finds any.

    Built with:
    Leaked credentials and session tokensLeaked API keys and OAuth tokensStealer log credentials
  • CUSTOMER PORTALS

    Custom dashboards for client portals

    MSPs (managed service providers) and security vendors keep a separate watchlist for each client. With the :: separator, we send each client's alerts to the client's own inbox or webhook, as in example.com::soc@example.com. Your portal pulls the results from the API.

    Built with:
    Domain queries per clientPer-domain webhooksJSON output
  • AUTOMATED REMEDIATION

    Trigger credential rotation automatically

    When the API returns a new leaked password, your script calls Okta, Entra, or Google and forces a reset. For session tokens, the alert includes the site and the cookie name, so your team knows which app's sessions to revoke.

    Built with:
    Webhooks on new findingsCredential and session token endpointsJSON with the leaked username
  • THREAT HUNTING & RED TEAM

    Search leaked credentials and files

    Red teamers find plaintext credentials for in-scope domains. Threat hunters search leaked files from vendor breaches for your company name.

    Built with:
    Full-text leak file searchHacker forum postsPlaintext credentials by domain

How the Breachsense API Compares

Building scrapers in-house means getting access to the forums and markets yourself, then keeping each scraper working as sites move or go offline.

CapabilityBreachsense APIBuilding scrapers in-houseGeneric threat intel feeds
Queries by corporate domainIncludedYou build itVaries by vendor
Stealer log details (malware family, source URL)IncludedYou build itVaries by vendor
Credentials captured by phishing kitsIncludedHard to sourceVaries by vendor
Full-text search across leaked filesIncludedHeavy liftVaries by vendor
Leaked session token detectionIncludedHard to sourceVaries by vendor
API key and OAuth token detection (NHIs)IncludedHard to sourceVaries by vendor
Hacker forum mentions and access listingsIncludedAccess-gatedVaries by vendor
Query rate limitsBased on your requirementsNone (your infra)Varies by vendor
Response payload depthPlaintext passwords, malware family, device details, cookie expiry and breach nameYou defineVaries by vendor
Webhooks on new findingsIncludedYou build itVaries by vendor
JSON and CSV outputIncludedYou build itVaries by vendor

How Does the Breachsense API Work?

Get Your API Key

Query Credentials & Leaked Files

Parse JSON Responses

Automate Remediation

How Breachsense’s Usage-Based Pricing Works

We don’t publish our prices. On a demo call, we learn your requirements, then put together a package that covers only what you need. The price depends on how many domains you monitor and how many API queries you make each month. Faster alerts, coverage of invitation-only markets and domain takedowns raise the price.

Frequently Asked Questions

A dark web API gives you programmatic access to data from dark web marketplaces, data breaches, and malware-infected devices. Instead of manually searching dark web sources, you query a REST endpoint and get structured JSON or CSV back. You can search for leaked credentials, run full-text searches on leaked files, and monitor vendor domains for exposure.
No. A data breach API returns data from known breaches for an email address or domain, such as leaked credentials and where they came from. A dark web API also covers data that never shows up as a named breach, including stealer logs, session tokens and passwords typed into phishing pages. The Breachsense API covers both.
The API covers leaked credentials from data breaches and stealer logs, including plaintext passwords and session tokens. It also returns credentials your users typed into phishing pages. You can search leaked files from ransomware attacks, third-party breaches and unsecured databases for any term, such as a company or employee name. Each result includes details such as the breach name, the date and the leaked password. You can query by domain, email, password, IP address, or keyword.
Breachsense uses a standard REST API that returns JSON or CSV. We send alerts to your SIEM or SOAR by webhook to trigger automated workflows. A playbook can then reset a user’s password when we find their leaked credentials, or revoke an app’s sessions when we find a stolen session cookie. Your tools can also pull new findings from the API on a schedule. For example, a workflow can pull alerts into Splunk and open a ServiceNow ticket. The API documentation covers authentication and the endpoint reference. Step-by-step integration patterns are in API workflows and use cases.
You use Breachsense through the REST API, webhook and email alerts, or our skill for Claude Code, Codex and GitHub Copilot. The skill lets you query the same backend in plain English, or have the AI build the integration for you. MSSPs (managed security service providers) use the API to monitor hundreds of client domains. There’s no separate web dashboard.
Add your vendor domains to your watchlist. When a vendor gets hit by ransomware or appears in a breach, we send you an alert. You can also run full-text searches on leaked file dumps for your company name to find your data in vendor breaches. Searching leaked files finds your data in a vendor’s breach even when no employee credentials leaked.
You authenticate with a license key, sent in a request header or as the lic parameter. You can rotate your key yourself with an API call. Your package sets how many requests per second your license can send and how many queries it gets each month. Add the r parameter to an /account request to see how many queries your license has left this month. The API returns standard HTTP status codes so you can handle errors programmatically.
Yes. Pen testers and red teams use the API to find plaintext passwords linked to target domains. We crack password hashes where we can, so you don’t have to. The API also returns session tokens from stealer logs, with the date each cookie expires.

Essential Dark Web Monitoring Resources

Dark Web Monitoring

How to monitor criminal marketplaces and forums for your exposed data. Fundamentals to know before implementing API automation.

Learn More

Compromised Credential Monitoring

Automate detection of leaked employee and customer credentials. Learn how to reset passwords before attackers exploit them through API workflows.

Learn More

Data Breach Monitoring

Monitor for third-party breaches affecting your organization as they’re indexed. Integrate breach alerts into your incident response automation.

Learn More

Cyber Threat Intelligence Software

Feed dark web data into your threat intelligence workflows. We send alerts on leaked credentials and breach files to your TIP (threat intelligence platform).

Learn More

Third-Party Cyber Risk Management

Monitor vendor breaches through automated dark web surveillance. Detect supply chain risks before they impact your organization.

Learn More

External Attack Surface Management

Automate discovery of internet-facing assets and leaked credentials across your attack surface. Integrate findings into vulnerability management workflows.

Learn More

Check Your Exposure

Free scanner to check if your organization’s credentials are already on the dark web. See what API automation can detect for you.

Learn More

Integrations and Automation

Connect Breachsense to your SIEM, SOAR, or ticketing system. Overview of webhook and API integration options.

Learn More

Claude Code Skill

Query Breachsense in plain English from Claude Code. Every endpoint loaded as a skill. Also works in Codex and GitHub Copilot.

Learn More

Dark Web Monitoring for MSPs

Dark web monitoring and API integration for MSPs, with a separate watchlist for each client. Scale monitoring across hundreds of clients.

Learn More

Automate Dark Web Monitoring With Our API

Book a demo