# PayAI Domain Trust Score

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

Returns a composite trust score and category verdict for a domain by fusing registration age, DNS/mail posture, TLS validity, Certificate Transparency history, and typosquat/homoglyph analysis.

## Facts

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

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 payai-domain-trust-score-c3e0e18d
```

Example prompt: Before I pay this merchant at checkout-secure-payments.com, can you run a domain trust check on it and tell me the trust score, category, and any red flags like typosquatting, missing DMARC, or a newly registered domain?

## When to prefer this

Use this endpoint when an AI agent is about to transact with or recommend an unfamiliar merchant domain and needs a multi-signal trust assessment before proceeding. Ideal for pre-payment due diligence, phishing detection pipelines, or any workflow where domain legitimacy matters. Prefer over simple WHOIS lookups because it fuses multiple trust dimensions into a single actionable score.

## Known failure modes

- Domain not resolvable or not found — returns unknown category with explanation
- Invalid domain format input — returns 400-level error
- RDAP/DNS lookups timeout — partial results with missing dimension flags
- Typosquat analysis inconclusive for uncommon TLDs
- Rate limiting or payment failure for x402 protocol

## 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 to 100, a categorical verdict (trusted, caution, untrusted, or unknown), per-dimension flags covering registration age, SPF/DMARC/DNSSEC posture, TLS validity, Certificate Transparency history, and typosquat/homoglyph analysis, plus human-readable reasons for each flag.

## 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/payai-domain-trust-score-c3e0e18d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
