@apifreaks/openapi-specs 0.4.20 → 0.4.21

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 (31) hide show
  1. package/dist/index.cjs +4020 -214
  2. package/dist/index.js +4020 -214
  3. package/dist/specs/commodity/historical-commodity-prices.yaml +30 -11
  4. package/dist/specs/dns/bulk-dns-lookup.yaml +214 -33
  5. package/dist/specs/dns/dns-lookup.yaml +9 -1
  6. package/dist/specs/financial/bulk-vat-rates-country.yaml +22 -4
  7. package/dist/specs/geography/flags-supported.yaml +18 -10
  8. package/dist/specs/timezone/timezone-converter.yaml +36 -8
  9. package/dist/specs/timezone/timezone-lookup.yaml +36 -10
  10. package/dist/specs/weather/time-series-weather.yaml +6 -7
  11. package/dist/specs/whois/asn-lookup.yaml +676 -37
  12. package/dist/specs/whois/bulk-whois-lookup.yaml +480 -2
  13. package/dist/specs/whois/domain-whois-history-lookup.yaml +222 -2
  14. package/dist/specs/whois/reverse-whois.yaml +316 -8
  15. package/dist/specs/whois/whois-domain-lookup.yaml +482 -11
  16. package/dist/specs/whois/whois-ip-lookup.yaml +306 -12
  17. package/package.json +1 -1
  18. package/specs/commodity/historical-commodity-prices.json +37 -11
  19. package/specs/dns/bulk-dns-lookup.json +274 -29
  20. package/specs/dns/dns-lookup.json +13 -2
  21. package/specs/financial/bulk-vat-rates-country.json +33 -4
  22. package/specs/geography/flags-supported.json +20 -13
  23. package/specs/timezone/timezone-converter.json +48 -8
  24. package/specs/timezone/timezone-lookup.json +53 -10
  25. package/specs/weather/time-series-weather.json +7 -7
  26. package/specs/whois/asn-lookup.json +878 -54
  27. package/specs/whois/bulk-whois-lookup.json +612 -2
  28. package/specs/whois/domain-whois-history-lookup.json +307 -2
  29. package/specs/whois/reverse-whois.json +453 -9
  30. package/specs/whois/whois-domain-lookup.json +632 -11
  31. package/specs/whois/whois-ip-lookup.json +424 -12
@@ -173,13 +173,104 @@
173
173
  }
174
174
  },
