GnistAI GnistAI
Log in

WHOIS Lookup

Domain WHOIS lookup — registrar, registration/expiration dates, nameservers, DNSSEC status.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 2 tools tools 2 2 Utilities

Data source: RDAP (Registration Data Access Protocol)

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/whois-lookup/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-whois-lookup": {
      "url": "https://context.gnist.ai/mcp/whois-lookup/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/whois-lookup/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "whois_lookup", "arguments": {"domain": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/whois-lookup/

2 endpoints available:

Shell
curl "https://context.gnist.ai/rest/whois-lookup/whois_lookup?domain=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/whois-lookup/whois_lookup",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "domain": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc whois-lookup

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (2)

whois_lookup
Look up domain registration (WHOIS) information.
ParameterTypeRequiredDescription
domainstringrequired
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related