# Liangyi Domain Audit API – Text Metrics

> Liangyi Domain Audit API – Text Metrics is a paid API for AI agents from liangyi-domain-audit.orelumia-offer-worker.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Audits public DNS and email-delivery records for a given domain or text input, returning structured metrics on a pay-per-call basis.

## Facts

- Endpoint: GET https://liangyi-domain-audit.orelumia-offer-worker.workers.dev/v1/text-metrics
- 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/liangyi-domain-audit-api-text-metrics-7d0dee0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gOsln17hVynOWAWJU0RU-

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 liangyi-domain-audit-api-text-metrics-7d0dee0b
```

Example prompt: Can you run a DNS and email deliverability audit on 'example.com' — I need to know if the SPF, DKIM, and DMARC records are properly set up?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call audit of a specific domain's public DNS and email-delivery records (MX, SPF, DKIM, DMARC) without setting up a full DNS monitoring subscription. It is well-suited for one-off checks, pre-launch validations, or automated workflows that verify email infrastructure on demand.

## Known failure modes

- Missing or empty 'text' parameter returns a validation error
- Domain does not exist or has no public DNS records, resulting in empty or null audit fields
- Network timeout when querying authoritative DNS servers for obscure TLDs
- Malformed domain input (e.g. URL instead of bare domain) may produce unexpected results
- Payment failure via x402 protocol prevents the call from completing

## How this service works

Pay-per-call audit of public DNS and email-delivery records.

## Output

Returns a structured JSON object containing the results of a public DNS and email-delivery records audit for the provided text/domain input, likely including presence and validity of MX, SPF, DKIM, and DMARC records, along with any detected misconfigurations or missing entries.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/liangyi-domain-audit-api-text-metrics-7d0dee0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from liangyi-domain-audit.orelumia-offer-worker.workers.dev](https://www.zero.xyz/host/liangyi-domain-audit.orelumia-offer-worker.workers.dev/llms.txt)
