@apifreaks/openapi-specs 0.4.23 → 0.4.24

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.
@@ -164,6 +164,17 @@
164
164
  }
165
165
  }
166
166
  }
167
+ },
168
+ "application/xml": {
169
+ "schema": {
170
+ "$ref": "#/components/schemas/BulkWhoisLookupResponse"
171
+ },
172
+ "examples": {
173
+ "typicalSuccessXml": {
174
+ "summary": "Typical successful response, as XML (format=xml)",
175
+ "value": "<BulkWhoisResponse>\n <bulk_whois_response>\n <domainInfo>\n <status>true</status>\n <domain_name>example.com</domain_name>\n <query_time>2026-11-25 07:13:13</query_time>\n <domain_registered>yes</domain_registered>\n <create_date>1992-01-01</create_date>\n <update_date>2026-08-14</update_date>\n <expiry_date>2027-08-13</expiry_date>\n <name_servers>\n <nameServer>elliott.ns.cloudflare.com</nameServer>\n <nameServer>hera.ns.cloudflare.com</nameServer>\n </name_servers>\n <whois_raw_domain>% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query ...</whois_raw_domain>\n <registry_data>\n <domain_name>EXAMPLE.COM</domain_name>\n <query_time>2026-11-25 07:13:12</query_time>\n <whois_server />\n <domain_registered>yes</domain_registered>\n <create_date>1995-08-14</create_date>\n <update_date>2026-08-14</update_date>\n <expiry_date>2027-08-13</expiry_date>\n <domain_registrar>\n <iana_id>376</iana_id>\n <status>reserved</status>\n <registrar_name>RESERVED-Internet Assigned Numbers Authority</registrar_name>\n <normalized_name>reserved-internet assigned numbers authority</normalized_name>\n <website_url>http://res-dom.iana.org</website_url>\n </domain_registrar>\n <name_servers>\n <nameServer>elliott.ns.cloudflare.com</nameServer>\n <nameServer>hera.ns.cloudflare.com</nameServer>\n </name_servers>\n <domain_status>\n <domainStatus>clientupdateprohibited</domainStatus>\n <domainStatus>clientdeleteprohibited</domainStatus>\n <domainStatus>clienttransferprohibited</domainStatus>\n </domain_status>\n <whois_raw_registery>Domain Name: EXAMPLE.COM Registry Domain ID: 2336799_DOMAIN_COM-VRSN Registrar WHOIS ...</whois_raw_registery>\n </registry_data>\n </domainInfo>\n </bulk_whois_response>\n</BulkWhoisResponse>"
176
+ }
177
+ }
167
178
  }
168
179
  },
169
180
  "headers": {
@@ -246,9 +257,7 @@
246
257
  "dns7.cloudns.net",
247
258
  "dns8.cloudns.net"
248
259
  ],
249
- "domain_status": [
250
- "clientTransferProhibited"
251
- ]
260
+ "domain_status": ["clientTransferProhibited"]
252
261
  },
253
262
  {
254
263
  "status": true,
@@ -372,6 +381,17 @@
372
381
  }
373
382
  }
374
383
  }
