# LION Domain Intelligence - DNS, TLS, HTTP & Trust Analysis

> LION Domain Intelligence - DNS, TLS, HTTP & Trust Analysis is a paid API for AI agents from lion-x402.lionmaster-operations.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns comprehensive domain intelligence including DNS records, TLS certificate details, HTTP security headers, and a computed trust score for any given domain.

## Facts

- Endpoint: GET https://lion-x402.lionmaster-operations.workers.dev/api/x402/domain-intel-json
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lion-domain-intelligence-dns-tls-http-trust-analysis-577d38d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mbfuHyQ1MZdsjVc35srQa

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 lion-domain-intelligence-dns-tls-http-trust-analysis-577d38d7
```

Example prompt: Can you pull up the full domain intelligence for stripe.com — I want to see the DNS records, TLS expiry, whether it enforces HTTPS, and what trust score it gets?

## When to prefer this

Use this endpoint when you need a comprehensive, single-call domain security and infrastructure profile — covering DNS, TLS, HTTP headers, and a computed trust score — without needing an API key. Prefer it over manual DNS lookups or separate TLS checkers when you want a unified trust assessment for phishing detection, vendor due diligence, email deliverability checks, or pre-outreach domain validation. The x402 pay-per-call model makes it ideal for agent workflows where per-query billing is preferable to subscriptions.

## Known failure modes

- Domain does not resolve — resolved: false in response
- Invalid or malformed domain name input
- x402 payment not included or insufficient — 402 Payment Required response
- Domain exists but TLS is invalid or expired — reflected in trust signals
- Transient upstream DNS resolution failure

## How this service works

Keyless off-chain and on-chain data for AI agents. No API key, no signup - payment is the only gate. Pay-per-call in USDC on Base via x402.

## Output

A JSON object containing: DNS records (A, MX, NS, AAAA arrays plus SPF/DMARC/TXT presence), TLS certificate issuer and expiry date with days remaining, HTTP status and security header flags (CSP, HSTS, X-Frame-Options, X-Content-Type), server software, HTTPS enforcement status, a trust score (0-1), individual trust signals, tech hints, confidence score, and a timestamp. Cost is $0.005 USDC per call via x402 on Base — no API key needed.

## 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"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dns": {
   "a": [
    "34.111.0.0"
   ],
   "mx": [
    "aspmx.l.google.com"
   ],
   "ns": [
    "ns-1.example.net"
   ],
   "aaaa": [],
   "has_spf": true,
   "has_dmarc": true,
   "txt_count": 4
  },
  "tls": {
   "issuer": "Let's Encrypt",
   "not_after": "2026-08-01T00:00:00Z",
   "days_to_expiry": 59
  },
  "http": {
   "server": "nginx",
   "status": 200,
   "security": {
    "csp": true,
    "hsts": true,
    "x_frame": true,
    "x_content_type": true
   },
   "powered_by": null,
   "https_enforced": true
  },
  "as_of": "2026-06-03T00:00:00.000Z",
  "domain": "stripe.com",
  "asset_id": "LION_DOMAIN_INTEL_001",
  "resolved": true,
  "confidence": 0.9,
  "tech_hints": [
   "nginx",
   "hsts"
  ],
  "trust_score": 0.92,
  "trust_signals": {
   "has_mx": true,
   "has_spf": true,
   "has_dmarc": true,
   "valid_tls": true,
   "https_enforced": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lion-domain-intelligence-dns-tls-http-trust-analysis-577d38d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lion-x402.lionmaster-operations.workers.dev](https://www.zero.xyz/host/lion-x402.lionmaster-operations.workers.dev/llms.txt)
