GET
GET https://api.lunarcyber.com/domain-exposure
| Parameter | Required | Description |
|---|---|---|
| domain | Yes | Domain to analyze. Example: autobarn.net. |
GET https://api.lunarcyber.com/domain-exposure?domain=autobarn.net
const domain = "autobarn.net";
const response = await fetch( `https://api.lunarcyber.com/domain-exposure?domain=${encodeURIComponent(domain)}` );
const data = await response.json();
console.log(data.report.summary);
import requests
response = requests.get( "https://api.lunarcyber.com/domain-exposure", params={"domain": "autobarn.net"} )
data = response.json()
print(data["report"]["summary"])
The structure here follows the short introduction → quickstart → field documentation → API reference approach used by the Webz.io Data Breaches documentation.