384
+ },
385
+ "application/xml": {
386
+ "schema": {
387
+ "$ref": "#/components/schemas/BulkWhoisLookupResponse"
388
+ },
389
+ "examples": {
390
+ "partialFailureXml": {
391
+ "summary": "One name failed, as XML (format=xml)",
392
+ "value": "<BulkWhoisResponse>\n <bulk_whois_response>\n <domainInfo>\n <status>false</status>\n <domain_name>example.zzzz</domain_name>\n <status_code>403</status_code>\n <error>NotSupportedDomainExtException</error>\n <message>We are not providing the whois of this domain extension (zzzz)</message>\n </domainInfo>\n <domainInfo>\n <status>true</status>\n <domain_name>example.com</domain_name>\n <query_time>2026-11-25 07:20:14</query_time>\n <domain_registered>yes</domain_registered>\n <create_date>1992-01-01</create_date>\n <update_date>2026-08-14</update_date>\n <expiry_date>2027-08-13</expiry_date>\n <name_servers>\n <nameServer>elliott.ns.cloudflare.com</nameServer>\n <nameServer>hera.ns.cloudflare.com</nameServer>\n </name_servers>\n <whois_raw_domain>% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query ...</whois_raw_domain>\n <registry_data>\n <domain_name>EXAMPLE.COM</domain_name>\n <query_time>2026-11-25 07:20:13</query_time>\n <whois_server />\n <domain_registered>yes</domain_registered>\n <create_date>1995-08-14</create_date>\n <update_date>2026-08-14</update_date>\n <expiry_date>2027-08-13</expiry_date>\n <domain_registrar>\n <iana_id>376</iana_id>\n <status>reserved</status>\n <registrar_name>RESERVED-Internet Assigned Numbers Authority</registrar_name>\n <normalized_name>reserved-internet assigned numbers authority</normalized_name>\n <website_url>http://res-dom.iana.org</website_url>\n </domain_registrar>\n <name_servers>\n <nameServer>elliott.ns.cloudflare.com</nameServer>\n <nameServer>hera.ns.cloudflare.com</nameServer>\n </name_servers>\n <domain_status>\n <domainStatus>clientupdateprohibited</domainStatus>\n <domainStatus>clientdeleteprohibited</domainStatus>\n <domainStatus>clienttransferprohibited</domainStatus>\n </domain_status>\n <whois_raw_registery>Domain Name: EXAMPLE.COM Registry Domain ID: 2336799_DOMAIN_COM-VRSN Registrar WHOIS ...</whois_raw_registery>\n </registry_data>\n </domainInfo>\n </bulk_whois_response>\n</BulkWhoisResponse>"
393
+ }
394
+ }
375
395
  }
376
396
  },
377
397
  "headers": {
@@ -381,7 +401,7 @@
381
401
  }
382
402
  },
383
403
  "400": {
384
- "description": "Bad Request — Missing, empty or malformed request body (domainNames is required and must be a non-empty array), or missing API key",
404
+ "description": "Bad Request — Missing, empty or malformed request body (domainNames is required and must be a non-empty array of text), a body that is not sent as application/json, or missing API key",
385
405
  "content": {
386
406
  "application/json": {
387
407
  "schema": {
@@ -407,6 +427,26 @@
407
427
  "status": 400,
408
428
  "timestamp": "2026-11-20T11:12:59.104Z"
409
429
  }
430
+ },
431
+ "unprocessableBody": {
432
+ "summary": "domainNames holds something other than text",
433
+ "value": {
434
+ "timestamp": "2026-11-25T07:13:30.000Z",
435
+ "status": 400,
436
+ "error": "Bad request. [For Technical Support: support@apifreaks.com]",
437
+ "message": "Unable to process request.",
438
+ "path": "/v2.0/bulkwhois/live"
439
+ }
440
+ },
441
+ "invalidContentType": {
442
+ "summary": "Body sent with a Content-Type other than application/json",
443
+ "value": {
444
+ "timestamp": "2026-11-25T07:13:32.000Z",
445
+ "status": 400,
446
+ "error": "Invalid Response Format",
447
+ "message": "Invalid format (Available formats: json, xml) [For Technical Support: support@apifreaks.com]",
448
+ "path": "/v2.0/bulkwhois/live"
449
+ }
410
450
  }
411
451
  }
412
452
  }
@@ -540,9 +580,7 @@
540
580
  "dns7.cloudns.net",
541
581
  "dns8.cloudns.net"
542
582
  ],
543
- "domain_status": [
544
- "clientTransferProhibited"
545
- ],
583
+ "domain_status": ["clientTransferProhibited"],
546
584
  "whois_raw_domain": "Currently live lookup is not possible. It is the latest data in our database.",
547
585
  "registry_data": {
548
586
  "domain_name": "WHOISFREAKS.COM",
@@ -566,9 +604,7 @@
566
604
  "dns7.cloudns.net",
567
605
  "dns8.cloudns.net"
568
606
  ],
569
- "domain_status": [
570
- "clientTransferProhibited"
571
- ],
607
+ "domain_status": ["clientTransferProhibited"],
572
608
  "whois_raw_registery": "Currently live lookup is not possible. It is the latest data in our database."
573
609
  }
574
610
  },
@@ -649,9 +685,7 @@
649
685
  "cheryl.ns.cloudflare.com",
