# Domain DNS Intelligence Lookup

> Domain DNS Intelligence Lookup is a paid API for AI agents from api.bakhour.ca, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-14).

Resolves DNS records (A, AAAA, MX, NS, TXT, CAA) for a given public domain name and returns all resolved addresses.

## Facts

- Endpoint: GET https://api.bakhour.ca/domain/intelligence
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-dns-intelligence-lookup-787ce5ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sLMg7107xCcj6OfFcGADH

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-dns-intelligence-lookup-787ce5ff
```

Example prompt: Can you look up all the DNS records for github.com — I want to see the A records, MX records, nameservers, and any TXT entries?

## When to prefer this

Choose this endpoint when you need a programmatic, paid-tier DNS lookup that returns structured JSON covering all major record types in a single call. Prefer this over free DNS APIs when operating in an agent workflow that already uses x402 micropayment infrastructure, or when you need reliable, deterministic resolution with a consistent schema.

## Known failure modes

- Domain does not exist or is unregistered — returns empty record arrays
- Invalid domain format passed as input — may return an error or empty results
- Domain exists but has no records of a specific type — returns empty array for that record type
- Temporary DNS resolution failure — transient network errors may return incomplete results

## How this service works

Decision-grade security/due-diligence outcome reports ($20-$100) plus deterministic paid utilities ($0.001+) for software agents and automated workflows.

## Output

A JSON object containing the queried domain name, a breakdown of all DNS record types (A, AAAA, MX, NS, TXT, CAA) as arrays of values, and a list of resolved IP addresses for the domain.

## 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": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Public domain name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "domain": "example.com",
  "records": {
   "A": [
    "93.184.216.34"
   ],
   "MX": [],
   "NS": [],
   "CAA": [],
   "TXT": [],
   "AAAA": []
  },
  "resolved_addresses": [
   "93.184.216.34"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-dns-intelligence-lookup-787ce5ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bakhour.ca](https://www.zero.xyz/host/api.bakhour.ca/llms.txt)
