# Domain Extract Tool – GPT-5.5 x402 Gateway

> Domain Extract Tool – GPT-5.5 x402 Gateway is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.0001/call, status unknown (last checked 2026-09-13).

Extracts the host and naive domain parts from a given URL or hostname via a micropayment-gated GET endpoint.

## Facts

- Endpoint: GET https://gpt55.558686.xyz/v1/tools/domain-extract
- Price: $0.0001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-extract-tool-gpt-5-5-x402-gateway-97b04edf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XRsbdiWnQ5LquOl29vifg

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-extract-tool-gpt-5-5-x402-gateway-97b04edf
```

Example prompt: Can you extract the domain parts and hostname from this URL: https://www.example.co.uk/some/path?query=1

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.0001 USDC) programmatic extraction of host and domain components from a URL or hostname, especially in a micropayment/x402-enabled agent workflow where no subscription is desired.

## Known failure modes

- Missing required 'url' or 'hostname' query parameter returns an error response
- Invalid or malformed URL input may yield partial or empty domain parts
- Payment failure via x402/USDC on Base results in 402 response and no data returned
- URL exceeding 2048 characters is rejected by schema validation
- Hostname exceeding 253 characters is rejected

## How this service works

Extract hostname, labels, subdomain, and a naive last-two-label registrable domain from a URL or hostname without DNS or upstream model calls. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.

## Output

A JSON object with ok (boolean), tool name ('domainExtract'), a summary string, and the extracted host and naive domain parts from the provided URL or hostname, plus a fetchedAt timestamp.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "url": "https://www.example.co.uk/some/path?query=1"
  }
 }
}
```

## 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"
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": true
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 2048
      },
      "hostname": {
       "type": "string",
       "maxLength": 253
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      },
      "fetchedAt": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-extract-tool-gpt-5-5-x402-gateway-97b04edf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
