Ask ChatGPT Ask Claude

Related domains API

Bewary's related domains API, `GET /v1/domain/{host}/related`, returns domains sharing an IP address, a /24 or an ASN, name servers from hourly DNS history, a certificate, a registrar and a registration time, a page template or a tracking id in Bewary's data. Each related domain comes with all its relations, each relation's strength (`strong`, `medium` or `weak`) and the related domain's own `verdict`. CDNs, big hosting, parking and DNS providers appear in `pivots` with the reason and are not followed. A call costs 5 credits, a free key gets 1,000 credits a month, no card.

Endpoint
GEThttps://api.bewary.app/v1/domain/{host}/related
Price
5 credits
Free key
1,000 credits a month, no card
Returns
verdict, p_scam, entities with typed facts, reason codes
MCP tool
related_domains

This endpoint needs an API key

A free key comes with 1,000 credits a month. Sign in with your email, no password.

Get a free key

Call it

curl "https://api.bewary.app/v1/domain/paypal-login-secure.top/related" \
  -H "Authorization: Bearer $BEWARY_API_KEY"

Act on the result

Copy-paste code that turns the answer into a decision. It runs with or without BEWARY_API_KEY. TypeScript uses bewary.d.ts.

import os, requests

def campaign_neighbours(domain):
    r = requests.get(f"https://api.bewary.app/v1/domain/{domain}/related",
                     params={"per_page": 50},
                     headers={"Authorization": f"Bearer {os.environ['BEWARY_API_KEY']}"}, timeout=20)
    r.raise_for_status()
    return [d["domain"] for d in r.json()["related"]
            if d["strength"] == "strong" and d["verdict"] in ("scam", "suspicious")]

print(campaign_neighbours("paypal-login-secure.top"))

Response

The fields you will use

related[]
This page of related domains, strongest first, each with its verdict and relations.
related[].strength
strong: few domains share it and both held it at the same time. weak: a /24, an ASN or a value many share.
pivots[]
Every value considered, with used, and why one was excluded (cdn, shared, parking and more).
campaigns[]
Kits this domain is part of: one page template or tracking id shown by two or more listed domains.
bewary.d.ts




The same typed answer as a message check, with input.kind set to screenshot: see Response format.

Parameters

NameTypeDescription
hostpath, required string The domain or hostname, e.g. paypal-login-secure.top.
pagequery integer 1 and up. Default 1.
per_pagequery integer Related domains a page, at most 50. Default 25.

Questions

How do I find domains on the same IP or name servers?

GET /v1/domain/{host}/related returns domains sharing an IP address or name servers in Bewary's data. Each related domain includes its relations, their strengths and its own verdict.

Does a shared CDN address link every domain on it?

No. Bewary lists shared CDN, big hosting, parking and DNS provider infrastructure in pivots[] with the reason and does not follow those pivots.

How much does the related domains API cost?

Each page costs 5 credits and returns up to 50 related domains. An API key is required.

Used for

Updated · This page as Markdown · Changelog