@apifreaks/openapi-specs 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +156 -0
- package/dist/index.cjs +44663 -0
- package/dist/index.d.cts +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +44631 -0
- package/package.json +81 -0
- package/specs/commodity/commodity-fluctuation.json +301 -0
- package/specs/commodity/commodity-prices.json +317 -0
- package/specs/commodity/commodity-symbols.json +215 -0
- package/specs/commodity/commodity-time-series.json +329 -0
- package/specs/commodity/historical-commodity-prices.json +273 -0
- package/specs/currency/currency-converter.json +261 -0
- package/specs/currency/currency-fluctuation.json +282 -0
- package/specs/currency/currency-historical-data-limit.json +158 -0
- package/specs/currency/currency-rate.json +229 -0
- package/specs/currency/currency-supported.json +234 -0
- package/specs/currency/currency-symbols.json +161 -0
- package/specs/currency/currency-time-series.json +325 -0
- package/specs/currency/geolocalized-currency-conversion.json +287 -0
- package/specs/currency/historical-currency-converter.json +269 -0
- package/specs/currency/historical-currency-rate.json +246 -0
- package/specs/dns/bulk-dns-lookup.json +624 -0
- package/specs/dns/dns-history-lookup.json +579 -0
- package/specs/dns/dns-lookup.json +466 -0
- package/specs/dns/reverse-dns-lookup.json +414 -0
- package/specs/domain/bulk-domain-checker.json +284 -0
- package/specs/domain/domain-search-with-suggestions.json +280 -0
- package/specs/domain/domain-search.json +206 -0
- package/specs/domain/subdomain-lookup.json +343 -0
- package/specs/email-validation/bulk-email-validation.json +534 -0
- package/specs/email-validation/email-checker.json +586 -0
- package/specs/financial/bulk-vat-rates-country.json +341 -0
- package/specs/financial/financial-apis-supported-countries.json +204 -0
- package/specs/financial/iban-validation.json +328 -0
- package/specs/financial/swift-code-finder.json +192 -0
- package/specs/financial/swift-code-lookup.json +220 -0
- package/specs/financial/vat-number-validation.json +283 -0
- package/specs/financial/vat-rates-by-ip.json +275 -0
- package/specs/financial/vat-rates-country.json +288 -0
- package/specs/general/usage-credits.json +218 -0
- package/specs/geocoding/forward-geocoding.json +402 -0
- package/specs/geocoding/reverse-geocoding.json +326 -0
- package/specs/geodb/administrative-units-details.json +250 -0
- package/specs/geodb/administrative-units-levels.json +198 -0
- package/specs/geodb/administrative-units.json +237 -0
- package/specs/geodb/cities.json +288 -0
- package/specs/geodb/countries-details.json +274 -0
- package/specs/geodb/countries.json +276 -0
- package/specs/geodb/flags-supported.json +166 -0
- package/specs/geodb/flags.json +227 -0
- package/specs/geodb/regions.json +109 -0
- package/specs/geodb/subregions.json +217 -0
- package/specs/ip-intelligence/bulk-ip-lookup.json +1162 -0
- package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +417 -0
- package/specs/ip-intelligence/ip-locator.json +941 -0
- package/specs/ip-intelligence/ip-threat-intelligence.json +316 -0
- package/specs/other/astronomy-data.json +803 -0
- package/specs/pdf/delete-pdf-page.json +286 -0
- package/specs/pdf/linearize-pdf.json +277 -0
- package/specs/pdf/merge-pdf.json +285 -0
- package/specs/pdf/pdf-compress.json +304 -0
- package/specs/pdf/pdf-decrypt.json +297 -0
- package/specs/pdf/pdf-encrypt.json +314 -0
- package/specs/pdf/pdf-extract-pages.json +295 -0
- package/specs/pdf/pdf-file-status.json +208 -0
- package/specs/pdf/pdf-file.json +190 -0
- package/specs/pdf/pdf-files.json +126 -0
- package/specs/pdf/pdf-resource-download.json +168 -0
- package/specs/pdf/pdf-resource-upload-binary.json +218 -0
- package/specs/pdf/pdf-resource-upload.json +248 -0
- package/specs/pdf/pdf-restrict.json +343 -0
- package/specs/pdf/pdf-split-pages.json +281 -0
- package/specs/pdf/pdf-task-status.json +252 -0
- package/specs/pdf/pdf-to-image.json +1219 -0
- package/specs/pdf/pdf-unrestrict.json +324 -0
- package/specs/pdf/rotate-pdf-pages.json +305 -0
- package/specs/phone-validation/bulk-phone-number-validation.json +518 -0
- package/specs/phone-validation/phone-number-validation.json +456 -0
- package/specs/scraper/web-scraper.json +674 -0
- package/specs/screenshot/bulk-screenshot.json +949 -0
- package/specs/screenshot/website-screenshot.json +1147 -0
- package/specs/ssl/ssl-certificate-chain-lookup.json +756 -0
- package/specs/ssl/ssl-certificate-lookup.json +634 -0
- package/specs/timezone/timezone-converter.json +362 -0
- package/specs/timezone/timezone-lookup.json +910 -0
- package/specs/user-agent/bulk-user-agent-parser.json +441 -0
- package/specs/user-agent/user-agent-parser.json +346 -0
- package/specs/weather/air-quality.json +779 -0
- package/specs/weather/bulk-live-weather.json +834 -0
- package/specs/weather/flood-forecast.json +693 -0
- package/specs/weather/historical-weather.json +1019 -0
- package/specs/weather/live-weather.json +789 -0
- package/specs/weather/marine-weather.json +940 -0
- package/specs/weather/time-series-weather.json +1056 -0
- package/specs/weather/weather-forecast.json +1202 -0
- package/specs/whois/asn-lookup.json +729 -0
- package/specs/whois/bulk-whois-lookup.json +698 -0
- package/specs/whois/domain-whois-history-lookup.json +500 -0
- package/specs/whois/reverse-whois.json +625 -0
- package/specs/whois/whois-domain-lookup.json +533 -0
- package/specs/whois/whois-ip-lookup.json +1110 -0
- package/specs/zip-code/bulk-zip-code-lookup.json +318 -0
- package/specs/zip-code/zip-code-api.json +299 -0
- package/specs/zip-code/zip-code-distance-match.json +311 -0
- package/specs/zip-code/zip-code-distance.json +307 -0
- package/specs/zip-code/zip-codes-by-city.json +279 -0
- package/specs/zip-code/zip-codes-by-region.json +278 -0
- package/specs/zip-code/zip-codes-radius-search.json +349 -0
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.1.1",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Domain WHOIS Lookup API - Well-Structured Registration & Ownership Data",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "Retrieve real-time WHOIS registration and ownership data for a domain name directly from its authoritative registrar and registry. Returns registrar details (name, IANA ID, WHOIS/RDAP server, accreditation status), registrant/administrative/technical/billing/reseller contact information, name servers, EPP domain status codes, and both registrar-level and registry-level raw WHOIS text. Pass `domainName` as a bare domain (e.g. `example.com`); a `https://` or `http://` prefix is also accepted. Privacy-protected domains return redirect instructions instead of direct contact emails, and an unregistered domain returns `domain_registered: no` with most fields omitted instead of an error. Domain extensions this API does not support live WHOIS for return a `403` error, and a missing or malformed `domainName` returns a `400` error.",
|
|
7
|
+
"contact": {
|
|
8
|
+
"name": "APIFreaks Support",
|
|
9
|
+
"url": "https://apifreaks.com/contact",
|
|
10
|
+
"email": "support@apifreaks.com"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"servers": [
|
|
14
|
+
{
|
|
15
|
+
"url": "https://api.apifreaks.com/v2.0",
|
|
16
|
+
"description": "Domain WHOIS Lookup API Server"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/domain/whois/live": {
|
|
21
|
+
"get": {
|
|
22
|
+
"tags": ["WHOIS APIs"],
|
|
23
|
+
"summary": "Retrieve real-time WHOIS registration and ownership data for a domain name",
|
|
24
|
+
"description": "Returns the current WHOIS record for the specified domain, including registrar details, registrant/administrative/technical/billing/reseller contacts, name servers, status codes, and raw WHOIS text.",
|
|
25
|
+
"operationId": "lookupDomainWhois",
|
|
26
|
+
"parameters": [
|
|
27
|
+
{
|
|
28
|
+
"name": "format",
|
|
29
|
+
"in": "query",
|
|
30
|
+
"required": false,
|
|
31
|
+
"description": "Format of the response.",
|
|
32
|
+
"schema": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": ["json", "xml"],
|
|
35
|
+
"default": "json"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "domainName",
|
|
40
|
+
"in": "query",
|
|
41
|
+
"required": true,
|
|
42
|
+
"description": "Domain name to retrieve WHOIS data for (e.g. example.com).",
|
|
43
|
+
"schema": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"responses": {
|
|
49
|
+
"200": {
|
|
50
|
+
"description": "Successful WHOIS lookup response",
|
|
51
|
+
"content": {
|
|
52
|
+
"application/json": {
|
|
53
|
+
"schema": {
|
|
54
|
+
"$ref": "#/components/schemas/DomainWhoisLookupResponse"
|
|
55
|
+
},
|
|
56
|
+
"examples": {
|
|
57
|
+
"typicalSuccess": {
|
|
58
|
+
"summary": "Typical successful response",
|
|
59
|
+
"value": {
|
|
60
|
+
"status": true,
|
|
61
|
+
"domain_name": "google.com",
|
|
62
|
+
"query_time": "2026-07-23 08:22:19",
|
|
63
|
+
"whois_server": "whois.verisign-grs.com",
|
|
64
|
+
"domain_registered": "yes",
|
|
65
|
+
"create_date": "1997-09-15",
|
|
66
|
+
"update_date": "2024-08-02",
|
|
67
|
+
"expiry_date": "2028-09-13",
|
|
68
|
+
"domain_registrar": {
|
|
69
|
+
"iana_id": "292",
|
|
70
|
+
"status": "accredited",
|
|
71
|
+
"registrar_name": "MarkMonitor, Inc",
|
|
72
|
+
"normalized_name": "markmonitor",
|
|
73
|
+
"whois_server": "whois.markmonitor.com",
|
|
74
|
+
"rdap_server": "https://rdap.markmonitor.com/rdap/",
|
|
75
|
+
"website_url": "http://www.markmonitor.com",
|
|
76
|
+
"email_address": "abusecomplaints@markmonitor.com",
|
|
77
|
+
"phone_number": "+12086851750"
|
|
78
|
+
},
|
|
79
|
+
"registrant_contact": {
|
|
80
|
+
"company": "Google LLC",
|
|
81
|
+
"country_name": "United States",
|
|
82
|
+
"country_code": "US",
|
|
83
|
+
"email_address": "Select Request Email Form at https://domains.markmonitor.com/whois/google.com"
|
|
84
|
+
},
|
|
85
|
+
"technical_contact": {
|
|
86
|
+
"email_address": "Select Request Email Form at https://domains.markmonitor.com/whois/google.com"
|
|
87
|
+
},
|
|
88
|
+
"name_servers": [
|
|
89
|
+
"ns1.google.com",
|
|
90
|
+
"ns2.google.com",
|
|
91
|
+
"ns3.google.com",
|
|
92
|
+
"ns4.google.com"
|
|
93
|
+
],
|
|
94
|
+
"domain_status": [
|
|
95
|
+
"clientupdateprohibited",
|
|
96
|
+
"clienttransferprohibited",
|
|
97
|
+
"clientdeleteprohibited",
|
|
98
|
+
"serverdeleteprohibited",
|
|
99
|
+
"serverupdateprohibited",
|
|
100
|
+
"servertransferprohibited"
|
|
101
|
+
],
|
|
102
|
+
"whois_raw_domain": "\nDomain Name: google.com\nRegistry Domain ID: 2138514_DOMAIN_COM-VRSN\nRegistrar WHOIS Server: whois.markmonitor.com\nRegistrar URL: http://www.markmonitor.com\nUpdated Date: 2024-08-02T02:17:33+0000\nCreation Date: 1997-09-15T07:00:00+0000\nRegistrar Registration Expiration Date: 2028-09-13T07:00:00+0000\nRegistrar: MarkMonitor, Inc.\nRegistrar IANA ID: 292\nRegistrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report\nRegistrar Abuse Contact Phone: +1.2086851750\nDomain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)\nDomain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)\nDomain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)\nDomain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)\nDomain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)\nDomain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)\nRegistrant Organization: Google LLC\nRegistrant Country: US\nRegistrant Email: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\nTech Email: Select Request Email Form at https://domains.markmonitor.com/whois/google.com\nName Server: ns1.google.com\nName Server: ns4.google.com\nName Server: ns3.google.com\nName Server: ns2.google.com\nDNSSEC: unsigned\nURL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/\n>>> Last update of WHOIS database: 2026-07-23T08:17:26+0000 <<<\n\nFor more information on WHOIS status codes, please visit:\n https://www.icann.org/resources/pages/epp-status-codes\n\nIf you wish to contact this domain’s Registrant or Technical\ncontact, and such email address is not visible above, you may do so via our web\nform, pursuant to ICANN’s Temporary Specification. To verify that you are not a\nrobot, please enter your email address to receive a link to a page that\nfacilitates email communication with the relevant contact(s).\n\nWeb-based WHOIS:\n https://domains.markmonitor.com/whois/contact/google.com\n\nIf you have a legitimate interest in viewing the non-public WHOIS details, send\nyour request and the reasons for your request to whoisrequest@markmonitor.com\nand specify the domain name in the subject line. We will review that request and\nmay ask for supporting documentation and explanation.\n\nThe data in MarkMonitor’s WHOIS database is provided for information purposes,\nand to assist persons in obtaining information about or related to a domain\nname’s registration record. While MarkMonitor believes the data to be accurate,\nthe data is provided \"as is\" with no guarantee or warranties regarding its\naccuracy.\n\nBy submitting a WHOIS query, you agree that you will use this data only for\nlawful purposes and that, under no circumstances will you use this data to:\n (1) allow, enable, or otherwise support the transmission by email, telephone,\nor facsimile of mass, unsolicited, commercial advertising, or spam; or\n (2) enable high volume, automated, or electronic processes that send queries,\ndata, or email to MarkMonitor (or its systems) or the domain name contacts (or\nits systems).\n\nMarkMonitor reserves the right to modify these terms at any time.\n\nBy submitting this query, you agree to abide by this policy.\n\nMarkMonitor Domain Management(TM)\nProtecting companies and consumers in a digital world.\n\nVisit MarkMonitor at https://www.markmonitor.com\nContact us at +1.8007459229\nIn Europe, at +44.02032062220\n--",
|
|
103
|
+
"registry_data": {
|
|
104
|
+
"domain_name": "GOOGLE.COM",
|
|
105
|
+
"query_time": "2026-07-23 08:22:18",
|
|
106
|
+
"whois_server": "whois.verisign-grs.com",
|
|
107
|
+
"domain_registered": "yes",
|
|
108
|
+
"create_date": "1997-09-15",
|
|
109
|
+
"update_date": "2019-09-09",
|
|
110
|
+
"expiry_date": "2028-09-14",
|
|
111
|
+
"domain_registrar": {
|
|
112
|
+
"iana_id": "292",
|
|
113
|
+
"registrar_name": "MarkMonitor Inc",
|
|
114
|
+
"whois_server": "whois.markmonitor.com",
|
|
115
|
+
"website_url": "http://www.markmonitor.com"
|
|
116
|
+
},
|
|
117
|
+
"name_servers": [
|
|
118
|
+
"ns1.google.com",
|
|
119
|
+
"ns2.google.com",
|
|
120
|
+
"ns3.google.com",
|
|
121
|
+
"ns4.google.com"
|
|
122
|
+
],
|
|
123
|
+
"domain_status": [
|
|
124
|
+
"clientupdateprohibited",
|
|
125
|
+
"clientdeleteprohibited",
|
|
126
|
+
"clienttransferprohibited",
|
|
127
|
+
"serverdeleteprohibited",
|
|
128
|
+
"serverupdateprohibited",
|
|
129
|
+
"servertransferprohibited"
|
|
130
|
+
],
|
|
131
|
+
"whois_raw_registery": "\nDomain Name: GOOGLE.COM\n Registry Domain ID: 2138514_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.markmonitor.com\n Registrar URL: http://www.markmonitor.com\n Updated Date: 2019-09-09T15:39:04Z\n Creation Date: 1997-09-15T04:00:00Z\n Registry Expiry Date: 2028-09-14T04:00:00Z\n Registrar: MarkMonitor Inc.\n Registrar IANA ID: 292\n Registrar Abuse Contact Email: abusecomplaints@markmonitor.com\n Registrar Abuse Contact Phone: +1.2086851750\n Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\n Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\n Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\n Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\n Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\n Name Server: NS1.GOOGLE.COM\n Name Server: NS2.GOOGLE.COM\n Name Server: NS3.GOOGLE.COM\n Name Server: NS4.GOOGLE.COM\n DNSSEC: unsigned\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n>>> Last update of whois database: 2026-07-23T08:22:08Z <<<\n\nFor more information on Whois status codes, please visit https://icann.org/epp\n\nNOTICE: The expiration date displayed in this record is the date the\nregistrar's sponsorship of the domain name registration in the registry is\ncurrently set to expire. This date does not necessarily reflect the expiration\ndate of the domain name registrant's agreement with the sponsoring\nregistrar. Users may consult the sponsoring registrar's Whois database to\nview the registrar's reported date of expiration for this registration.\n\nTERMS OF USE: You are not authorized to access or query our Whois\ndatabase through the use of electronic processes that are high-volume and\nautomated except as reasonably necessary to register domain names or\nmodify existing registrations; the Data in VeriSign Global Registry\nServices' (\"VeriSign\") Whois database is provided by VeriSign for\ninformation purposes only, and to assist persons in obtaining information\nabout or related to a domain name registration record. VeriSign does not\nguarantee its accuracy. By submitting a Whois query, you agree to abide\nby the following terms of use: You agree that you may use this Data only\nfor lawful purposes and that under no circumstances will you use this Data\nto: (1) allow, enable, or otherwise support the transmission of mass\nunsolicited, commercial advertising or solicitations via e-mail, telephone,\nor facsimile; or (2) enable high volume, automated, electronic processes\nthat apply to VeriSign (or its computer systems). The compilation,\nrepackaging, dissemination or other use of this Data is expressly\nprohibited without the prior written consent of VeriSign. You agree not to\nuse electronic processes that are automated and high-volume to access or\nquery the Whois database except as reasonably necessary to register\ndomain names or modify existing registrations. VeriSign reserves the right\nto restrict your access to the Whois database in its sole discretion to ensure\noperational stability. VeriSign may restrict or terminate your access to the\nWhois database for failure to abide by these terms of use. VeriSign\nreserves the right to modify these terms at any time.\n\nThe Registry database contains ONLY .COM, .NET, .EDU domains and\nRegistrars."
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"unregisteredDomain": {
|
|
136
|
+
"summary": "Unregistered domain",
|
|
137
|
+
"value": {
|
|
138
|
+
"status": true,
|
|
139
|
+
"domain_name": "example.xn--tckwe",
|
|
140
|
+
"query_time": "2026-07-23 08:03:00",
|
|
141
|
+
"whois_server": "https://tld-rdap.verisign.com/xn--tckwe/v1/",
|
|
142
|
+
"domain_registered": "no"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"206": {
|
|
150
|
+
"description": "Partial Content — The response contains partial data because an error occurred while processing the request",
|
|
151
|
+
"content": {
|
|
152
|
+
"application/json": {
|
|
153
|
+
"schema": {
|
|
154
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
155
|
+
},
|
|
156
|
+
"examples": {
|
|
157
|
+
"partialContent": {
|
|
158
|
+
"summary": "Partial WHOIS data returned",
|
|
159
|
+
"value": {
|
|
160
|
+
"timestamp": "2025-08-14T09:25:32.271Z",
|
|
161
|
+
"status": 206,
|
|
162
|
+
"error": "Partial Content",
|
|
163
|
+
"message": "The response contains partial data due to an error while processing the request.",
|
|
164
|
+
"path": "/v2.0/domain/whois/live"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"400": {
|
|
172
|
+
"description": "Bad Request — Missing or invalid domainName parameter",
|
|
173
|
+
"content": {
|
|
174
|
+
"application/json": {
|
|
175
|
+
"schema": {
|
|
176
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
177
|
+
},
|
|
178
|
+
"examples": {
|
|
179
|
+
"missingDomain": {
|
|
180
|
+
"summary": "Missing domainName parameter",
|
|
181
|
+
"value": {
|
|
182
|
+
"error": "Invalid Param Exception",
|
|
183
|
+
"message": "please pass correct parameters",
|
|
184
|
+
"path": "/v2.0/domain/whois/live",
|
|
185
|
+
"status": 400,
|
|
186
|
+
"timestamp": "2026-07-23T08:04:19.197Z"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"invalidDomain": {
|
|
190
|
+
"summary": "Malformed domain name",
|
|
191
|
+
"value": {
|
|
192
|
+
"timestamp": "2026-07-23T08:04:18.733Z",
|
|
193
|
+
"status": 400,
|
|
194
|
+
"error": "Invalid Param Exception",
|
|
195
|
+
"message": "Please pass domain param correct value [For Technical Support: support@whoisfreaks.com]",
|
|
196
|
+
"path": "/v2.0/whois/live"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"403": {
|
|
204
|
+
"description": "Forbidden — Domain extension not supported for live WHOIS",
|
|
205
|
+
"content": {
|
|
206
|
+
"application/json": {
|
|
207
|
+
"schema": {
|
|
208
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
209
|
+
},
|
|
210
|
+
"examples": {
|
|
211
|
+
"domainExtensionNotSupported": {
|
|
212
|
+
"summary": "Unsupported domain extension",
|
|
213
|
+
"value": {
|
|
214
|
+
"timestamp": "2026-07-23T08:11:12.380Z",
|
|
215
|
+
"status": 403,
|
|
216
|
+
"error": "Not Supported Domain extension",
|
|
217
|
+
"message": "We are not providing the whois of this domain extension (local)",
|
|
218
|
+
"path": "/v2.0/whois/live"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"components": {
|
|
230
|
+
"securitySchemes": {
|
|
231
|
+
"ApiKeyAuthHeader": {
|
|
232
|
+
"type": "apiKey",
|
|
233
|
+
"in": "header",
|
|
234
|
+
"name": "X-apiKey",
|
|
235
|
+
"description": "Pass your API key via the X-apiKey request header."
|
|
236
|
+
},
|
|
237
|
+
"ApiKeyAuthQuery": {
|
|
238
|
+
"type": "apiKey",
|
|
239
|
+
"in": "query",
|
|
240
|
+
"name": "apiKey",
|
|
241
|
+
"description": "Pass your API key via the apiKey query parameter."
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"schemas": {
|
|
245
|
+
"ErrorResponse": {
|
|
246
|
+
"type": "object",
|
|
247
|
+
"required": ["message"],
|
|
248
|
+
"properties": {
|
|
249
|
+
"error": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "Short error category or exception type."
|
|
252
|
+
},
|
|
253
|
+
"message": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "Human-readable error message describing the failure."
|
|
256
|
+
},
|
|
257
|
+
"path": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"description": "API endpoint path that produced the error."
|
|
260
|
+
},
|
|
261
|
+
"status": {
|
|
262
|
+
"type": "integer",
|
|
263
|
+
"description": "HTTP status code returned with the error."
|
|
264
|
+
},
|
|
265
|
+
"timestamp": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"format": "date-time",
|
|
268
|
+
"description": "Timestamp when the error occurred (ISO 8601)."
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"DomainWhoisLookupResponse": {
|
|
273
|
+
"type": "object",
|
|
274
|
+
"description": "Current WHOIS registration record for the requested domain.",
|
|
275
|
+
"required": [
|
|
276
|
+
"status",
|
|
277
|
+
"domain_name",
|
|
278
|
+
"query_time",
|
|
279
|
+
"whois_server",
|
|
280
|
+
"domain_registered"
|
|
281
|
+
],
|
|
282
|
+
"properties": {
|
|
283
|
+
"status": {
|
|
284
|
+
"type": "boolean",
|
|
285
|
+
"description": "true if the request was successfully processed."
|
|
286
|
+
},
|
|
287
|
+
"domain_name": {
|
|
288
|
+
"type": "string",
|
|
289
|
+
"description": "Domain name that was queried."
|
|
290
|
+
},
|
|
291
|
+
"query_time": {
|
|
292
|
+
"type": "string",
|
|
293
|
+
"description": "Timestamp when the WHOIS query was executed."
|
|
294
|
+
},
|
|
295
|
+
"whois_server": {
|
|
296
|
+
"type": "string",
|
|
297
|
+
"description": "WHOIS or RDAP server that provided this record."
|
|
298
|
+
},
|
|
299
|
+
"domain_registered": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"enum": ["yes", "no", "restricted"],
|
|
302
|
+
"description": "Domain registration status; 'restricted' means the registry withholds registration details."
|
|
303
|
+
},
|
|
304
|
+
"create_date": {
|
|
305
|
+
"type": "string",
|
|
306
|
+
"format": "date",
|
|
307
|
+
"description": "Date the domain was originally registered, when the domain is registered."
|
|
308
|
+
},
|
|
309
|
+
"update_date": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"format": "date",
|
|
312
|
+
"description": "Date the domain registration was last updated, when the domain is registered."
|
|
313
|
+
},
|
|
314
|
+
"expiry_date": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"format": "date",
|
|
317
|
+
"description": "Date the domain registration is set to expire, when the domain is registered."
|
|
318
|
+
},
|
|
319
|
+
"domain_registrar": {
|
|
320
|
+
"$ref": "#/components/schemas/DomainRegistrar",
|
|
321
|
+
"description": "Registrar of record for the domain."
|
|
322
|
+
},
|
|
323
|
+
"reseller_contact": {
|
|
324
|
+
"$ref": "#/components/schemas/WhoisContactDetail",
|
|
325
|
+
"description": "Reseller contact details, when the domain was registered through a reseller."
|
|
326
|
+
},
|
|
327
|
+
"registrant_contact": {
|
|
328
|
+
"$ref": "#/components/schemas/WhoisContactDetail",
|
|
329
|
+
"description": "Domain registrant (owner) contact details."
|
|
330
|
+
},
|
|
331
|
+
"administrative_contact": {
|
|
332
|
+
"$ref": "#/components/schemas/WhoisContactDetail",
|
|
333
|
+
"description": "Administrative contact details."
|
|
334
|
+
},
|
|
335
|
+
"technical_contact": {
|
|
336
|
+
"$ref": "#/components/schemas/WhoisContactDetail",
|
|
337
|
+
"description": "Technical contact details."
|
|
338
|
+
},
|
|
339
|
+
"billing_contact": {
|
|
340
|
+
"$ref": "#/components/schemas/WhoisContactDetail",
|
|
341
|
+
"description": "Billing contact details."
|
|
342
|
+
},
|
|
343
|
+
"name_servers": {
|
|
344
|
+
"type": "array",
|
|
345
|
+
"description": "Name servers currently recorded for the domain.",
|
|
346
|
+
"items": {
|
|
347
|
+
"type": "string"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"domain_status": {
|
|
351
|
+
"type": "array",
|
|
352
|
+
"description": "EPP domain status codes currently recorded for the domain.",
|
|
353
|
+
"items": {
|
|
354
|
+
"type": "string"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"whois_raw_domain": {
|
|
358
|
+
"type": "string",
|
|
359
|
+
"description": "Raw WHOIS text as returned by the registrar's WHOIS server."
|
|
360
|
+
},
|
|
361
|
+
"registry_data": {
|
|
362
|
+
"$ref": "#/components/schemas/DomainWhoisRegistryData"
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"DomainRegistrar": {
|
|
367
|
+
"type": "object",
|
|
368
|
+
"description": "Registrar of record for a domain, as published by either the registrar or the registry.",
|
|
369
|
+
"properties": {
|
|
370
|
+
"iana_id": {
|
|
371
|
+
"type": "string",
|
|
372
|
+
"description": "IANA registrar ID."
|
|
373
|
+
},
|
|
374
|
+
"status": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"description": "Registrar's ICANN accreditation status (e.g. accredited), when published at the registrar level."
|
|
377
|
+
},
|
|
378
|
+
"registrar_name": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"description": "Registered name of the registrar."
|
|
381
|
+
},
|
|
382
|
+
"normalized_name": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"description": "Lowercased, normalized form of the registrar name, when published at the registrar level."
|
|
385
|
+
},
|
|
386
|
+
"whois_server": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"description": "WHOIS server operated by the registrar."
|
|
389
|
+
},
|
|
390
|
+
"rdap_server": {
|
|
391
|
+
"type": "string",
|
|
392
|
+
"description": "RDAP server URL operated by the registrar, when published at the registrar level."
|
|
393
|
+
},
|
|
394
|
+
"website_url": {
|
|
395
|
+
"type": "string",
|
|
396
|
+
"description": "Registrar's website URL."
|
|
397
|
+
},
|
|
398
|
+
"email_address": {
|
|
399
|
+
"type": "string",
|
|
400
|
+
"description": "Registrar abuse or contact email address."
|
|
401
|
+
},
|
|
402
|
+
"phone_number": {
|
|
403
|
+
"type": "string",
|
|
404
|
+
"description": "Registrar contact phone number."
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"WhoisContactDetail": {
|
|
409
|
+
"type": "object",
|
|
410
|
+
"description": "A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.",
|
|
411
|
+
"properties": {
|
|
412
|
+
"name": {
|
|
413
|
+
"type": "string",
|
|
414
|
+
"description": "Contact's full name."
|
|
415
|
+
},
|
|
416
|
+
"company": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"description": "Contact's organization or company name."
|
|
419
|
+
},
|
|
420
|
+
"street": {
|
|
421
|
+
"type": "string",
|
|
422
|
+
"description": "Street address."
|
|
423
|
+
},
|
|
424
|
+
"city": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"description": "City."
|
|
427
|
+
},
|
|
428
|
+
"state": {
|
|
429
|
+
"type": "string",
|
|
430
|
+
"description": "State or province."
|
|
431
|
+
},
|
|
432
|
+
"zip_code": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "Postal/ZIP code."
|
|
435
|
+
},
|
|
436
|
+
"country_name": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"description": "Full country name."
|
|
439
|
+
},
|
|
440
|
+
"country_code": {
|
|
441
|
+
"type": "string",
|
|
442
|
+
"description": "ISO 3166-1 alpha-2 country code."
|
|
443
|
+
},
|
|
444
|
+
"email_address": {
|
|
445
|
+
"type": "string",
|
|
446
|
+
"description": "Contact email address, or a privacy-service redirect instruction."
|
|
447
|
+
},
|
|
448
|
+
"phone": {
|
|
449
|
+
"type": "string",
|
|
450
|
+
"description": "Contact phone number."
|
|
451
|
+
},
|
|
452
|
+
"fax": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"description": "Contact fax number."
|
|
455
|
+
},
|
|
456
|
+
"mailing_address": {
|
|
457
|
+
"type": "string",
|
|
458
|
+
"description": "Full combined mailing address, when published as a single string."
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
"DomainWhoisRegistryData": {
|
|
463
|
+
"type": "object",
|
|
464
|
+
"description": "Registry-level (as opposed to registrar-level) WHOIS data, sourced directly from the TLD registry.",
|
|
465
|
+
"properties": {
|
|
466
|
+
"domain_name": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"description": "Domain name as recorded by the registry."
|
|
469
|
+
},
|
|
470
|
+
"query_time": {
|
|
471
|
+
"type": "string",
|
|
472
|
+
"format": "date-time",
|
|
473
|
+
"description": "Timestamp when the registry-level record was queried."
|
|
474
|
+
},
|
|
475
|
+
"whois_server": {
|
|
476
|
+
"type": "string",
|
|
477
|
+
"description": "Registry WHOIS server that returned this data."
|
|
478
|
+
},
|
|
479
|
+
"domain_registered": {
|
|
480
|
+
"type": "string",
|
|
481
|
+
"enum": ["yes", "no", "restricted"],
|
|
482
|
+
"description": "Domain registration status as recorded by the registry."
|
|
483
|
+
},
|
|
484
|
+
"create_date": {
|
|
485
|
+
"type": "string",
|
|
486
|
+
"format": "date",
|
|
487
|
+
"description": "Domain creation date as recorded by the registry."
|
|
488
|
+
},
|
|
489
|
+
"update_date": {
|
|
490
|
+
"type": "string",
|
|
491
|
+
"format": "date",
|
|
492
|
+
"description": "Domain last-updated date as recorded by the registry."
|
|
493
|
+
},
|
|
494
|
+
"expiry_date": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"format": "date",
|
|
497
|
+
"description": "Domain expiry date as recorded by the registry."
|
|
498
|
+
},
|
|
499
|
+
"name_servers": {
|
|
500
|
+
"type": "array",
|
|
501
|
+
"description": "Name servers as recorded by the registry.",
|
|
502
|
+
"items": {
|
|
503
|
+
"type": "string"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"domain_status": {
|
|
507
|
+
"type": "array",
|
|
508
|
+
"description": "EPP domain status codes as recorded by the registry.",
|
|
509
|
+
"items": {
|
|
510
|
+
"type": "string"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"whois_raw_registery": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"description": "Raw WHOIS text as returned directly by the registry server."
|
|
516
|
+
},
|
|
517
|
+
"domain_registrar": {
|
|
518
|
+
"$ref": "#/components/schemas/DomainRegistrar",
|
|
519
|
+
"description": "Registrar of record as recorded directly by the registry."
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"security": [
|
|
526
|
+
{
|
|
527
|
+
"ApiKeyAuthHeader": []
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"ApiKeyAuthQuery": []
|
|
531
|
+
}
|
|
532
|
+
]
|
|
533
|
+
}
|