650
686
  "nash.ns.cloudflare.com"
651
687
  ],
652
- "domain_status": [
653
- "clientTransferProhibited"
654
- ],
688
+ "domain_status": ["clientTransferProhibited"],
655
689
  "whois_raw_domain": "Currently live lookup is not possible. It is the latest data in our database.",
656
690
  "registry_data": {
657
691
  "domain_name": "JFREAKS.COM",
@@ -673,9 +707,7 @@
673
707
  "cheryl.ns.cloudflare.com",
674
708
  "nash.ns.cloudflare.com"
675
709
  ],
676
- "domain_status": [
677
- "clientTransferProhibited"
678
- ],
710
+ "domain_status": ["clientTransferProhibited"],
679
711
  "whois_raw_registery": "Currently live lookup is not possible. It is the latest data in our database."
680
712
  }
681
713
  }
@@ -769,10 +801,11 @@
769
801
  "inactiveTld": {
770
802
  "summary": "Inactive TLD",
771
803
  "value": {
772
- "message": "Provided domain belongs to an inactive TLD. Please try to use historical whois lookup.",
804
+ "message": "Provided domain belongs to an inactive TLD. please try to use historical whois lookup [For Technical Support: support@apifreaks.com]",
773
805
  "path": "/v2.0/domain/whois/live",
774
806
  "status": 403,
775
- "timestamp": "2026-07-10T13:47:02.486Z"
807
+ "timestamp": "2026-07-10T13:47:02.486Z",
808
+ "error": "Unable to process live request"
776
809
  }
777
810
  }
778
811
  }
@@ -823,28 +856,6 @@
823
856
  }
824
857
  }
825
858
  },
