@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.
Files changed (109) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +156 -0
  3. package/dist/index.cjs +44663 -0
  4. package/dist/index.d.cts +30 -0
  5. package/dist/index.d.ts +30 -0
  6. package/dist/index.js +44631 -0
  7. package/package.json +81 -0
  8. package/specs/commodity/commodity-fluctuation.json +301 -0
  9. package/specs/commodity/commodity-prices.json +317 -0
  10. package/specs/commodity/commodity-symbols.json +215 -0
  11. package/specs/commodity/commodity-time-series.json +329 -0
  12. package/specs/commodity/historical-commodity-prices.json +273 -0
  13. package/specs/currency/currency-converter.json +261 -0
  14. package/specs/currency/currency-fluctuation.json +282 -0
  15. package/specs/currency/currency-historical-data-limit.json +158 -0
  16. package/specs/currency/currency-rate.json +229 -0
  17. package/specs/currency/currency-supported.json +234 -0
  18. package/specs/currency/currency-symbols.json +161 -0
  19. package/specs/currency/currency-time-series.json +325 -0
  20. package/specs/currency/geolocalized-currency-conversion.json +287 -0
  21. package/specs/currency/historical-currency-converter.json +269 -0
  22. package/specs/currency/historical-currency-rate.json +246 -0
  23. package/specs/dns/bulk-dns-lookup.json +624 -0
  24. package/specs/dns/dns-history-lookup.json +579 -0
  25. package/specs/dns/dns-lookup.json +466 -0
  26. package/specs/dns/reverse-dns-lookup.json +414 -0
  27. package/specs/domain/bulk-domain-checker.json +284 -0
  28. package/specs/domain/domain-search-with-suggestions.json +280 -0
  29. package/specs/domain/domain-search.json +206 -0
  30. package/specs/domain/subdomain-lookup.json +343 -0
  31. package/specs/email-validation/bulk-email-validation.json +534 -0
  32. package/specs/email-validation/email-checker.json +586 -0
  33. package/specs/financial/bulk-vat-rates-country.json +341 -0
  34. package/specs/financial/financial-apis-supported-countries.json +204 -0
  35. package/specs/financial/iban-validation.json +328 -0
  36. package/specs/financial/swift-code-finder.json +192 -0
  37. package/specs/financial/swift-code-lookup.json +220 -0
  38. package/specs/financial/vat-number-validation.json +283 -0
  39. package/specs/financial/vat-rates-by-ip.json +275 -0
  40. package/specs/financial/vat-rates-country.json +288 -0
  41. package/specs/general/usage-credits.json +218 -0
  42. package/specs/geocoding/forward-geocoding.json +402 -0
  43. package/specs/geocoding/reverse-geocoding.json +326 -0
  44. package/specs/geodb/administrative-units-details.json +250 -0
  45. package/specs/geodb/administrative-units-levels.json +198 -0
  46. package/specs/geodb/administrative-units.json +237 -0
  47. package/specs/geodb/cities.json +288 -0
  48. package/specs/geodb/countries-details.json +274 -0
  49. package/specs/geodb/countries.json +276 -0
  50. package/specs/geodb/flags-supported.json +166 -0
  51. package/specs/geodb/flags.json +227 -0
  52. package/specs/geodb/regions.json +109 -0
  53. package/specs/geodb/subregions.json +217 -0
  54. package/specs/ip-intelligence/bulk-ip-lookup.json +1162 -0
  55. package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +417 -0
  56. package/specs/ip-intelligence/ip-locator.json +941 -0
  57. package/specs/ip-intelligence/ip-threat-intelligence.json +316 -0
  58. package/specs/other/astronomy-data.json +803 -0
  59. package/specs/pdf/delete-pdf-page.json +286 -0
  60. package/specs/pdf/linearize-pdf.json +277 -0
  61. package/specs/pdf/merge-pdf.json +285 -0
  62. package/specs/pdf/pdf-compress.json +304 -0
  63. package/specs/pdf/pdf-decrypt.json +297 -0
  64. package/specs/pdf/pdf-encrypt.json +314 -0
  65. package/specs/pdf/pdf-extract-pages.json +295 -0
  66. package/specs/pdf/pdf-file-status.json +208 -0
  67. package/specs/pdf/pdf-file.json +190 -0
  68. package/specs/pdf/pdf-files.json +126 -0
  69. package/specs/pdf/pdf-resource-download.json +168 -0
  70. package/specs/pdf/pdf-resource-upload-binary.json +218 -0
  71. package/specs/pdf/pdf-resource-upload.json +248 -0
  72. package/specs/pdf/pdf-restrict.json +343 -0
  73. package/specs/pdf/pdf-split-pages.json +281 -0
  74. package/specs/pdf/pdf-task-status.json +252 -0
  75. package/specs/pdf/pdf-to-image.json +1219 -0
  76. package/specs/pdf/pdf-unrestrict.json +324 -0
  77. package/specs/pdf/rotate-pdf-pages.json +305 -0
  78. package/specs/phone-validation/bulk-phone-number-validation.json +518 -0
  79. package/specs/phone-validation/phone-number-validation.json +456 -0
  80. package/specs/scraper/web-scraper.json +674 -0
  81. package/specs/screenshot/bulk-screenshot.json +949 -0
  82. package/specs/screenshot/website-screenshot.json +1147 -0
  83. package/specs/ssl/ssl-certificate-chain-lookup.json +756 -0
  84. package/specs/ssl/ssl-certificate-lookup.json +634 -0
  85. package/specs/timezone/timezone-converter.json +362 -0
  86. package/specs/timezone/timezone-lookup.json +910 -0
  87. package/specs/user-agent/bulk-user-agent-parser.json +441 -0
  88. package/specs/user-agent/user-agent-parser.json +346 -0
  89. package/specs/weather/air-quality.json +779 -0
  90. package/specs/weather/bulk-live-weather.json +834 -0
  91. package/specs/weather/flood-forecast.json +693 -0
  92. package/specs/weather/historical-weather.json +1019 -0
  93. package/specs/weather/live-weather.json +789 -0
  94. package/specs/weather/marine-weather.json +940 -0
  95. package/specs/weather/time-series-weather.json +1056 -0
  96. package/specs/weather/weather-forecast.json +1202 -0
  97. package/specs/whois/asn-lookup.json +729 -0
  98. package/specs/whois/bulk-whois-lookup.json +698 -0
  99. package/specs/whois/domain-whois-history-lookup.json +500 -0
  100. package/specs/whois/reverse-whois.json +625 -0
  101. package/specs/whois/whois-domain-lookup.json +533 -0
  102. package/specs/whois/whois-ip-lookup.json +1110 -0
  103. package/specs/zip-code/bulk-zip-code-lookup.json +318 -0
  104. package/specs/zip-code/zip-code-api.json +299 -0
  105. package/specs/zip-code/zip-code-distance-match.json +311 -0
  106. package/specs/zip-code/zip-code-distance.json +307 -0
  107. package/specs/zip-code/zip-codes-by-city.json +279 -0
  108. package/specs/zip-code/zip-codes-by-region.json +278 -0
  109. package/specs/zip-code/zip-codes-radius-search.json +349 -0
