# ewhois.com API reference

> 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…

Source: https://osinttools.io/apis/ewhois/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/ewhois/

- Base URL: https://api.ewhois.com/v1
- Authentication: API key in the `X-API-Key` header. Get a key: https://ewhois.com/ Optional: anonymous use has per-IP limits. Keys are requested through the contact page.
- Free tier: yes
- Rate limits: 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.
- Vendor docs: https://ewhois.com/api-docs

## Overview

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.

## Errors

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

## Domains

### Find listings for a domain on Sedo, Gname and Aliyun.

`GET /marketplace/search`

- Takes: Domain
- Footprint: passive (the target is not contacted)

Top-level fields describe the lowest-priced listing; listings has every platform with an active listing.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | string | yes | Domain to look up Example: example.com |

Response fields:

- `ok` (boolean): True on success
- `data.for_sale` (boolean): Whether a listing exists
- `data.platform` (string): Platform of the lowest-priced listing
- `data.type` (string): buy_now, make_offer or auction
- `data.price` (number): Lowest price
- `data.currency` (string): USD, EUR, GBP or CNY
- `data.end_time` (string): ISO datetime for auctions, otherwise null
- `data.listings[]` (object): Every platform with an active listing

```bash
curl 'https://api.ewhois.com/v1/marketplace/search?domain=example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

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

### Search registered domains by prefix.

`GET /domains/search`

- Takes: Domain
- Footprint: passive (the target is not contacted)

Anonymous browsing is capped at the first 500 results.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Prefix, 2 to 63 characters of letters, digits, hyphens or dots Example: example |
| `limit` | query | integer | no | Maximum 50 anonymous, 500 with a key |
| `offset` | query | integer | no | Offset |

Response fields:

- `data.prefix` (string): The prefix searched
- `data.total` (integer): Total matches
- `data.limit` (integer): Limit used
- `data.offset` (integer): Offset used
- `data.count` (integer): Domains in this page
- `data.domains[]` (string): Matching domains

```bash
curl 'https://api.ewhois.com/v1/domains/search?q=example' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ok": true,
  "data": {
    "prefix": "example",
    "total": 2,
    "limit": 100,
    "offset": 0,
    "count": 2,
    "domains": [
      "example.com",
      "example.org"
    ]
  }
}
```

### WHOIS / RDAP registration details for a domain.

`GET /whois/{domain}`

- Takes: Domain
- Footprint: passive (the target is not contacted)

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain name Example: example.com |

Response fields:

- `data.domain` (string): Domain
- `data.registered` (boolean): Whether it is registered
- `data.reserved` (boolean): Whether it is reserved
- `data.registrar` (string): Registrar
- `data.registrant` (string): Registrant
- `data.created` (string): Creation date
- `data.expires` (string): Expiry date
- `data.name_servers[]` (string): Name servers

```bash
curl 'https://api.ewhois.com/v1/whois/example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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

### Count of domains that resolve to an IPv4 address (reverse IP).

`GET /ip-domains/{ip}`

- Takes: IP address
- Footprint: passive (the target is not contacted)

Use list to also get up to 20 domain names.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | path | string | yes | IPv4 address Example: 203.0.113.7 |
| `list` | query | integer | no | Return up to N domain names (maximum 20) Example: 10 |

Response fields:

- `data.ip` (string): The address
- `data.domain_count` (integer): Domains resolving to it
- `data.scan_id` (string): Scan id
- `data.domains[]` (string): Domain names, when list is set

```bash
curl 'https://api.ewhois.com/v1/ip-domains/203.0.113.7' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ok": true,
  "data": {
    "ip": "203.0.113.7",
    "domain_count": 1,
    "scan_id": "scan_example",
    "domains": [
      "example.com"
    ]
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