826
- "429": {
827
- "description": "Too Many Requests — Per-minute request limit reached",
828
- "content": {
829
- "application/json": {
830
- "schema": {
831
- "$ref": "#/components/schemas/ErrorResponse"
832
- },
833
- "examples": {
834
- "rateLimitReached": {
835
- "summary": "Per-minute request limit reached",
836
- "value": {
837
- "error": "Fetching Whois Data Failed",
838
- "message": "Please slow down. Your maximum request limit per minute reached.",
839
- "path": "/v2.0/domain/whois/live",
840
- "status": 429,
841
- "timestamp": "2026-07-10T13:47:02.486Z"
842
- }
843
- }
844
- }
845
- }
846
- }
847
- },
848
859
  "499": {
849
860
  "description": "Client Closed Request — The request or connection timeout set by the client is too short",
850
861
  "content": {
@@ -1007,7 +1018,7 @@
1007
1018
  "properties": {
1008
1019
  "domainNames": {
1009
1020
  "type": "array",
1010
- "description": "List of domain names to retrieve WHOIS data for.",
1021
+ "description": "List of domain names to retrieve WHOIS data for. A name sent more than once returns one entry but is charged each time it succeeds.",
1011
1022
  "maxItems": 100,
1012
1023
  "items": {
1013
1024
  "type": "string"
@@ -1017,7 +1028,7 @@
1017
1028
  },
1018
1029
  "BulkWhoisLookupResponse": {
1019
1030
  "type": "object",
1020
- "description": "Wrapper object containing one WHOIS result or error per requested domain, in request order.",
1031
+ "description": "Wrapper object containing one WHOIS result or error per distinct domain requested. The entries are not guaranteed to follow the request order, so match each one to your list by domain_name.",
1021
1032
  "required": ["bulk_whois_response"],
1022
1033
  "properties": {
1023
1034
  "bulk_whois_response": {
@@ -1038,13 +1049,12 @@
1038
1049
  },
1039
1050
  "BulkWhoisLookupItemError": {
1040
1051
  "type": "object",
1041
- "description": "Per-item error, returned in place of a WHOIS result when an individual domain's extension is unsupported or its lookup otherwise fails.",
1052
+ "description": "Per-item error, returned in place of a WHOIS result when an individual domain's extension is unsupported, the name is not a valid domain, or its lookup otherwise fails.",
1042
1053
  "required": ["status", "domain_name", "status_code", "message"],
1043
1054
  "properties": {
1044
1055
  "status": {
1045
1056
  "type": "boolean",
1046
- "enum": [false],
1047
- "description": "Always false for a per-item error."
1057
+ "description": "false when the extension is unsupported, true when the name is invalid. Test status_code, not status, to tell that an entry failed."
1048
1058
  },
1049
1059
  "domain_name": {
1050
1060
  "type": "string",
@@ -1071,7 +1081,6 @@
1071
1081
  "status",
1072
1082
  "domain_name",
1073
1083
  "query_time",
1074
- "whois_server",
1075
1084
  "domain_registered"
1076
1085
  ],
1077
1086
  "properties": {
@@ -1089,13 +1098,53 @@
1089
1098
  },
1090
1099
  "whois_server": {
1091
1100
  "type": "string",
1092
- "description": "WHOIS or RDAP server that provided this record."
1101
+ "description": "WHOIS or RDAP server that provided this record. Not returned for every lookup; registry_data carries its own whois_server."
1093
1102
  },
1094
1103
  "domain_registered": {
1095
1104
  "type": "string",
1096
1105
  "enum": ["yes", "no", "restricted"],
1097
1106
  "description": "Domain registration status; 'restricted' means the registry withholds registration details."
1098
1107
  },
1108
+ "domain_handle": {
1109
+ "type": "string",
1110
+ "description": "Registry handle of the domain, returned when the registry publishes one."
1111
+ },
1112
+ "abuse_contact": {
1113
+ "type": "object",
1114
+ "description": "Where to send abuse reports for the domain: the registrar's name, email and phone.",
1115
+ "properties": {
1116
+ "registrar_name": {
1117
+ "type": "string",
1118
+ "description": "Name of the registrar the abuse contact belongs to."
1119
+ },
1120
+ "email_address": {
1121
+ "type": "string",
1122
+ "description": "Email address for abuse reports."
1123
+ },
1124
+ "phone_number": {
1125
+ "type": "string",
1126
+ "description": "Phone number for abuse reports."
1127
+ }
1128
+ }
1129
+ },
1130
+ "eligibility_info": {
1131
+ "type": "object",
1132
+ "description": "Eligibility record that some registries require for a registration, such as the trademark behind a name in an extension that asks for one.",
1133
+ "properties": {
1134
+ "id": {
1135
+ "type": "string",
1136
+ "description": "Identifier of the eligibility record, such as a trademark number."
1137
+ },
1138
+ "name": {
1139
+ "type": "string",
1140
+ "description": "Name the eligibility record is held under."
1141
+ },
1142
+ "type": {
1143
+ "type": "string",
1144
+ "description": "Kind of eligibility, such as Trademark Owner."
1145
+ }
1146
+ }
1147
+ },
1099
1148
  "create_date": {
1100
1149
  "type": "string",
1101
1150
  "format": "date",
@@ -1197,6 +1246,14 @@
1197
1246
  "phone_number": {
1198
1247
  "type": ["string", "null"],
1199
1248
  "description": "Registrar contact phone number, when published."
1249
+ },
1250
+ "handle": {
1251
+ "type": "string",
1252
+ "description": "Registrar handle, returned when the registry publishes one."
1253
+ },
1254
+ "registry_id": {
1255
+ "type": "string",
1256
+ "description": "Registry identifier of the registrar, when published."
1200
1257
  }
1201
1258
  }
1202
1259
  },
@@ -1204,6 +1261,18 @@
1204
1261
  "type": "object",
1205
1262
  "description": "A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.",
1206
1263
  "properties": {
1264
+ "id": {
1265
+ "type": "string",
1266
+ "description": "Contact ID, when published."
1267
+ },
1268
+ "handle": {
1269
+ "type": "string",
1270
+ "description": "Contact handle, returned when the registry publishes one."
1271
+ },
1272
+ "id_type": {
1273
+ "type": "string",
1274
+ "description": "Kind of identifier held in id, such as cnpj or Registry, when the registry publishes it."
1275
+ },
1207
1276
  "name": {
1208
1277
  "type": "string",
1209
1278
  "description": "Contact's full name."
@@ -115,6 +115,17 @@
115
115
  }
116
116
  }
117
117
  }
118
+ },
119
+ "application/xml": {
120
+ "schema": {
121
+ "$ref": "#/components/schemas/DomainWhoisHistoryLookupResponse"
122
+ },
123
+ "examples": {
124
+ "typicalSuccessXml": {
125
+ "summary": "Typical successful response, as XML (format=xml), cut to the oldest and newest record",
126
+ "value": "<HistoricalWhoisResponse>\n <status>true</status>\n <whois>historical</whois>\n <total_records>25</total_records>\n <whois_domains_historical>\n <domainInfo>\n <num>1</num>\n <status>true</status>\n <domain_name>example.com</domain_name>\n <query_time>2022-04-28 12:56:13</query_time>\n <whois_server />\n <create_date>1992-01-01</create_date>\n <update_date>2021-08-14</update_date>\n <expiry_date>2022-08-13</expiry_date>\n </domainInfo>\n <domainInfo>\n <num>25</num>\n <status>true</status>\n <domain_name>example.com</domain_name>\n <query_time>2026-11-25 07:14:15</query_time>\n <whois_server />\n <domain_registered>yes</domain_registered>\n <create_date>1992-01-01</create_date>\n <update_date>2026-08-14</update_date>\n <expiry_date>2027-08-13</expiry_date>\n <name_servers>\n <nameServer>elliott.ns.cloudflare.com</nameServer>\n <nameServer>hera.ns.cloudflare.com</nameServer>\n </name_servers>\n <whois_raw_domain>% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query ...</whois_raw_domain>\n <registry_data>\n <domain_name>EXAMPLE.COM</domain_name>\n <query_time>2026-11-25 07:14:14</query_time>\n <whois_server />\n <domain_registered>yes</domain_registered>\n <create_date>1995-08-14</create_date>\n <update_date>2026-08-14</update_date>\n <expiry_date>2027-08-13</expiry_date>\n <domain_registrar>\n <iana_id>376</iana_id>\n <registrar_name>RESERVED-Internet Assigned Numbers Authority</registrar_name>\n <website_url>http://res-dom.iana.org</website_url>\n </domain_registrar>\n <name_servers>\n <nameServer>elliott.ns.cloudflare.com</nameServer>\n <nameServer>hera.ns.cloudflare.com</nameServer>\n </name_servers>\n <domain_status>\n <domainStatus>clientupdateprohibited</domainStatus>\n <domainStatus>clientdeleteprohibited</domainStatus>\n <domainStatus>clienttransferprohibited</domainStatus>\n </domain_status>\n <whois_raw_registery>Domain Name: EXAMPLE.COM Registry Domain ID: 2336799_DOMAIN_COM-VRSN Registrar WHOIS ...</whois_raw_registery>\n </registry_data>\n </domainInfo>\n </whois_domains_historical>\n</HistoricalWhoisResponse>"
127
+ }
128
+ }
118
129
  }
119
130
  },
120
131
  "headers": {
@@ -171,7 +182,7 @@
171
182
  }
172
183
  },
173
184
  "404": {
174
- "description": "Not Found — No historical WHOIS records for the domain",
185
+ "description": "Not Found — No historical WHOIS records for the domain, or the endpoint was called with an HTTP method other than GET",
175
186
  "content": {
176
187
  "application/json": {
177
188
  "schema": {
@@ -187,6 +198,43 @@
187
198
  "message": "Record not found",
188
199
  "path": "/v1.0/whois"
189
200
  }
201
+ },
202
+ "resourceNotFound": {
203
+ "summary": "Wrong HTTP method or path",
204
+ "value": {
205
+ "error": "Resource Not Found",
206
+ "message": "The requested resource could not be found. Please verify the URL and try again.",
207
+ "path": "/v1.0/domain/whois/history",
208
+ "status": 404,
209
+ "timestamp": "2026-11-25T07:14:40.000Z"
210
+ }
211
+ }
212
+ }
213
+ }
214
+ },
215
+ "headers": {
216
+ "X-AF-Credits-Cost": {
217
+ "$ref": "#/components/headers/X-AF-Credits-Cost"
218
+ }
219
+ }
220
+ },
221
+ "406": {
222
+ "description": "Not Acceptable — The format value is not supported",
223
+ "content": {
224
+ "application/json": {
225
+ "schema": {
226
+ "$ref": "#/components/schemas/ErrorResponse"
227
+ },
228
+ "examples": {
229
+ "unsupportedFormat": {
230
+ "summary": "Unsupported format value",
231
+ "value": {
232
+ "error": "Unsupported Media Type",
233
+ "message": "The media type specified in the request is not supported. For more details, please refer to the API documentation.",
234
+ "path": "/v1.0/domain/whois/history",
235
+ "status": 406,
236
+ "timestamp": "2026-11-20T11:13:01.252Z"
237
+ }
190
238
  }
191
239
  }
192
240
  }
@@ -352,28 +400,6 @@
352
400
  }
353
401
  }
354
402
  },