175
175
  "206": {
176
- "description": "Partial Content — At least one domain in the batch returned an error; other domains in the same batch still resolved successfully",
176
+ "description": "Partial Content — Either at least one domain in the batch returned an error (other domains in the same batch still resolved successfully), or the registry query succeeded but the registrar query failed so registrar-level details such as contact information may be missing; retry later for the full record",
177
177
  "content": {
178
178
  "application/json": {
179
179
  "schema": {
180
180
  "$ref": "#/components/schemas/BulkWhoisLookupResponse"
181
181
  },
182
182
  "examples": {
183
+ "registrarDetailsMissing": {
184
+ "summary": "Registry query succeeded, registrar query failed (registrar-level details may be missing)",
185
+ "value": {
186
+ "bulk_whois_response": [
187
+ {
188
+ "status": true,
189
+ "domain_name": "whoisfreaks.com",
190
+ "query_time": "2024-07-11 13:48:23",
191
+ "whois_server": "whois.verisign-grs.com",
192
+ "domain_registered": "yes",
193
+ "create_date": "2019-03-19",
194
+ "update_date": "2024-02-18",
195
+ "expiry_date": "2025-03-19",
196
+ "domain_registrar": {
197
+ "iana_id": "1068",
198
+ "registrar_name": "NAMECHEAP INC",
199
+ "whois_server": "whois.namecheap.com",
200
+ "website_url": "http://www.namecheap.com",
201
+ "email_address": "abuse@namecheap.com",
202
+ "phone_number": "+1.9854014545"
203
+ },
204
+ "reseller_contact": {
205
+ "name": "NAMECHEAP INC"
206
+ },
207
+ "registrant_contact": {
208
+ "name": "Redacted for Privacy",
209
+ "company": "Privacy service provided by Withheld for Privacy ehf",
210
+ "street": "Kalkofnsvegur 2",
211
+ "city": "Reykjavik",
212
+ "state": "Capital Region",
213
+ "zip_code": "101",
214
+ "country_name": "Iceland",
215
+ "country_code": "IS",
216
+ "email_address": "b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com",
217
+ "phone": "+354.4212434,"
218
+ },
219
+ "administrative_contact": {
220
+ "name": "Redacted for Privacy",
221
+ "company": "Privacy service provided by Withheld for Privacy ehf",
222
+ "street": "Kalkofnsvegur 2",
223
+ "city": "Reykjavik",
224
+ "state": "Capital Region",
225
+ "zip_code": "101",
226
+ "country_name": "Iceland",
227
+ "country_code": "IS",
228
+ "email_address": "b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com",
229
+ "phone": "+354.4212434"
230
+ },
231
+ "technical_contact": {
232
+ "name": "Redacted for Privacy",
233
+ "company": "Privacy service provided by Withheld for Privacy ehf",
234
+ "street": "Kalkofnsvegur 2",
235
+ "city": "Reykjavik",
236
+ "state": "Capital Region",
237
+ "zip_code": "101",
238
+ "country_name": "Iceland",
239
+ "country_code": "IS",
240
+ "email_address": "b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com",
241
+ "phone": "+354.4212434"
242
+ },
243
+ "name_servers": [
244
+ "dns3.cloudns.net",
245
+ "dns4.cloudns.net",
246
+ "dns7.cloudns.net",
247
+ "dns8.cloudns.net"
248
+ ],
249
+ "domain_status": [
250
+ "clientTransferProhibited"
251
+ ]
252
+ },
253
+ {
254
+ "status": true,
255
+ "domain_name": "jfreaks.com",
256
+ "query_time": "2024-07-11 13:48:24",
257
+ "whois_server": "whois.verisign-grs.com",
258
+ "domain_registered": "yes",
259
+ "create_date": "2016-04-01",
260
+ "update_date": "2024-02-01",
261
+ "expiry_date": "2029-04-01",
262
+ "domain_registrar": {
263
+ "iana_id": "82",
264
+ "registrar_name": "Onlinenic Inc",
265
+ "whois_server": "whois.onlinenic.com",
266
+ "website_url": "http://www.onlinenic.com",
267
+ "email_address": "abuse@onlinenic.com",
268
+ "phone_number": "+1.5107698492"
269
+ }
270
+ }
271
+ ]
272
+ }
273
+ },
183
274
  "partialFailure": {
184
275
  "summary": "One domain unsupported, one resolved",
185
276
  "value": {
@@ -290,7 +381,7 @@
290
381
  }
291
382
  },
292
383
  "400": {
293
- "description": "Bad Request — Missing or malformed request body",
384
+ "description": "Bad Request — Missing, empty or malformed request body (domainNames is required and must be a non-empty array), or missing API key",
294
385
  "content": {
295
386
  "application/json": {
296
387
  "schema": {
@@ -306,6 +397,16 @@
306
397
  "status": 400,
307
398
  "timestamp": "2026-07-23T09:28:56.641Z"
308
399
  }
400
+ },
401
+ "missingApiKey": {
402
+ "summary": "Missing API key",
403
+ "value": {
404
+ "error": "Invalid Param Exception",
405
+ "message": "Please provide apiKey",
406
+ "path": "/v2.0/domain/whois/live",
407
+ "status": 400,
408
+ "timestamp": "2026-11-20T11:12:59.104Z"
409
+ }
309
410
  }
310
411
  }
311
412
  }
@@ -342,6 +443,515 @@
342
443
  "$ref": "#/components/headers/X-AF-Credits-Cost"
343
444
  }
344
445
  }
446
+ },
447
+ "210": {
448
+ "description": "Cached Response — Both the registry and the registrar queries failed, so the response is the latest record stored in the database rather than live data; retry later for current data",
449
+ "content": {
450
+ "application/json": {
451
+ "schema": {
452
+ "$ref": "#/components/schemas/BulkWhoisLookupResponse"
453
+ },
454
+ "examples": {
455
+ "cachedResponse": {
456
+ "summary": "Latest stored record returned instead of live data",
457
+ "value": {
458
+ "bulk_whois_response": [
459
+ {
460
+ "status": true,
461
+ "domain_name": "whoisfreaks.com",
462
+ "query_time": "2024-07-11 13:48:23",
463
+ "whois_server": "whois.verisign-grs.com",
464
+ "domain_registered": "yes",
465
+ "create_date": "2019-03-19",
466
+ "update_date": "2024-02-18",
467
+ "expiry_date": "2025-03-19",
468
+ "domain_registrar": {
469
+ "iana_id": "1068",
470
+ "registrar_name": "NAMECHEAP INC",
471
+ "whois_server": "whois.namecheap.com",
472
+ "website_url": "http://www.namecheap.com",
473
+ "email_address": "abuse@namecheap.com",
474
+ "phone_number": "+1.9854014545"
475
+ },
476
+ "reseller_contact": {
477
+ "name": "NAMECHEAP INC",
478
+ "email_address": "N/A",
479
+ "phone": "N/A"
480
+ },
481
+ "registrant_contact": {
482
+ "name": "Redacted for Privacy",
483
+ "company": "Privacy service provided by Withheld for Privacy ehf",
484
+ "street": "Kalkofnsvegur 2",
485
+ "city": "Reykjavik",
486
+ "state": "Capital Region",
487
+ "zip_code": "101",
488
+ "country_name": "Iceland",
489
+ "country_code": "IS",
490
+ "email_address": "b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com",
491
+ "phone": "+354.4212434",
492
+ "fax": "N/A",
493
+ "mailing_address": "Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland"
494
+ },
495
+ "administrative_contact": {
496
+ "name": "Redacted for Privacy",
497
+ "company": "Privacy service provided by Withheld for Privacy ehf",
498
+ "street": "Kalkofnsvegur 2",
499
+ "city": "Reykjavik",
500
+ "state": "Capital Region",
501
+ "zip_code": "101",
502
+ "country_name": "Iceland",
503
+ "country_code": "IS",
504
+ "email_address": "b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com",
505
+ "phone": "+354.4212434",
506
+ "fax": "N/A",
507
+ "mailing_address": "Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland"
508
+ },
509
+ "technical_contact": {
510
+ "name": "Redacted for Privacy",
511
+ "company": "Privacy service provided by Withheld for Privacy ehf",
512
+ "street": "Kalkofnsvegur 2",
513
+ "city": "Reykjavik",
514
+ "state": "Capital Region",
515
+ "zip_code": "101",
516
+ "country_name": "Iceland",
517
+ "country_code": "IS",
518
+ "email_address": "b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com",
519
+ "phone": "+354.4212434",
520
+ "fax": "N/A",
521
+ "mailing_address": "Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland"
522
+ },
523
+ "billing_contact": {
524
+ "name": "N/A",
525
+ "company": "N/A",
526
+ "street": "N/A",
527
+ "city": "N/A",
528
+ "state": "N/A",
529
+ "zip_code": "N/A",
530
+ "country_name": "N/A",
531
+ "country_code": "N/A",
532
+ "email_address": "N/A",
533
+ "phone": "N/A",
534
+ "fax": "N/A",
535
+ "mailing_address": "N/A"
536
+ },
537
+ "name_servers": [
538
+ "dns3.cloudns.net",
539
+ "dns4.cloudns.net",
540
+ "dns7.cloudns.net",
541
+ "dns8.cloudns.net"
542
+ ],
543
+ "domain_status": [
544
+ "clientTransferProhibited"
545
+ ],
546
+ "whois_raw_domain": "Currently live lookup is not possible. It is the latest data in our database.",
547
+ "registry_data": {
548
+ "domain_name": "WHOISFREAKS.COM",
549
+ "query_time": "2024-07-11 13:48:23",
550
+ "whois_server": "whois.verisign-grs.com",
551
+ "domain_registered": "yes",
552
+ "create_date": "N/A",
553
+ "update_date": "N/A",
554
+ "expiry_date": "N/A",
555
+ "domain_registrar": {
556
+ "iana_id": "1068",
557
+ "registrar_name": "NameCheap, Inc.",
558
+ "whois_server": "whois.namecheap.com",
559
+ "website_url": "http://www.namecheap.com",
560
+ "email_address": "abuse@namecheap.com",
561
+ "phone_number": "+1.6613102107"
562
+ },
563
+ "name_servers": [
564
+ "dns3.cloudns.net",
565
+ "dns4.cloudns.net",
566
+ "dns7.cloudns.net",
567
+ "dns8.cloudns.net"
568
+ ],
569
+ "domain_status": [
570
+ "clientTransferProhibited"
571
+ ],
572
+ "whois_raw_registery": "Currently live lookup is not possible. It is the latest data in our database."
573
+ }
574
+ },
575
+ {
576
+ "status": true,
577
+ "domain_name": "jfreaks.com",
578
+ "query_time": "2024-07-11 13:48:24",
579
+ "whois_server": "whois.verisign-grs.com",
580
+ "domain_registered": "yes",
581
+ "create_date": "2016-04-01",
582
+ "update_date": "2024-02-01",
583
+ "expiry_date": "2029-04-01",
584
+ "domain_registrar": {
585
+ "iana_id": "82",
586
+ "registrar_name": "Onlinenic Inc",
587
+ "whois_server": "whois.onlinenic.com",
588
+ "website_url": "http://www.onlinenic.com",
589
+ "email_address": "abuse@onlinenic.com",
590
+ "phone_number": "+1.5107698492"
591
+ },
592
+ "registrant_contact": {
593
+ "name": "Ejaz Ahmed",
594
+ "company": "None",
595
+ "street": "Lahore",
596
+ "city": "Lahore",
597
+ "state": "Punjab",
598
+ "zip_code": "54000",
599
+ "country_name": "Pakistan",
600
+ "country_code": "PK",
601
+ "email_address": "ejaz_ahmed@outlook.com",
602
+ "phone": "+92.3366009992",
603
+ "fax": "+92.3366009992",
604
+ "mailing_address": "54000 Lahore, Punjab, Pakistan"
605
+ },
606
+ "administrative_contact": {
607
+ "name": "Ejaz Ahmed",
608
+ "company": "None",
609
+ "street": "Lahore",
610
+ "city": "Lahore",
611
+ "state": "Punjab",
612
+ "zip_code": "54000",
613
+ "country_name": "Pakistan",
614
+ "country_code": "PK",
615
+ "email_address": "ejaz_ahmed@outlook.com",
616
+ "phone": "+92.3366009992",
617
+ "fax": "+92.3366009992",
618
+ "mailing_address": "54000 Lahore, Punjab, Pakistan"
619
+ },
620
+ "technical_contact": {
621
+ "name": "Ejaz Ahmed",
622
+ "company": "None",
623
+ "street": "Lahore",
624
+ "city": "Lahore",
625
+ "state": "Punjab",
626
+ "zip_code": "54000",
627
+ "country_name": "Pakistan",
628
+ "country_code": "PK",
629
+ "email_address": "ejaz_ahmed@outlook.com",
630
+ "phone": "+92.3366009992",
631
+ "fax": "+92.3366009992",
632
+ "mailing_address": "54000 Lahore, Punjab, Pakistan"
633
+ },
634
+ "billing_contact": {
635
+ "name": "N/A",
636
+ "company": "N/A",
637
+ "street": "N/A",
638
+ "city": "N/A",
639
+ "state": "N/A",
640
+ "zip_code": "N/A",
641
+ "country_name": "N/A",
642
+ "country_code": "N/A",
643
+ "email_address": "N/A",
644
+ "phone": "N/A",
645
+ "fax": "N/A",
646
+ "mailing_address": "N/A"
647
+ },
648
+ "name_servers": [
649
+ "cheryl.ns.cloudflare.com",
650
+ "nash.ns.cloudflare.com"
651
+ ],
652
+ "domain_status": [
653
+ "clientTransferProhibited"
654
+ ],
655
+ "whois_raw_domain": "Currently live lookup is not possible. It is the latest data in our database.",
656
+ "registry_data": {
657
+ "domain_name": "JFREAKS.COM",
658
+ "query_time": "2024-07-11 13:48:23",
659
+ "whois_server": "whois.verisign-grs.com",
660
+ "domain_registered": "yes",
661
+ "create_date": "N/A",
662
+ "update_date": "N/A",
663
+ "expiry_date": "N/A",
664
+ "domain_registrar": {
665
+ "iana_id": "82",
666
+ "registrar_name": "OnlineNIC, Inc.",
667
+ "whois_server": "whois.onlinenic.com",
668
+ "website_url": "http://www.onlinenic.com",
669
+ "email_address": "abuse@onlinenic.com",
670
+ "phone_number": "+1 833-678-1173"
671
+ },
672
+ "name_servers": [
673
+ "cheryl.ns.cloudflare.com",
674
+ "nash.ns.cloudflare.com"
675
+ ],
676
+ "domain_status": [
677
+ "clientTransferProhibited"
678
+ ],
679
+ "whois_raw_registery": "Currently live lookup is not possible. It is the latest data in our database."
680
+ }
681
+ }
682
+ ]
683
+ }
684
+ }
685
+ }
686
+ }
687
+ }
688
+ },
689
+ "401": {
690
+ "description": "Unauthorized — API key invalid or inactive, or the account has no active subscription or credits",
691
+ "content": {
692
+ "application/json": {
693
+ "schema": {
694
+ "$ref": "#/components/schemas/ErrorResponse"
695
+ },
696
+ "examples": {
697
+ "invalidApiKey": {
698
+ "summary": "Invalid API key",
699
+ "value": {
700
+ "error": "API Access Exception",
701
+ "message": "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
702
+ "path": "/v2.0/domain/whois/live",
703
+ "status": 401,
704
+ "timestamp": "2026-11-20T11:13:00.452Z"
705
+ }
706
+ },
707
+ "inactiveApiKey": {
708
+ "summary": "Inactive API key",
709
+ "value": {
710
+ "error": "API Access Exception",
711
+ "message": "Provided API key is inactive.",
712
+ "path": "/v2.0/domain/whois/live",
713
+ "status": 401,
714
+ "timestamp": "2026-07-10T13:47:02.486Z"
715
+ }
716
+ },
717
+ "noSubscription": {
718
+ "summary": "No subscription plan or credits",
719
+ "value": {
720
+ "error": "API Access Exception",
721
+ "message": "Please buy a subscription plan or add api credits, then use this api key.",
722
+ "path": "/v2.0/domain/whois/live",
723
+ "status": 401,
724
+ "timestamp": "2026-07-10T13:47:02.486Z"
725
+ }
726
+ },
727
+ "accountDeactivated": {
728
+ "summary": "Account deactivated",
729
+ "value": {
730
+ "error": "API Access Exception",
731
+ "message": "Your account is deactivated.",
732
+ "path": "/v2.0/domain/whois/live",
733
+ "status": 401,
734
+ "timestamp": "2026-07-10T13:47:02.486Z"
735
+ }
736
+ },
737
+ "blockedSuspiciousActivity": {
738
+ "summary": "Blocked for suspicious activity",
739
+ "value": {
740
+ "error": "API Access Exception",
741
+ "message": "You are blocked due to suspicious activity.",
742
+ "path": "/v2.0/domain/whois/live",
743
+ "status": 401,
744
+ "timestamp": "2026-07-10T13:47:02.486Z"
745
+ }
746
+ }
747
+ }
748
+ }
749
+ }
750
+ },
751
+ "403": {
752
+ "description": "Forbidden — The domain extension is not supported for WHOIS, or the domain belongs to an inactive TLD. In a batch request an unsupported extension is reported per entry inside a 206 response",
753
+ "content": {
754
+ "application/json": {
755
+ "schema": {
756
+ "$ref": "#/components/schemas/ErrorResponse"
757
+ },
758
+ "examples": {
759
+ "domainExtensionNotSupported": {
760
+ "summary": "Domain extension not supported",
761
+ "value": {
762
+ "error": "Not Supported Domain extension",
763
+ "message": "We are not providing the whois of this domain extension(comsdf)",
764
+ "path": "/v2.0/domain/whois/live",
765
+ "status": 403,
766
+ "timestamp": "2026-07-10T13:47:02.486Z"
767
+ }
768
+ },
769
+ "inactiveTld": {
770
+ "summary": "Inactive TLD",
771
+ "value": {
772
+ "message": "Provided domain belongs to an inactive TLD. Please try to use historical whois lookup.",
773
+ "path": "/v2.0/domain/whois/live",
774
+ "status": 403,
775
+ "timestamp": "2026-07-10T13:47:02.486Z"
776
+ }
777
+ }
778
+ }
779
+ }
780
+ }
781
+ },
782
+ "406": {
783
+ "description": "Not Acceptable — Unsupported response format",
784
+ "content": {
785
+ "application/json": {
786
+ "schema": {
787
+ "$ref": "#/components/schemas/ErrorResponse"
788
+ },
789
+ "examples": {
790
+ "invalidFormat": {
791
+ "summary": "Unsupported format value",
792
+ "value": {
793
+ "error": "Unsupported Media Type",
794
+ "message": "The media type specified in the request is not supported. For more details, please refer to the API documentation.",
795
+ "path": "/v2.0/domain/whois/live",
796
+ "status": 406,
797
+ "timestamp": "2026-11-20T11:13:01.105Z"
798
+ }
799
+ }
800
+ }
801
+ }
802
+ }
803
+ },
804
+ "412": {
805
+ "description": "Precondition Failed — The API plan request limit is exceeded and the subscription is canceled",
806
+ "content": {
807
+ "application/json": {
808
+ "schema": {
809
+ "$ref": "#/components/schemas/ErrorResponse"
810
+ },
811
+ "examples": {
812
+ "planLimitExceeded": {
813
+ "summary": "API plan request limit exceeded",
814
+ "value": {
815
+ "error": "Fetching Whois Data Failed",
816
+ "message": "You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]",
817
+ "path": "/v2.0/domain/whois/live",
818
+ "status": 412,
819
+ "timestamp": "2026-07-10T13:47:02.486Z"
820
+ }
821
+ }
822
+ }
823
+ }
824
+ }
825
+ },
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
+ "499": {
849
+ "description": "Client Closed Request — The request or connection timeout set by the client is too short",
850
+ "content": {
851
+ "application/json": {
852
+ "schema": {
853
+ "$ref": "#/components/schemas/ErrorResponse"
854
+ },
855
+ "examples": {
856
+ "clientTimeoutTooShort": {
857
+ "summary": "Client timeout too short",
858
+ "value": {
859
+ "message": "The request or connection timeout you’ve set is too short, which is causing the server to close the connection before completing the response. Please increase the timeout duration to ensure successful communication with the server.",
860
+ "path": "/v2.0/domain/whois/live",
861
+ "status": 499,
862
+ "timestamp": "2026-07-10T13:47:02.486Z"
863
+ }
864
+ }
865
+ }
866
+ }
867
+ }
868
+ },
869
+ "500": {
870
+ "description": "Internal Server Error",
871
+ "content": {
872
+ "application/json": {
873
+ "schema": {
874
+ "$ref": "#/components/schemas/ErrorResponse"
875
+ },
876
+ "examples": {
877
+ "internalServerError": {
878
+ "summary": "Internal server error",
879
+ "value": {
880
+ "error": "Fetching Whois Data Failed",
881
+ "message": "Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]",
882
+ "path": "/v2.0/domain/whois/live",
883
+ "status": 500,
884
+ "timestamp": "2026-07-10T13:47:02.486Z"
885
+ }
886
+ }
887
+ }
888
+ }
889
+ }
890
+ },
891
+ "503": {
892
+ "description": "Service Unavailable",
893
+ "content": {
894
+ "application/json": {
895
+ "schema": {
896
+ "$ref": "#/components/schemas/ErrorResponse"
897
+ },
898
+ "examples": {
899
+ "serviceUnavailable": {
900
+ "summary": "Service unavailable",
901
+ "value": {
902
+ "error": "Fetching Whois Data Failed",
903
+ "message": "Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]",
904
+ "path": "/v2.0/domain/whois/live",
905
+ "status": 503,
906
+ "timestamp": "2026-07-10T13:47:02.486Z"
907
+ }
908
+ }
909
+ }
910
+ }
911
+ }
912
+ },
913
+ "504": {
914
+ "description": "Gateway Timeout",
915
+ "content": {
916
+ "application/json": {
917
+ "schema": {
918
+ "$ref": "#/components/schemas/ErrorResponse"
919
+ },
920
+ "examples": {
921
+ "requestTimedOut": {
922
+ "summary": "Request timed out",
923
+ "value": {
924
+ "error": "Fetching Whois Data Failed",
925
+ "message": "Request is timed-out. [For Technical Support email at: support@apifreaks.com]",
926
+ "path": "/v2.0/domain/whois/live",
927
+ "status": 504,
928
+ "timestamp": "2026-07-10T13:47:02.486Z"
929
+ }
930
+ }
931
+ }
932
+ }
933
+ }
934
+ },
935
+ "505": {
936
+ "description": "HTTP Version Not Supported — The HTTP version used may be outdated",
937
+ "content": {
938
+ "application/json": {
939
+ "schema": {
940
+ "$ref": "#/components/schemas/ErrorResponse"
941
+ },
942
+ "examples": {
943
+ "httpVersionNotSupported": {
944
+ "summary": "Outdated HTTP version",
945
+ "value": {
946
+ "message": "You might be using an outdated HTTP version.",
947
+ "path": "/v2.0/domain/whois/live",
948
+ "status": 505,
949
+ "timestamp": "2026-07-10T13:47:02.486Z"
950
+ }
951
+ }
952
+ }
953
+ }
954
+ }
345
955
  }
346
956
  }
347
957
  }