# Domain & Email Security Lookup

> Domain & Email Security Lookup is a paid API for AI agents from onchaincheck.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-19).

Returns comprehensive domain intelligence in one call: DNS records, email security grade (SPF, DMARC, DKIM, BIMI), and RDAP registration data for any domain, URL, or email address.

## Facts

- Endpoint: GET https://onchaincheck.dev/domain/lookup?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-email-security-lookup-730adea4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ht45r27RcRI5YiEi02Tqp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability domain-email-security-lookup-730adea4
```

Example prompt: Can you do a full domain security check on stripe.com — I want to see the DNS records, email security grade (SPF, DMARC, DKIM), and registration details like who registered it and when it expires?

## When to prefer this

Choose this endpoint when you need a comprehensive, all-in-one domain intelligence snapshot — DNS records, email security posture, and registration data — in a single API call. Ideal when investigating phishing domains, auditing vendor or partner email configurations, or doing pre-campaign deliverability checks. Prefer it over separate DNS, WHOIS, or email security tools when you want a correlated view with an A–F security grade without stitching together multiple APIs.

## Known failure modes

- Domain not found or unregistered — returns empty or null RDAP data
- Invalid domain format — returns validation error
- DNS resolution timeout — partial results may be returned
- DKIM check limited to common selectors only — custom selectors may be missed
- Rate limiting if too many requests in a short period

## How this service works

Everything about a domain in one call: DNS records (A, AAAA, NS, MX, TXT, CAA, CNAME), email security graded A-F (mail provider, SPF, DMARC policy, DKIM at common selectors, BIMI, with findings) and RDAP registration (registrar, created, expires, age in days, status, nameservers, DNSSEC).

## Output

Returns a structured object containing: full DNS records (A, AAAA, NS, MX, TXT, CAA, CNAME), an email security grade from A to F with per-finding details (mail provider, SPF validity, DMARC policy strength, DKIM results at common selectors, BIMI presence), and RDAP registration data (registrar, created date, expiration date, domain age in days, status flags, nameservers, DNSSEC enabled/disabled).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "pattern": "^\\S+$",
       "maxLength": 300,
       "description": "Domain, URL or email address (stripe.com)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-email-security-lookup-730adea4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchaincheck.dev](https://www.zero.xyz/host/onchaincheck.dev/llms.txt)