@@ -0,0 +1,500 @@
1
+ {
2
+ "openapi": "3.1.1",
3
+ "info": {
4
+ "title": "WHOIS History API: Historical WHOIS Records Since 1986",
5
+ "version": "1.0.0",
6
+ "description": "Retrieve the full chronological history of WHOIS registration records for a domain name, going back to 1986 where available. Each record in the returned array is a snapshot capturing the registrar, registrant/admin/technical/billing contacts, name servers, domain status codes, and both the original and registry-level raw WHOIS text as they existed at that point in time. Pass `domainName` as a bare domain (e.g. `example.com`); a `https://` or `http://` prefix is also accepted. Early historical snapshots may include only a subset of fields (e.g. dates without registrar or name server data) since registries did not always publish complete records; a domain with no historical WHOIS data returns a `404` 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/v1.0",
16
+ "description": "WHOIS History API Server"
17
+ }
18
+ ],
19
+ "paths": {
20
+ "/domain/whois/history": {
21
+ "get": {
22
+ "tags": ["WHOIS APIs"],
23
+ "summary": "Retrieve the complete historical WHOIS record timeline for a domain name",
24
+ "description": "Returns every recorded WHOIS snapshot for the specified domain in chronological order, including registrar, contact, name server, and status changes over time.",
25
+ "operationId": "whoisHistoryLookup",
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 historical WHOIS records for (e.g. example.com).",
43
+ "schema": {
44
+ "type": "string"
45
+ }
46
+ }
47
+ ],
48
+ "responses": {
49
+ "200": {
50
+ "description": "Successful historical WHOIS response",
51
+ "content": {
52
+ "application/json": {
53
+ "schema": {
54
+ "$ref": "#/components/schemas/DomainWhoisHistoryLookupResponse"
55
+ },
56
+ "examples": {
57
+ "typicalSuccess": {
58
+ "summary": "Typical successful response",
59
+ "value": {
60
+ "status": true,
61
+ "whois": "historical",
62
+ "total_records": "18",
63
+ "whois_domains_historical": [
64
+ {
65
+ "num": 1,
66
+ "status": true,
67
+ "domain_name": "example.com",
68
+ "query_time": "2022-04-28 12:56:13",
69
+ "create_date": "1992-01-01",
70
+ "update_date": "2021-08-14",
71
+ "expiry_date": "2022-08-13"
72
+ },
73
+ {
74
+ "num": 18,
75
+ "status": true,
76
+ "domain_name": "example.com",
77
+ "query_time": "2026-07-23 07:47:26",
78
+ "whois_server": "whois.verisign-grs.com",
79
+ "domain_registered": "yes",
80
+ "create_date": "1992-01-01",
81
+ "update_date": "2026-01-16",
82
+ "expiry_date": "2026-08-13",
83
+ "name_servers": [
84
+ "elliott.ns.cloudflare.com",
85
+ "hera.ns.cloudflare.com"
86
+ ],
87
+ "whois_raw_domain": "\n% IANA WHOIS server\n% for more information on IANA, visit http://www.iana.org\n% This query returned 1 object\n\ndomain: EXAMPLE.COM\n\norganisation: Internet Assigned Numbers Authority\n\ncreated: 1992-01-01\nsource: IANA",
88
+ "registry_data": {
89
+ "domain_name": "EXAMPLE.COM",
90
+ "query_time": "2026-07-23 07:47:25",
91
+ "whois_server": "whois.verisign-grs.com",
92
+ "domain_registered": "yes",
93
+ "create_date": "1995-08-14",
94
+ "update_date": "2026-01-16",
95
+ "expiry_date": "2026-08-13",
96
+ "domain_registrar": {
97
+ "iana_id": "376",
98
+ "registrar_name": "RESERVED-Internet Assigned Numbers Authority",
99
+ "whois_server": "whois.iana.org",
100
+ "website_url": "http://res-dom.iana.org"
101
+ },
102
+ "name_servers": [
103
+ "elliott.ns.cloudflare.com",
104
+ "hera.ns.cloudflare.com"
105
+ ],
106
+ "domain_status": [
107
+ "clientupdateprohibited",
108
+ "clientdeleteprohibited",
109
+ "clienttransferprohibited"
110
+ ],
111
+ "whois_raw_registery": "\nDomain Name: EXAMPLE.COM\n Registry Domain ID: 2336799_DOMAIN_COM-VRSN\n Registrar WHOIS Server: whois.iana.org\n Registrar URL: http://res-dom.iana.org\n Updated Date: 2026-01-16T18:26:50Z\n Creation Date: 1995-08-14T04:00:00Z\n Registry Expiry Date: 2026-08-13T04:00:00Z\n Registrar: RESERVED-Internet Assigned Numbers Authority\n Registrar IANA ID: 376\n Registrar Abuse Contact Email:\n Registrar Abuse Contact Phone:\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 Name Server: ELLIOTT.NS.CLOUDFLARE.COM\n Name Server: HERA.NS.CLOUDFLARE.COM\n DNSSEC: signedDelegation\n DNSSEC DS Data: 2371 13 2 C988EC423E3880EB8DD8A46FE06CA230EE23F35B578D64E78B29C3E1C83D245A\n URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n>>> Last update of whois database: 2026-07-23T08:16:23Z <<<\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."
112
+ }
113
+ }
114
+ ]
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "400": {
122
+ "description": "Bad Request — Invalid domainName parameter",
123
+ "content": {
124
+ "application/json": {
125
+ "schema": {
126
+ "$ref": "#/components/schemas/ErrorResponse"
127
+ },
128
+ "examples": {
129
+ "invalidDomain": {
130
+ "summary": "Malformed domain name",
131
+ "value": {
132
+ "timestamp": "2026-07-23T07:47:39.105Z",
133
+ "status": 400,
134
+ "error": "Invalid Param Exception",
135
+ "message": "Please pass domain param correct value [For Technical Support: support@whoisfreaks.com]",
136
+ "path": "/v1.0/whois"
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
142
+ },
143
+ "404": {
144
+ "description": "Not Found — No historical WHOIS records for the domain",
145
+ "content": {
146
+ "application/json": {
147
+ "schema": {
148
+ "$ref": "#/components/schemas/ErrorResponse"
149
+ },
150
+ "examples": {
151
+ "recordNotFound": {
152
+ "summary": "No historical records available",
153
+ "value": {
154
+ "timestamp": "2026-07-23T07:47:40.893Z",
155
+ "status": 404,
156
+ "error": "Record Not Found",
157
+ "message": "Record not found",
158
+ "path": "/v1.0/whois"
159
+ }
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ },
169
+ "components": {
170
+ "securitySchemes": {
171
+ "ApiKeyAuthHeader": {
172
+ "type": "apiKey",
173
+ "in": "header",
174
+ "name": "X-apiKey",
175
+ "description": "Pass your API key via the X-apiKey request header."
176
+ },
177
+ "ApiKeyAuthQuery": {
178
+ "type": "apiKey",
179
+ "in": "query",
180
+ "name": "apiKey",
181
+ "description": "Pass your API key via the apiKey query parameter."
182
+ }
183
+ },
184
+ "schemas": {
185
+ "ErrorResponse": {
186
+ "type": "object",
187
+ "required": ["message"],
188
+ "properties": {
189
+ "error": {
190
+ "type": "string",
191
+ "description": "Short error category or exception type."
192
+ },
193
+ "message": {
194
+ "type": "string",
195
+ "description": "Human-readable error message describing the failure."
196
+ },
197
+ "path": {
198
+ "type": "string",
199
+ "description": "API endpoint path that produced the error."
200
+ },
201
+ "status": {
202
+ "type": "integer",
203
+ "description": "HTTP status code returned with the error."
204
+ },
205
+ "timestamp": {
206
+ "type": "string",
207
+ "format": "date-time",
208
+ "description": "Timestamp when the error occurred (ISO 8601)."
209
+ }
210
+ }
211
+ },
212
+ "DomainWhoisHistoryLookupResponse": {
213
+ "type": "object",
214
+ "description": "Chronological collection of historical WHOIS snapshots for the requested domain.",
215
+ "required": [
216
+ "status",
217
+ "whois",
218
+ "total_records",
219
+ "whois_domains_historical"
220
+ ],
221
+ "properties": {
222
+ "status": {
223
+ "type": "boolean",
224
+ "description": "true if the request was successfully processed."
225
+ },
226
+ "whois": {
227
+ "type": "string",
228
+ "enum": ["historical"],
229
+ "description": "Indicates that this response contains historical WHOIS data."
230
+ },
231
+ "total_records": {
232
+ "type": "string",
233
+ "description": "Total number of historical records found for the queried domain."
234
+ },
235
+ "whois_domains_historical": {
236
+ "type": "array",
237
+ "description": "Historical WHOIS snapshots for the domain, in chronological order.",
238
+ "items": {
239
+ "$ref": "#/components/schemas/DomainWhoisHistoryRecord"
240
+ }
241
+ }
242
+ }
243
+ },
244
+ "DomainWhoisHistoryRecord": {
245
+ "type": "object",
246
+ "description": "A single historical WHOIS snapshot captured at a point in time. Early snapshots may omit fields the registry did not publish at that time.",
247
+ "required": [
248
+ "num",
249
+ "status",
250
+ "domain_name",
251
+ "query_time",
252
+ "create_date",
253
+ "update_date",
254
+ "expiry_date"
255
+ ],
256
+ "properties": {
257
+ "num": {
258
+ "type": "integer",
259
+ "description": "1-based sequence number of this record within the historical timeline."
260
+ },
261
+ "status": {
262
+ "type": "boolean",
263
+ "enum": [true],
264
+ "description": "Always true for a returned historical record."
265
+ },
266
+ "domain_name": {
267
+ "type": "string",
268
+ "description": "Domain name this snapshot was recorded for."
269
+ },
270
+ "query_time": {
271
+ "type": "string",
272
+ "description": "Timestamp when this historical snapshot was captured."
273
+ },
274
+ "whois_server": {
275
+ "type": "string",
276
+ "description": "WHOIS server that provided this snapshot's domain-level data, when recorded."
277
+ },
278
+ "domain_registered": {
279
+ "type": "string",
280
+ "enum": ["yes", "no", "restricted"],
281
+ "description": "Domain registration status at the time of this snapshot, when recorded."
282
+ },
283
+ "create_date": {
284
+ "type": "string",
285
+ "format": "date",
286
+ "description": "Date the domain was originally registered, as known at the time of this snapshot."
287
+ },
288
+ "update_date": {
289
+ "type": "string",
290
+ "format": "date",
291
+ "description": "Date the domain registration was last updated, as of this snapshot."
292
+ },
293
+ "expiry_date": {
294
+ "type": "string",
295
+ "format": "date",
296
+ "description": "Date the domain registration was set to expire, as of this snapshot."
297
+ },
298
+ "domain_registrar": {
299
+ "$ref": "#/components/schemas/DomainRegistrar",
300
+ "description": "Registrar of record for the domain as of this snapshot."
301
+ },
302
+ "reseller_contact": {
303
+ "$ref": "#/components/schemas/WhoisContactDetail",
304
+ "description": "Reseller contact details, when the domain was registered through a reseller, as published in this snapshot."
305
+ },
306
+ "registrant_contact": {
307
+ "$ref": "#/components/schemas/WhoisContactDetail",
308
+ "description": "Domain registrant (owner) contact details as published in this snapshot."
309
+ },
310
+ "administrative_contact": {
311
+ "$ref": "#/components/schemas/WhoisContactDetail",
312
+ "description": "Administrative contact details as published in this snapshot."
313
+ },
314
+ "technical_contact": {
315
+ "$ref": "#/components/schemas/WhoisContactDetail",
316
+ "description": "Technical contact details as published in this snapshot."
317
+ },
318
+ "billing_contact": {
319
+ "$ref": "#/components/schemas/WhoisContactDetail",
320
+ "description": "Billing contact details as published in this snapshot."
321
+ },
322
+ "name_servers": {
323
+ "type": "array",
324
+ "description": "Name servers recorded for the domain as of this snapshot.",
325
+ "items": {
326
+ "type": "string"
327
+ }
328
+ },
329
+ "domain_status": {
330
+ "type": "array",
331
+ "description": "EPP domain status codes recorded as of this snapshot.",
332
+ "items": {
333
+ "type": "string"
334
+ }
335
+ },
336
+ "whois_raw_domain": {
337
+ "type": "string",
338
+ "description": "Raw WHOIS text for the domain as of this snapshot."
339
+ },
340
+ "registry_data": {
341
+ "$ref": "#/components/schemas/DomainWhoisHistoryRegistryData"
342
+ }
343
+ }
344
+ },
345
+ "DomainRegistrar": {
346
+ "type": "object",
347
+ "description": "Registrar of record at the time of the snapshot.",
348
+ "properties": {
349
+ "iana_id": {
350
+ "type": "string",
351
+ "description": "IANA registrar ID."
352
+ },
353
+ "registrar_name": {
354
+ "type": "string",
355
+ "description": "Registered name of the registrar."
356
+ },
357
+ "whois_server": {
358
+ "type": "string",
359
+ "description": "WHOIS server operated by the registrar."
360
+ },
361
+ "website_url": {
362
+ "type": "string",
363
+ "description": "Registrar's website URL."
364
+ },
365
+ "email_address": {
366
+ "type": "string",
367
+ "description": "Registrar abuse or contact email address."
368
+ },
369
+ "phone_number": {
370
+ "type": "string",
371
+ "description": "Registrar contact phone number."
372
+ }
373
+ }
374
+ },
375
+ "WhoisContactDetail": {
376
+ "type": "object",
377
+ "description": "A contact record (registrant, administrative, technical, billing, or reseller) as published in this snapshot.",
378
+ "properties": {
379
+ "name": {
380
+ "type": "string",
381
+ "description": "Contact's full name."
382
+ },
383
+ "company": {
384
+ "type": "string",
385
+ "description": "Contact's organization or company name."
386
+ },
387
+ "street": {
388
+ "type": "string",
389
+ "description": "Street address."
390
+ },
391
+ "city": {
392
+ "type": "string",
393
+ "description": "City."
394
+ },
395
+ "state": {
396
+ "type": "string",
397
+ "description": "State or province."
398
+ },
399
+ "zip_code": {
400
+ "type": "string",
401
+ "description": "Postal/ZIP code."
402
+ },
403
+ "country_name": {
404
+ "type": "string",
405
+ "description": "Full country name."
406
+ },
407
+ "country_code": {
408
+ "type": "string",
409
+ "description": "ISO 3166-1 alpha-2 country code."
410
+ },
411
+ "email_address": {
412
+ "type": "string",
413
+ "description": "Contact email address, or a privacy-service redirect instruction."
414
+ },
415
+ "phone": {
416
+ "type": "string",
417
+ "description": "Contact phone number."
418
+ },
419
+ "fax": {
420
+ "type": "string",
421
+ "description": "Contact fax number."
422
+ },
423
+ "mailing_address": {
424
+ "type": "string",
425
+ "description": "Full combined mailing address, when published as a single string."
426
+ }
427
+ }
428
+ },
429
+ "DomainWhoisHistoryRegistryData": {
430
+ "type": "object",
431
+ "description": "Registry-level (as opposed to registrar-level) WHOIS data for this snapshot, sourced directly from the TLD registry.",
432
+ "properties": {
433
+ "domain_name": {
434
+ "type": "string",
435
+ "description": "Domain name as recorded by the registry."
436
+ },
437
+ "query_time": {
438
+ "type": "string",
439
+ "format": "date-time",
440
+ "description": "Timestamp when the registry-level record was queried."
441
+ },
442
+ "whois_server": {
443
+ "type": "string",
444
+ "description": "Registry WHOIS server that returned this data."
445
+ },
446
+ "domain_registered": {
447
+ "type": "string",
448
+ "enum": ["yes", "no", "restricted"],
449
+ "description": "Domain registration status as recorded by the registry."
450
+ },
451
+ "create_date": {
452
+ "type": "string",
453
+ "format": "date",
454
+ "description": "Domain creation date as recorded by the registry."
455
+ },
456
+ "update_date": {
457
+ "type": "string",
458
+ "format": "date",
459
+ "description": "Domain last-updated date as recorded by the registry."
460
+ },
461
+ "expiry_date": {
462
+ "type": "string",
463
+ "format": "date",
464
+ "description": "Domain expiry date as recorded by the registry."
465
+ },
466
+ "name_servers": {
467
+ "type": "array",
468
+ "description": "Name servers as recorded by the registry.",
469
+ "items": {
470
+ "type": "string"
471
+ }
472
+ },
473
+ "domain_status": {
474
+ "type": "array",
475
+ "description": "EPP domain status codes as recorded by the registry.",
476
+ "items": {
477
+ "type": "string"
478
+ }
479
+ },
480
+ "whois_raw_registery": {
481
+ "type": "string",
482
+ "description": "Raw WHOIS text as returned directly by the registry server."
483
+ },
484
+ "domain_registrar": {
485
+ "$ref": "#/components/schemas/DomainRegistrar",
486
+ "description": "Registrar of record as recorded directly by the registry."
487
+ }
488
+ }
489
+ }
490
+ }
491
+ },
492
+ "security": [
493
+ {
494
+ "ApiKeyAuthHeader": []
495
+ },
496
+ {
497
+ "ApiKeyAuthQuery": []
498
+ }
499
+ ]
500
+ }