355
- "429": {
356
- "description": "Too Many Requests — Per-minute request limit reached",
357
- "content": {
358
- "application/json": {
359
- "schema": {
360
- "$ref": "#/components/schemas/ErrorResponse"
361
- },
362
- "examples": {
363
- "rateLimited": {
364
- "summary": "Request limit per minute reached",
365
- "value": {
366
- "timestamp": "2024-07-10T13:47:02.486Z",
367
- "status": 429,
368
- "error": "Fetching Whois Data Failed",
369
- "message": "Please slow down. Your maximum request limit per minute reached.",
370
- "path": "/v1.0/domain/whois/history"
371
- }
372
- }
373
- }
374
- }
375
- }
376
- },
377
403
  "499": {
378
404
  "description": "Client Closed Request — The client timeout is too short and the connection was closed before the response completed",
379
405
  "content": {
@@ -564,15 +590,7 @@
564
590
  "DomainWhoisHistoryRecord": {
565
591
  "type": "object",
566
592
  "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.",
567
- "required": [
568
- "num",
569
- "status",
570
- "domain_name",
571
- "query_time",
572
- "create_date",
573
- "update_date",
574
- "expiry_date"
575
- ],
593
+ "required": ["num", "status", "domain_name"],
576
594
  "properties": {
577
595
  "num": {
578
596
  "type": "integer",
@@ -689,6 +707,14 @@
689
707
  "phone_number": {
690
708
  "type": ["string", "null"],
691
709
  "description": "Registrar contact phone number, when published."
710
+ },
711
+ "handle": {
712
+ "type": "string",
713
+ "description": "Registrar handle, returned when the registry publishes one."
714
+ },
715
+ "registry_id": {
716
+ "type": "string",
717
+ "description": "Registry identifier of the registrar, when published."
692
718
  }
693
719
  }
694
720
  },
@@ -143,6 +143,17 @@
143
143
  }
144
144
  }
145
145
  }
