To ensure the best browsing experience, please enable JavaScript in your web browser. Without it, many website features are inaccessible.


Total Tests:
485,773,462
737,046
130,956

Dark Web Monitoring API: How to Automate Exposure Checks

Read Time: 5 min.

TA dark web monitoring API lets you query your organisation’s exposure programmatically instead of reading a dashboard: leaked credentials, squatting and typosquatting domains, phishing sites impersonating your brand, fake social accounts and trademark misuse. ImmuniWeb exposes this through a REST API and a command-line tool, iwtools, available as a Python script and a Docker image, so checks can run on a schedule, feed a SIEM, or gate a third-party onboarding workflow.

Get a Demo

Dark web monitoring usually arrives as a dashboard and a weekly email. That works until you need the data somewhere else: in your SIEM next to everything that fires an alert, in the vendor onboarding checklist your procurement team runs, in the nightly job that compares this week’s exposure with last week’s.

At that point you need an API. This guide covers what a dark web monitoring API returns, how to call ImmuniWeb’s, and the four integration patterns that come up most often.

What a dark web monitoring API returns

Six data classes, all keyed to a domain you control.

Leaked credentials. Email addresses and passwords belonging to your domain that appear in breach dumps and combolists. This is the class most people mean by dark web monitoring, and it is directly actionable: force a reset, check whether those accounts have MFA.

Squatting and typosquatting domains. Registered domains that resemble yours through character substitution, added words or alternative TLDs. New registrations against your brand are the earliest warning of a phishing campaign, often days before it launches.

Phishing and scam websites. Live sites impersonating your brand, which feed a takedown workflow.

Fake accounts on social networks. Profiles using your brand, logos or executives’ names, typically for fraud or recruitment scams.

Trademark infringement. Unauthorised use of your marks across the sites and channels being monitored.

Cloud storage exposure. ImmuniWeb’s quick test covers AWS, Azure and GCP exposure alongside the dark web check, which is often where the actual data is sitting.

ImmuniWeb’s dark web monitoring API

The Dark Web and Threat Exposure Test is free to run from the browser and is also exposed as a REST API. Full parameter reference is in the API documentation.

A premium Community Edition account provides the API key that unlocks full API functionality, full technical detail in results and PDF export. Test limits per month are listed on the Premium & Limits page.

Using the CLI

iwtools is the supported command-line client, available as an open-source Python script and a Docker image. Python 3.7 or newer is required.

Install:

git clone "https://github.com/immuniweb/iwtools.git" && cd iwtools/iwtools
python3 -m venv env
source ./env/bin/activate
pip install -r requirements.txt

Start a test, or return a cached result if one exists:

./iwtools.py darkweb example.com

Return the raw API response as JSON, which is what you want for anything automated:

./iwtools.py darkweb --format raw_json example.com

Force a fresh test with an API key, from the Docker image:

docker run immuniweb/iwtools darkweb --api-key ABCDE-12345-FGHIJ-67890 --recheck example.com

Or from the Python script:

./iwtools.py darkweb --api-key ABCDE-12345-FGHIJ-67890 --recheck example.com

Note the difference between a cached and a forced result. Without --recheck you get the last known state, which is fast and cheap and fine for a dashboard. With --recheck you get a fresh scan, which is what a scheduled job should use.

Four integration patterns

Scheduled exposure check with diff

The most common pattern. Run a forced check on a schedule, store the raw JSON, compare against the previous run and alert only on what is new. The value is in the delta: a list of a thousand historical leaked credentials is noise, three that appeared yesterday is an incident.

Weekly is a reasonable baseline for a stable organisation. Daily makes sense if you are in a sector that is actively targeted.

Feeding a SIEM

Convert the JSON into events and ship them with everything else. Leaked credentials for privileged accounts and newly registered lookalike domains are both worth a correlation rule. A new typosquatting domain plus a spike in inbound mail referencing it is a phishing campaign in progress.

Third-party and vendor onboarding

Run a check against a supplier’s domain as part of due diligence. Heavy credential exposure or an active phishing campaign against a vendor is information you want before connecting systems, not after. This slots into an existing third-party risk management process as one more automated gate.

Pre-launch check on new brands and domains

When a new product name or domain is registered, run a check against it immediately. Squatting domains are often registered within hours of a public trademark filing or a domain purchase becoming visible.

What to do with the findings

An API is only useful if the output goes somewhere.

Leaked credentials go to a forced password reset and an MFA audit for those accounts. If the same address appears across several unrelated breaches, the person behind it probably reuses passwords everywhere.

New squatting domains go to a watchlist, and, if they start resolving to a live page, to a takedown request. ImmuniWeb offers phishing websites takedown as a managed service, which matters because registrar and host abuse processes are slow and inconsistent.

Fake social accounts go to each platform’s brand impersonation process, which is generally faster than domain takedowns.

From API to continuous monitoring

An API call is a snapshot. For exposure that appears between calls, continuous monitoring is the right model.

ImmuniWeb® Discovery runs dark web monitoring continuously as part of Continuous Threat Exposure Management, alongside external attack surface discovery, so newly exposed assets and newly leaked credentials surface in the same place rather than in two unconnected tools. It integrates with Jira, Splunk, Slack and Teams, among others, so findings land in the workflow your team already uses.

Check your domain’s dark web exposure, free

Leaked credentials, squatting domains, phishing sites, fake accounts and cloud storage exposure. Browser, API or CLI.

Run the free Dark Web Exposure Test Read the API documentation

Frequently Asked Questions

  • Q
    What is a dark web monitoring API?
    A
    An interface that returns your organisation’s dark web and threat exposure data programmatically, so it can be scheduled, diffed and pushed into other systems instead of read from a dashboard.
  • Q
    Is there a free dark web monitoring API?
    A
    ImmuniWeb’s Dark Web and Threat Exposure Test is free to run and exposes a REST API and a CLI. An API key from a premium Community Edition account unlocks full API functionality and higher monthly limits.
  • Q
    What data does the API return?
    A
    Leaked credentials, squatting and typosquatting domains, phishing and scam sites, fake social network accounts, trademark infringement and, in the quick test, AWS, Azure and GCP exposure.
  • Q
    How do I integrate dark web monitoring into a SIEM?
    A
    Call the API on a schedule with the raw JSON output, convert findings into events, and correlate on new items only. The signal is in what changed since the last run, not in the full historical list.
  • Q
    Can I check a supplier’s domain?
    A
    Yes. Running a check against a vendor domain during onboarding is a standard third-party risk control, and the API makes it part of an automated workflow rather than a manual step.
  • Q
    What is the difference between a cached and a forced test?
    A
    Without the --recheck flag you get the last known result, which is fast. With it, a fresh scan runs. Scheduled jobs should force a fresh scan; dashboards can use the cache.
  • Q
    How often should dark web checks run?
    A
    Weekly as a baseline, daily for actively targeted organisations, and immediately on any new domain or brand registration.
  • Q
    Does the API cover cloud storage exposure?
    A
    The quick test covers dark web exposure together with AWS, Azure and GCP, which is frequently where the underlying data is actually exposed.
Share on LinkedIn
Share on Twitter

Share on WhatsApp

Share on Telegram
Share on Facebook

Reduce Your Cyber Risks Now

Please fill in the fields highlighted in red below

Get Your Free Demo
of ImmuniWeb® AI
Platform

  • Start your free trial of ImmuniWeb products
  • Receive personalized product pricing
  • Talk to our technical experts
Gartner Cool Vendor
SC Media
IDC Innovator
*
*
*
Private and ConfidentialYour data will stay private and confidential
Talk to an Expert