# Cinderwright API Hub – DNS Lookup

> Cinderwright API Hub – DNS Lookup is a paid API for AI agents from api.ideafactorylab.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Resolves DNS records (A, AAAA, MX, TXT, CNAME) for a given domain via a pay-per-use HTTP GET request

## Facts

- Endpoint: GET https://api.ideafactorylab.org/x402/dns-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cinderwright-api-hub-dns-lookup-96b4ef8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N36mdA-YAConAmHAPU4CF

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 cinderwright-api-hub-dns-lookup-96b4ef8d
```

Example prompt: Can you look up the A records for github.com and tell me what IP addresses it resolves to?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use DNS resolution without managing a dedicated DNS API key or subscription. It is ideal for agents that only occasionally need DNS lookups across different record types (A, AAAA, MX, TXT, CNAME) and want a single API key covering many data services. Prefer alternatives if you need bulk DNS resolution, DNSSEC validation, or very high query volumes where per-call pricing becomes expensive.

## Known failure modes

- Invalid or non-existent domain returns empty answers array or error
- Unsupported record type enum value results in a validation error
- Network timeout if upstream DNS resolver is unreachable
- Missing required 'domain' query parameter returns a 400-level error
- Payment failure or insufficient credit returns 402 Payment Required

## How this service works

900+ pay-per-use data services for AI agents. One key unlocks weather, finance, geolocation, GitHub stats, DNS, Wikipedia, science, health, food, sports, music, trivia and more. No subscriptions, no per-service API keys. Generate a free trial key with $0.10 credit in one POST request, no wallet required.

## Output

Returns a JSON object containing the queried DNS record type, the domain name, and an array of answers — each answer includes the resolved data (e.g. an IP address string for A records, a hostname for CNAME, mail server info for MX, or raw string data for TXT records).

## 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": {
      "type": {
       "type": "string",
       "description": "DNS record type: A, AAAA, MX, TXT, CNAME"
      },
      "domain": {
       "type": "string",
       "description": "Domain to look up"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "A",
  "domain": "google.com",
  "answers": [
   {
    "data": "142.250.80.46"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cinderwright-api-hub-dns-lookup-96b4ef8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ideafactorylab.org](https://www.zero.xyz/host/api.ideafactorylab.org/llms.txt)