146
+ },
147
+ "application/xml": {
148
+ "schema": {
149
+ "$ref": "#/components/schemas/DomainWhoisLookupResponse"
150
+ },
151
+ "examples": {
152
+ "typicalSuccessXml": {
153
+ "summary": "Typical successful response, as XML (format=xml)",
154
+ "value": "<DomainInfo>\n <status>true</status>\n <domain_name>example.com</domain_name>\n <query_time>2026-11-25 07:12:38</query_time>\n <domain_registered>yes</domain_registered>\n <create_date>1992-01-01</create_date>\n <update_date>2026-08-14</update_date>\n <expiry_date>2027-08-13</expiry_date>\n <name_servers>\n <nameServer>elliott.ns.cloudflare.com</nameServer>\n <nameServer>hera.ns.cloudflare.com</nameServer>\n </name_servers>\n <whois_raw_domain>% IANA WHOIS server % for more information on IANA, visit http://www.iana.org % This query ...</whois_raw_domain>\n <registry_data>\n <domain_name>EXAMPLE.COM</domain_name>\n <query_time>2026-11-25 07:12:37</query_time>\n <whois_server />\n <domain_registered>yes</domain_registered>\n <create_date>1995-08-14</create_date>\n <update_date>2026-08-14</update_date>\n <expiry_date>2027-08-13</expiry_date>\n <domain_registrar>\n <iana_id>376</iana_id>\n <status>reserved</status>\n <registrar_name>RESERVED-Internet Assigned Numbers Authority</registrar_name>\n <normalized_name>reserved-internet assigned numbers authority</normalized_name>\n <website_url>http://res-dom.iana.org</website_url>\n </domain_registrar>\n <name_servers>\n <nameServer>elliott.ns.cloudflare.com</nameServer>\n <nameServer>hera.ns.cloudflare.com</nameServer>\n </name_servers>\n <domain_status>\n <domainStatus>clientupdateprohibited</domainStatus>\n <domainStatus>clientdeleteprohibited</domainStatus>\n <domainStatus>clienttransferprohibited</domainStatus>\n </domain_status>\n <whois_raw_registery>Domain Name: EXAMPLE.COM Registry Domain ID: 2336799_DOMAIN_COM-VRSN Registrar WHOIS ...</whois_raw_registery>\n </registry_data>\n</DomainInfo>"
155
+ }
156
+ }
146
157
  }
