# DeFi Shield Domain Reputation Checker

> DeFi Shield Domain Reputation Checker is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-16).

Performs real DNS checks (SPF/DMARC/MX via Google DNS), HTTPS/SSL validation, and security headers audit to produce a domain reputation and risk score

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/safety/domain-reputation
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-a58a0aea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uIJnivjA1XYTxeslsrwV8

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 defi-shield-hazel-vercel-app-a58a0aea -d '<json body>'
```

Example prompt: Can you run a full domain reputation check on stripe.com — I want to see if it has valid SSL, proper SPF and DMARC records, and a breakdown of any missing security headers?

## When to prefer this

Use this endpoint when you need a comprehensive, multi-signal security assessment of a domain combining DNS health, email authentication (SPF/DMARC/MX), HTTPS/SSL validity, and HTTP security headers into a single reputation score. Prefer this over basic ping/reachability checks when you need to evaluate whether a domain is trustworthy for agent-to-service communication, vetting third-party integrations, or security due diligence workflows.

## Known failure modes

- Domain does not resolve — DNS lookup fails, resolves: false returned
- Invalid domain format — malformed input may return a 400 error
- Domain is unreachable — SSL check and headers audit may time out or return connection errors
- Payment failure — x402 payment not processed, request rejected
- Partial results — some checks may succeed while others fail if the domain is partially misconfigured

## Output

Returns a JSON object with a numeric reputation score (0–100), a risk level (e.g. 'medium'), DNS resolution status and A records, SSL validity and HTTPS reachability, email authentication details (SPF record, DMARC record, MX records), a security headers audit listing found and missing headers with a score out of 30, and a scoring breakdown showing points awarded for each category (MX, SPF, DMARC, HTTPS, security headers).

## Example request

```json
{
 "domain": "google.com"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain name to check reputation"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/defi-shield-hazel-vercel-app-a58a0aea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-shield-hazel.vercel.app](https://www.zero.xyz/host/defi-shield-hazel.vercel.app/llms.txt)
