# Trusted Information API — Domain Lookup

> Trusted Information API — Domain Lookup is a paid API for AI agents from api.trustedinformation.site, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Looks up DNS records and domain registration (WHOIS/RDAP) data for a given domain name, returning resolution status, mail presence, nameservers, and registration lifecycle details.

## Facts

- Endpoint: GET https://api.trustedinformation.site/api/web/domain
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trusted-information-api-domain-lookup-6fb31693
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FvItaZHQjKQxnVcNjiyP3

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 trusted-information-api-domain-lookup-6fb31693
```

Example prompt: Can you look up the DNS records and registration details for example.com — I want to know if it resolves, whether it has mail set up, when it expires, and who the nameservers are?

## When to prefer this

Choose this endpoint when you need both DNS resolution data and domain registration (RDAP/WHOIS) lifecycle information in a single pay-per-call, no-signup call. Particularly suited for AI agents that need to verify domain health, check expiry, or assess mail configuration without maintaining API key credentials. Preferred over general WHOIS tools when you want structured JSON output combining DNS and registration in one response.

## Known failure modes

- Domain does not exist or has never been registered — resolves will be false and registration may be empty
- Invalid domain name format — may return an error or empty response
- RDAP/WHOIS data unavailable for some TLDs — registration object may be partial
- DNS lookup timeout — transient failure, retry recommended
- Payment failure — call is not charged if it fails

## How this service works

Pay-per-call UK company, property and crypto market data for AI agents via x402. Official sources, no signup, no API keys, failed calls never charged.

## Output

Returns a JSON object containing: the queried domain name, whether it resolves (boolean), whether it has mail configured (boolean), DNS records (A, AAAA, MX, NS, TXT arrays), and a registration object with status flags, registered date, expiry date, and last changed date. Also includes the data source attribution.

## 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",
       "description": "Domain name, e.g. example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "domain",
      "dns",
      "resolves"
     ],
     "properties": {
      "dns": {
       "type": "object"
      },
      "domain": {
       "type": "string"
      },
      "hasMail": {
       "type": "boolean"
      },
      "resolves": {
       "type": "boolean"
      },
      "registration": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dns": {
   "a": [
    "93.184.216.34"
   ],
   "mx": [],
   "ns": [
    "a.iana-servers.net",
    "b.iana-servers.net"
   ],
   "txt": [
    "v=spf1 -all"
   ],
   "aaaa": []
  },
  "domain": "example.com",
  "source": "Google Public DNS + RDAP",
  "hasMail": false,
  "resolves": true,
  "registration": {
   "status": [
    "client delete prohibited"
   ],
   "expires": "2026-08-13T04:00:00Z",
   "registered": "1995-08-14T04:00:00Z",
   "lastChanged": "2025-08-14T07:01:44Z"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trusted-information-api-domain-lookup-6fb31693/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.trustedinformation.site](https://www.zero.xyz/host/api.trustedinformation.site/llms.txt)