147
158
  },
148
159
  "headers": {
@@ -245,9 +256,7 @@
245
256
  "dns7.cloudns.net",
246
257
  "dns8.cloudns.net"
247
258
  ],
248
- "domain_status": [
249
- "clientTransferProhibited"
250
- ]
259
+ "domain_status": ["clientTransferProhibited"]
251
260
  }
252
261
  }
253
262
  }
@@ -353,9 +362,7 @@
353
362
  "dns7.cloudns.net",
354
363
  "dns8.cloudns.net"
355
364
  ],
356
- "domain_status": [
357
- "clientTransferProhibited"
358
- ],
365
+ "domain_status": ["clientTransferProhibited"],
359
366
  "whois_raw_domain": "Currently live lookup is not possible. It is the latest data in our database.",
360
367
  "registry_data": {
361
368
  "domain_name": "WHOISFREAKS.COM",
@@ -379,9 +386,7 @@
379
386
  "dns7.cloudns.net",
380
387
  "dns8.cloudns.net"
381
388
  ],
382
- "domain_status": [
383
- "clientTransferProhibited"
384
- ],
389
+ "domain_status": ["clientTransferProhibited"],
385
390
  "whois_raw_registry": "Currently live lookup is not possible. It is the latest data in our database."
386
391
  }
387
392
  }
@@ -465,7 +470,8 @@
465
470
  "value": {
466
471
  "timestamp": "2026-11-20T11:13:00.607Z",
467
472
  "status": 403,
468
- "message": "Provided domain belongs to an inactive TLD. Please try to use historical whois lookup.",
473
+ "error": "Unable to process live request",
474
+ "message": "Provided domain belongs to an inactive TLD. please try to use historical whois lookup [For Technical Support: support@apifreaks.com]",
469
475
  "path": "/v2.0/whois/live"
470
476
  }
471
477
  }
@@ -478,6 +484,28 @@
478
484
  }
479
485
  }
480
486
  },
487
+ "404": {
488
+ "description": "Not Found — The URL is wrong. The live WHOIS endpoint is /domain/whois/live",
489
+ "content": {
490
+ "application/json": {
491
+ "schema": {
492
+ "$ref": "#/components/schemas/ErrorResponse"
493
+ },
494
+ "examples": {
495
+ "resourceNotFound": {
496
+ "summary": "Wrong path",
497
+ "value": {
498
+ "error": "Resource Not Found",
499
+ "message": "The requested resource could not be found. Please verify the URL and try again.",
500
+ "path": "/v2.0/domain/whois/livee",
501
+ "status": 404,
502
+ "timestamp": "2026-11-25T07:12:50.000Z"
503
+ }
504
+ }
505
+ }
506
+ }
507
+ }
508
+ },
481
509
  "401": {
482
510
  "description": "Unauthorized — The API key is invalid or inactive, or the subscription, credits or account are not usable",
483
511
  "content": {
@@ -703,33 +731,6 @@
703
731
  }
704
732
  }
705
733
  },
