x402basequality 0.62

WHOIS lookup for any domain via x402 micropayment — $0.01 per query on Base (USDC).

Price
per_call
Protocol
x402
Verified
no

What it does

The `/domain/whois` endpoint on domain.hugen.tokyo returns WHOIS registration data for a given domain name. It is one of eight paid endpoints in the Domain Intelligence API, which also offers DNS records, SSL certificate analysis, tech-stack detection, security header auditing, subdomain discovery, redirect tracing, and a combined full-report endpoint. All endpoints run in parallel and are individually addressable.

This specific endpoint accepts a `domain` query parameter (e.g., `example.com`) via HTTP GET and returns JSON containing registration details such as registrar name, creation date, and domain age. Payment is handled via the x402 protocol: an unauthenticated request returns HTTP 402 with a USDC payment challenge on the Base network. The price is $0.01 per call (10,000 base units at 6 decimals). Alternative access methods include an MCP gateway at mcp.hugen.tokyo, a free API-key trial via discovery.hugen.tokyo, and the `x402-pay` Python SDK.

The API is documented with an OpenAPI 3.1 spec, though response schemas for the paid endpoints are not fully specified (empty schema objects). The x402 challenge was captured live and includes a sample WHOIS response showing fields like `exists`, `registrar`, `creation_date`, and `domain_age_days`.

Capabilities

whois-lookupdomain-registration-infox402-paymentusdc-basejson-apiget-request

Use cases

  • Checking domain registration details (registrar, creation date, age) before purchasing or partnering
  • Automated due-diligence pipelines that need WHOIS data for domains encountered in the wild
  • AI agents verifying domain legitimacy as part of phishing or fraud detection workflows
  • Enriching threat-intelligence feeds with domain registration metadata

Fit

Best for

  • Quick single-domain WHOIS lookups at very low cost ($0.01)
  • Agent-driven workflows that can pay per call via x402 or API key
  • Developers who want WHOIS data without managing WHOIS client libraries or rate limits

Not for

  • Bulk WHOIS enumeration of thousands of domains (per-call pricing adds up; no batch endpoint)
  • Scenarios requiring full raw WHOIS text output (response appears to be structured/parsed fields only)
  • Users who need free, unlimited WHOIS lookups

Quick start

pip install x402-pay
import x402_pay
r = x402_pay.get('https://domain.hugen.tokyo/domain/whois?domain=example.com')
print(r.json())

Example

Response

{
  "exists": true,
  "registrar": "Cloudflare, Inc.",
  "creation_date": "2010-01-01T00:00:00",
  "domain_age_days": 5500
}

Endpoint

Transporthttp
Protocolx402
Pay to0x29322Ea7EcB34aA6164cb2ddeB9CE650902E4f60
CurrencyUSD COIN

Quality

0.62/ 1.00

The endpoint is live (402 challenge captured) with an OpenAPI spec and clear pricing. However, the response schema is empty in the spec, and the only example response comes from the x402 challenge sample, which may not be exhaustive. No dedicated docs page or detailed field descriptions exist.

Warnings

  • Response schema is not defined in the OpenAPI spec (empty schema object); actual response fields are inferred from the x402 challenge sample only.
  • No dedicated pricing page found; price ($0.01 USDC on Base) is derived solely from the x402 challenge notice.
  • Root URL returns 404; no landing page or README available.

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 02:22:18Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access