Domain WHOIS Lookup Request

Domain Intelligence and Analysis
POST /api/v1/domain/whois Bearer

How to call Domain WHOIS Lookup — the endpoint, the headers it expects, and every request parameter with its type.

Endpoint

POST https://app.way2api.com/api/v1/domain/whois

Headers

Authorization: Bearer your_api_key_here
Content-Type: application/json

Parameters (application/json)

Parameter Type Required Description
domain_name string Required Domain name to query, e.g. example.com. A scheme, path or www. prefix is stripped automatically. Max 253 characters.

Request Body

{
    "domain_name": "way2api.com"
}

cURL

curl -X POST https://app.way2api.com/api/v1/domain/whois \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain_name":"way2api.com"}'
🚀 Send Request
✓ Key saved

🔑 Remember API Key

One-click convenience for testing & troubleshooting — no account needed.

1

What it doesSaves your API key in this browser only using localStorage. Next time you open a docs page, the Try It panel is pre-filled automatically.

2

Auto-updatesIf you type a different key into any Try It field, the saved key is replaced instantly — only the most recent key is ever stored.

3

Uncheck to forgetUnchecking “Remember API Key” immediately deletes the stored key and clears the field. While unchecked, nothing is saved even if you type a new key.

4

Re-check to save againChecking the box again saves whatever key is currently in the Try It field.

⚠ Security note: Your key is stored only in your browser and is never sent to any server except as part of the actual API call you send. Do not use this feature on shared or public computers.