# CodePulse Domain Check

> CodePulse Domain Check is a paid API for AI agents from codepulse-api.hahavoid0.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Checks whether a given domain name is registered or available for registration

## Facts

- Endpoint: POST https://codepulse-api.hahavoid0.workers.dev/domain/check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/codepulse-domain-check-ecce8afe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RMOpXlPQzOAft-g-nJnW5

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 codepulse-domain-check-ecce8afe -d '<json body>'
```

Example prompt: Can you check if 'mycloudstartup.io' is available to register, or is it already taken?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call domain availability check without committing to a domain registrar API or managing API keys. It is ideal for AI agents that need to verify domain availability on-demand as part of a larger workflow (e.g. brand research, startup naming, content creation) and want to pay only per query via USDC on Base. Prefer alternatives (e.g. direct registrar APIs) if you need guaranteed real-time WHOIS data or the ability to immediately purchase the domain upon confirmation.

## Known failure modes

- Unsupported TLD — the 'supported' field returns false for obscure or new TLDs
- Low confidence results — confidence field may be 'low' for domains where WHOIS data is ambiguous
- Invalid domain format — malformed domain strings may produce errors or unexpected results
- Network/worker timeout — the Cloudflare worker may occasionally time out under load
- Stale data — data_as_of field may reflect a recent but not real-time snapshot

## How this service works

Checks domain registration availability by checking SOA DNS records.

## Output

Returns a JSON object indicating whether the domain is available or registered, the domain name queried, a confidence level (e.g. 'high'), a data_as_of timestamp, whether the lookup is supported for that TLD, any warnings, and a legal disclaimer.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain name to check (e.g. google.com)"
      }
     }
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "domain": "unregistered12345domain.net",
   "available": true
  },
  "warnings": [],
  "supported": true,
  "confidence": "high",
  "data_as_of": "2026-06",
  "disclaimer": "Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/codepulse-domain-check-ecce8afe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from codepulse-api.hahavoid0.workers.dev](https://www.zero.xyz/host/codepulse-api.hahavoid0.workers.dev/llms.txt)
