# Domain Trust Score & Phishing Verdict

> Domain Trust Score & Phishing Verdict is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Returns a composite trust score (0-100), trust category, and per-dimension flags for a domain by fusing RDAP registration age, DNS/mail posture, TLS validity, Certificate Transparency history, and typosquat/homoglyph analysis.

## Facts

- Endpoint: GET https://api.agentstools.dev/domain/trust?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-trust-score-phishing-verdict-a340ae46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gtFmgjjGMQaK-gtQIybLN

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-trust-score-phishing-verdict-a340ae46
```

Example prompt: Before I pay this merchant, can you check whether checkout.acme-store.co is trustworthy — I want to see the trust score, category, and any red flags like domain age, missing DMARC, or typosquat similarities?

## When to prefer this

Use this endpoint when an AI agent needs to vet an unfamiliar merchant, URL, or domain before executing a payment, visiting a site, or sharing credentials. It is especially valuable when typosquatting or homoglyph attacks are a concern, or when you need a multi-signal composite verdict rather than a single lookup like WHOIS alone.

## Known failure modes

- Domain not found or unresolvable — returns unknown category with limited signal
- Invalid or malformed domain/URL input — returns 400-level error
- RDAP or DNS lookup timeout — partial results with reduced confidence
- Rate limit or payment failure — 402 or 429 response
- Newly registered domain with no CT history — score may default low with sparse signals

## How this service works

Phishing/trust verdict for a website domain before an agent transacts with an unfamiliar merchant. Fuses registration age (RDAP), DNS/mail posture (SPF, DMARC, DNSSEC), TLS validity, Certificate Transparency history and a typosquat/homoglyph analysis into a composite trust score 0-100, a category (trusted / caution / untrusted / unknown), per-dimension flags and reasons. Trust indicators, not a guarantee.

## Output

A composite trust score from 0–100, a category label (trusted / caution / untrusted / unknown), and per-dimension flags with human-readable reasons covering domain registration age, SPF/DMARC/DNSSEC posture, TLS certificate validity, Certificate Transparency history, and typosquat/homoglyph similarity analysis.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "url": {
       "type": "string",
       "description": "Alternative input: a URL (its host is used)"
      },
      "host": {
       "type": "string",
       "description": "Alternative input: a bare hostname"
      },
      "domain": {
       "type": "string",
       "description": "Domain or hostname to assess (e.g. example.com)"
      }
     }
    }
   },
   "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-trust-score-phishing-verdict-a340ae46/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
