# FastX402 Lab – Punycode Domain Converter

> FastX402 Lab – Punycode Domain Converter is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Converts internationalized domain names between Unicode (münchen.de) and ASCII Punycode (xn--...) forms for use in DNS lookups, certificate checks, and domain comparisons.

## Facts

- Endpoint: GET https://fastx402.tools/punycode-domain?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-lab-punycode-domain-converter-4911d76d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1DefaRTqBkwhBKjvoNGB5

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 fastx402-lab-punycode-domain-converter-4911d76d
```

Example prompt: Can you convert münchen.de to its ASCII Punycode form so I can use it in a DNS lookup?

## When to prefer this

Use this endpoint when you need a reliable, pay-per-call conversion between Unicode internationalized domain names and their ASCII Punycode equivalents — especially before DNS lookups, TLS/certificate validation, URL construction, or domain comparison where ASCII normalization is required. Prefer it over local libraries when running in an agent environment without native IDN support.

## Known failure modes

- Invalid or malformed domain string returns an error
- Empty domain parameter causes a 400-level response
- Domain with invalid Unicode characters may fail encoding
- Network timeout on upstream service returns a 5xx error

## How this service works

146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object with two fields: 'ascii' containing the Punycode-encoded ASCII form of the domain (e.g. xn--mnchen-3ya.de) and 'unicode' containing the human-readable Unicode form (e.g. münchen.de). Both representations are always returned regardless of which form was submitted.

## 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 in Unicode or ASCII form"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ascii": {
       "type": "string"
      },
      "unicode": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ascii": "xn--mnchen-3ya.de",
  "unicode": "münchen.de"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-lab-punycode-domain-converter-4911d76d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
