具
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/whois | WHOIS record of a domain under any TLD: registrar, dates, status and name servers, from RDAP or port-43 WHOIS. |
| GET | /domain/availability | Whether domain names are free to register: one name, or one label under many TLDs at once. |
| GET | /domain/tld | Where a TLD publishes registration data: its RDAP service and WHOIS server, and which one whois reads. |
| GET | /domain/certificates | TLS certificates logged for a domain in certificate transparency, newest first: issuer, validity and the names each covers. |
| GET | /domain/subdomains | Subdomains of a domain found in TLS certificates logged in certificate transparency, such as api.example.com, sorted by name. |
whois
GET
/v1/domain/whoisWHOIS 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
namestring required | Registered domain name, such as google.de or tokopedia.co.id. e.g. google.id |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
createdAt | string |
dnssec | boolean |
domain | string |
expiresAt | string |
nameservers | string[] |
raw | string |
registrar | string |
registrarUrl | string |
server | string |
source | string |
status | string[] |
updatedAt | string |
curl "https://api.hoshime.com/v1/domain/whois?name=google.id" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/domain/whois?name=google.id", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/domain/whois?name=google.id", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/availabilityWhether domain names are free to register: one name, or one label under many TLDs at once.
scope social:read1 unitcached 10 minpaginated
Parameters
namestring required | A domain such as example.com, or a bare label such as example to check under each of tlds. e.g. google |
tldsstring | 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 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
available | boolean |
domain | string |
source | string |
status | string |
curl "https://api.hoshime.com/v1/domain/availability?name=google&tlds=com%2Cde%2Cid" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/domain/availability?name=google&tlds=com%2Cde%2Cid", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/domain/availability?name=google&tlds=com%2Cde%2Cid", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/tldWhere a TLD publishes registration data: its RDAP service and WHOIS server, and which one whois reads.
scope social:read1 unitcached 24 h
Parameters
namestring required | Top-level domain, with or without the dot, such as de or .co.id (its last label is used). e.g. de |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
rdapUrl | string |
source | string |
tld | string |
whoisServer | string |
curl "https://api.hoshime.com/v1/domain/tld?name=de" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/domain/tld?name=de", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/domain/tld?name=de", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/certificatesTLS certificates logged for a domain in certificate transparency, newest first: issuer, validity and the names each covers.
scope social:read1 unitcached 1 hpaginated
Parameters
namestring required | Domain name, such as example.com. Subdomains are not included; see subdomains. e.g. example.com |
limitinteger | Number of certificates, from 1 to 100. default 20 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
commonName | string |
id | string |
issuer | string |
names | string[] |
notAfter | string |
notBefore | string |
curl "https://api.hoshime.com/v1/domain/certificates?name=example.com" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/domain/certificates?name=example.com", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/domain/certificates?name=example.com", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/subdomainsSubdomains 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
namestring required | Domain name, such as example.com. e.g. example.com |
limitinteger | Number of subdomains, from 1 to 1000. default 100 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
name | string |
curl "https://api.hoshime.com/v1/domain/subdomains?name=example.com" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/domain/subdomains?name=example.com", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/domain/subdomains?name=example.com", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }