Skip to content

Domain WHOIS API

5 endpointsUtilitiesGlobalsocial:read2 real examples

Returns the WHOIS record of a domain under any TLD, from RDAP or port-43 WHOIS, and checks whether names are free to register across many extensions at once.

View as Markdown
GET/domain/whoisWHOIS record of a domain under any TLD: registrar, dates, status and name servers, from RDAP or port-43 WHOIS.
GET/domain/availabilityWhether domain names are free to register: one name, or one label under many TLDs at once.
GET/domain/tldWhere a TLD publishes registration data: its RDAP service and WHOIS server, and which one whois reads.
GET/domain/certificatesTLS certificates logged for a domain in certificate transparency, newest first: issuer, validity and the names each covers.
GET/domain/subdomainsSubdomains of a domain found in TLS certificates logged in certificate transparency, such as api.example.com, sorted by name.

whois

GET/v1/domain/whois

WHOIS record of a domain under any TLD: registrar, dates, status and name servers, from RDAP or port-43 WHOIS.

scope social:read1 unitcached 6 h

Parameters

name
string
required
Registered domain name, such as google.de or tokopedia.co.id.
e.g. google.id
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
createdAtstring
dnssecboolean
domainstring
expiresAtstring
nameserversstring[]
rawstring
registrarstring
registrarUrlstring
serverstring
sourcestring
statusstring[]
updatedAtstring
curl "https://api.hoshime.com/v1/domain/whois?name=google.id" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "createdAt": "2014-04-17T10:39:27Z",
    "dnssec": false,
    "domain": "google.id",
    "expiresAt": "2027-04-17T23:59:59Z",
    "nameservers": [
      "ns1.google.com",
      "ns2.google.com"
    ],
    "raw": "",
    "registrar": "PT Digital Registra Indonesia",
    "registrarUrl": "",
    "server": "https://rdap.pandi.id/rdap/",
    "source": "rdap",
    "status": [
      "clientDeleteProhibited",
      "clientTransferProhibited"
    ],
    "updatedAt": "2026-03-27T16:00:02Z"
  },
  "meta": {
    "cached": false,
    "endpoint": "whois",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "domain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

availability

GET/v1/domain/availability

Whether domain names are free to register: one name, or one label under many TLDs at once.

scope social:read1 unitcached 10 minpaginated

Parameters

name
string
required
A domain such as example.com, or a bare label such as example to check under each of tlds.
e.g. google
tlds
string
Comma-separated extensions to check a bare label under, up to 25, such as com,io,co.id. Default com,net,org,io,co,ai,app,dev,id,co.id,xyz,me.
e.g. com,de,id
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
availableboolean
domainstring
sourcestring
statusstring
curl "https://api.hoshime.com/v1/domain/availability?name=google&tlds=com%2Cde%2Cid" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "available": false,
      "domain": "google.com",
      "source": "dns",
      "status": "registered"
    },
    {
      "available": false,
      "domain": "google.de",
      "source": "dns",
      "status": "registered"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "availability",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "domain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

tld

GET/v1/domain/tld

Where a TLD publishes registration data: its RDAP service and WHOIS server, and which one whois reads.

scope social:read1 unitcached 24 h

Parameters

name
string
required
Top-level domain, with or without the dot, such as de or .co.id (its last label is used).
e.g. de
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
rdapUrlstring
sourcestring
tldstring
whoisServerstring
curl "https://api.hoshime.com/v1/domain/tld?name=de" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "rdapUrl": "https://…",
    "source": "…",
    "tld": "…",
    "whoisServer": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "tld",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "domain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

certificates

GET/v1/domain/certificates

TLS certificates logged for a domain in certificate transparency, newest first: issuer, validity and the names each covers.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
required
Domain name, such as example.com. Subdomains are not included; see subdomains.
e.g. example.com
limit
integer
Number of certificates, from 1 to 100.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
commonNamestring
idstring
issuerstring
namesstring[]
notAfterstring
notBeforestring
curl "https://api.hoshime.com/v1/domain/certificates?name=example.com" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "commonName": "…",
      "id": "abc123",
      "issuer": "…",
      "names": [
        "…"
      ],
      "notAfter": "…",
      "notBefore": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "certificates",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "domain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

subdomains

GET/v1/domain/subdomains

Subdomains of a domain found in TLS certificates logged in certificate transparency, such as api.example.com, sorted by name.

scope social:read1 unitcached 6 hpaginated

Parameters

name
string
required
Domain name, such as example.com.
e.g. example.com
limit
integer
Number of subdomains, from 1 to 1000.
default 100
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

1 fields
namestring
curl "https://api.hoshime.com/v1/domain/subdomains?name=example.com" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "name": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "subdomains",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "domain",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open