Skip to content
OSINTtools.io

ewhois.com API

WHOIS lookup that checks a name across many TLDs at once, with registration dates, export and web diagnostics.

Base URL
https://api.ewhois.com/v1
Sign-in
API key
Free tier
Free tier
Format
REST
Endpoints
4

Compiled by OSINTtools.io editors from ewhois.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The ewhois public API v1 answers domain questions: whether a domain is listed for sale on Sedo, Gname or Aliyun, domains by prefix, WHOIS/RDAP registration details, and how many domains resolve to an IPv4 address.

The base URL is https://api.ewhois.com/v1; requests are GET only and return JSON as {"ok": true, "data": ...} or {"ok": false, "error": {...}}. Pass an API key in the X-API-Key header or a key query parameter. Anonymous requests work under per-IP limits. Self-serve key signup is closed; keys are issued through the contact page.

Responses are cached. CORS is open.

Quick start

  1. Get a key

    Create an account with ewhois.com and copy your api key (free tier). Where to get it

  2. Make your first request

    Find listings for a domain on Sedo, Gname and Aliyun.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.ewhois.com/v1/marketplace/search?domain=example.com' \
      -H 'X-API-Key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "ok": true,
      "data": {
        "for_sale": true,
        "platform": "sedo",
        "type": "buy_now",
        "price": 1000,
        "currency": "USD",
        "end_time": null,
        "listings": []
      }
    }

Authentication

Send your API key in the X-API-Key header of every request.

Optional: anonymous use has per-IP limits. Keys are requested through the contact page.

Get a key from ewhois.com

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Anonymous: per-IP caps per second, minute and day set per endpoint. API key: a daily quota plus per-second and per-minute limits. Over the limit gives 429 with Retry-After.

Free tier.

Errors

StatusMeaning
401api_key_required or invalid_api_key
403api_key_disabled or ip_banned
404not_found: unknown endpoint path
429rate_limit_second, rate_limit_minute or a daily quota exceeded
502upstream_error: data source unavailable

Domains

Path parameters

domainstringrequiredtakes your domain

Domain name

Example: example.com
Response fields · 8Show

domainstring

Domain

registeredboolean

Whether it is registered

reservedboolean

Whether it is reserved

registrarstring

Registrar

registrantstring

Registrant

createdstring

Creation date

expiresstring

Expiry date

name_servers[]string

Name servers

curl 'https://api.ewhois.com/v1/whois/example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "ok": true,
  "data": {
    "domain": "example.com",
    "registered": true,
    "reserved": false,
    "registrar": "Example Registrar",
    "registrant": "Example Org",
    "created": "2000-01-01",
    "expires": "2030-01-01",
    "name_servers": [
      "ns1.example.com"
    ]
  }
}

IP

Use list to also get up to 20 domain names.

Path parameters

ipstringrequiredtakes your ip address

IPv4 address

Example: 203.0.113.7

Query parameters

listinteger

Return up to N domain names (maximum 20)

Example: 10
Response fields · 4Show

ipstring

The address

domain_countinteger

Domains resolving to it

scan_idstring

Scan id

domains[]string

Domain names, when list is set

curl 'https://api.ewhois.com/v1/ip-domains/203.0.113.7' \
  -H 'X-API-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "ok": true,
  "data": {
    "ip": "203.0.113.7",
    "domain_count": 1,
    "scan_id": "scan_example",
    "domains": [
      "example.com"
    ]
  }
}