706
- "429": {
707
- "description": "Too Many Requests — The per-minute request limit is reached",
708
- "content": {
709
- "application/json": {
710
- "schema": {
711
- "$ref": "#/components/schemas/ErrorResponse"
712
- },
713
- "examples": {
714
- "rateLimited": {
715
- "summary": "Per-minute request limit reached",
716
- "value": {
717
- "timestamp": "2024-07-10T13:47:02.486Z",
718
- "status": 429,
719
- "error": "Fetching Whois Data Failed",
720
- "message": "Please slow down. Your maximum request limit per minute reached.",
721
- "path": "/v2.0/domain/whois/live"
722
- }
723
- }
724
- }
725
- }
726
- },
727
- "headers": {
728
- "X-AF-Credits-Cost": {
729
- "$ref": "#/components/headers/X-AF-Credits-Cost"
730
- }
731
- }
732
- },
733
734
  "499": {
734
735
  "description": "Client Closed Request — The client request or connection timeout is too short",
735
736
  "content": {
@@ -917,7 +918,6 @@
917
918
  "status",
918
919
  "domain_name",
919
920
  "query_time",
920
- "whois_server",
921
921
  "domain_registered"
922
922
  ],
923
923
  "properties": {
@@ -935,13 +935,53 @@
935
935
  },
936
936
  "whois_server": {
937
937
  "type": "string",
938
- "description": "WHOIS or RDAP server that provided this record."
938
+ "description": "WHOIS or RDAP server that provided this record. Not returned for every lookup; registry_data carries its own whois_server."
939
939
  },
940
940
  "domain_registered": {
941
941
  "type": "string",
942
942
  "enum": ["yes", "no", "restricted"],
943
943
  "description": "Domain registration status; 'restricted' means the registry withholds registration details."
944
944
  },
945
+ "domain_handle": {
946
+ "type": "string",
947
+ "description": "Registry handle of the domain, returned when the registry publishes one."
948
+ },
949
+ "abuse_contact": {
950
+ "type": "object",
951
+ "description": "Where to send abuse reports for the domain: the registrar's name, email and phone.",
952
+ "properties": {
953
+ "registrar_name": {
954
+ "type": "string",
955
+ "description": "Name of the registrar the abuse contact belongs to."
956
+ },
957
+ "email_address": {
958
+ "type": "string",
959
+ "description": "Email address for abuse reports."
960
+ },
961
+ "phone_number": {
962
+ "type": "string",
963
+ "description": "Phone number for abuse reports."
964
+ }
965
+ }
966
+ },
967
+ "eligibility_info": {
968
+ "type": "object",
969
+ "description": "Eligibility record that some registries require for a registration, such as the trademark behind a name in an extension that asks for one.",
970
+ "properties": {
971
+ "id": {
972
+ "type": "string",
973
+ "description": "Identifier of the eligibility record, such as a trademark number."
974
+ },
975
+ "name": {
976
+ "type": "string",
977
+ "description": "Name the eligibility record is held under."
978
+ },
979
+ "type": {
980
+ "type": "string",
981
+ "description": "Kind of eligibility, such as Trademark Owner."
982
+ }
983
+ }
984
+ },
945
985
  "create_date": {
946
986
  "type": "string",
947
987
  "format": "date",
@@ -1043,6 +1083,14 @@
1043
1083
  "phone_number": {
1044
1084
  "type": ["string", "null"],
1045
1085
  "description": "Registrar contact phone number, when published."
1086
+ },
1087
+ "handle": {
1088
+ "type": "string",
1089
+ "description": "Registrar handle, returned when the registry publishes one."
1090
+ },
1091
+ "registry_id": {
1092
+ "type": "string",
1093
+ "description": "Registry identifier of the registrar, when published."
1046
1094
  }
1047
1095
  }
1048
1096
  },
@@ -1050,6 +1098,18 @@
1050
1098
  "type": "object",
1051
1099
  "description": "A contact record (registrant, administrative, technical, billing, or reseller) published in the domain's WHOIS record.",
1052
1100
  "properties": {
1101
+ "id": {
1102
+ "type": "string",
1103
+ "description": "Contact ID, when published."
1104
+ },
1105
+ "handle": {
1106
+ "type": "string",
1107
+ "description": "Contact handle, returned when the registry publishes one."
1108
+ },
1109
+ "id_type": {
1110
+ "type": "string",
1111
+ "description": "Kind of identifier held in id, such as cnpj or Registry, when the registry publishes it."
1112
+ },
1053
1113
  "name": {
1054
1114
  "type": "string",
1055
1115
  "description": "Contact's full name."