@apifreaks/openapi-specs 0.4.20 → 0.4.22
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/dist/index.cjs +4410 -530
- package/dist/index.js +4410 -530
- package/dist/specs/commodity/historical-commodity-prices.yaml +30 -11
- package/dist/specs/dns/bulk-dns-lookup.yaml +214 -33
- package/dist/specs/dns/dns-lookup.yaml +9 -1
- package/dist/specs/financial/bulk-vat-rates-country.yaml +22 -4
- package/dist/specs/geography/flags-supported.yaml +18 -10
- package/dist/specs/pdf/delete-pdf-page.yaml +12 -4
- package/dist/specs/pdf/linearize-pdf.yaml +11 -3
- package/dist/specs/pdf/merge-pdf.yaml +11 -3
- package/dist/specs/pdf/pdf-compress.yaml +12 -4
- package/dist/specs/pdf/pdf-decrypt.yaml +13 -5
- package/dist/specs/pdf/pdf-encrypt.yaml +11 -3
- package/dist/specs/pdf/pdf-extract-pages.yaml +11 -3
- package/dist/specs/pdf/pdf-resource-upload-binary.yaml +1 -1
- package/dist/specs/pdf/pdf-resource-upload.yaml +3 -3
- package/dist/specs/pdf/pdf-restrict.yaml +13 -5
- package/dist/specs/pdf/pdf-to-image.yaml +130 -0
- package/dist/specs/pdf/pdf-unrestrict.yaml +13 -5
- package/dist/specs/pdf/rotate-pdf-pages.yaml +11 -3
- package/dist/specs/pdf/split-pdf.yaml +11 -3
- package/dist/specs/screenshot/bulk-screenshot.yaml +11 -10
- package/dist/specs/screenshot/website-screenshot.yaml +11 -10
- package/dist/specs/timezone/timezone-converter.yaml +36 -8
- package/dist/specs/timezone/timezone-lookup.yaml +36 -10
- package/dist/specs/weather/time-series-weather.yaml +6 -7
- package/dist/specs/whois/asn-lookup.yaml +676 -37
- package/dist/specs/whois/bulk-whois-lookup.yaml +480 -2
- package/dist/specs/whois/domain-whois-history-lookup.yaml +222 -2
- package/dist/specs/whois/reverse-whois.yaml +316 -8
- package/dist/specs/whois/whois-domain-lookup.yaml +482 -11
- package/dist/specs/whois/whois-ip-lookup.yaml +306 -255
- package/package.json +1 -1
- package/specs/commodity/historical-commodity-prices.json +37 -11
- package/specs/dns/bulk-dns-lookup.json +274 -29
- package/specs/dns/dns-lookup.json +13 -2
- package/specs/financial/bulk-vat-rates-country.json +33 -4
- package/specs/geography/flags-supported.json +20 -13
- package/specs/pdf/delete-pdf-page.json +14 -4
- package/specs/pdf/linearize-pdf.json +13 -3
- package/specs/pdf/merge-pdf.json +13 -3
- package/specs/pdf/pdf-compress.json +14 -4
- package/specs/pdf/pdf-decrypt.json +16 -6
- package/specs/pdf/pdf-encrypt.json +13 -3
- package/specs/pdf/pdf-extract-pages.json +13 -3
- package/specs/pdf/pdf-resource-upload-binary.json +1 -1
- package/specs/pdf/pdf-resource-upload.json +4 -4
- package/specs/pdf/pdf-restrict.json +16 -6
- package/specs/pdf/pdf-to-image.json +185 -0
- package/specs/pdf/pdf-unrestrict.json +16 -6
- package/specs/pdf/rotate-pdf-pages.json +13 -3
- package/specs/pdf/split-pdf.json +13 -3
- package/specs/screenshot/bulk-screenshot.json +10 -10
- package/specs/screenshot/website-screenshot.json +10 -10
- package/specs/timezone/timezone-converter.json +48 -8
- package/specs/timezone/timezone-lookup.json +53 -10
- package/specs/weather/time-series-weather.json +7 -7
- package/specs/whois/asn-lookup.json +878 -54
- package/specs/whois/bulk-whois-lookup.json +612 -2
- package/specs/whois/domain-whois-history-lookup.json +307 -2
- package/specs/whois/reverse-whois.json +453 -9
- package/specs/whois/whois-domain-lookup.json +632 -11
- package/specs/whois/whois-ip-lookup.json +427 -241
|
@@ -255,25 +255,213 @@ paths:
|
|
|
255
255
|
X-AF-Credits-Cost:
|
|
256
256
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
257
257
|
'206':
|
|
258
|
-
description: Partial Content — The
|
|
258
|
+
description: Partial Content — The registry query succeeded but the registrar query failed, so registrar-level details such as contact information may be missing. The body has the same shape as a 200 response. Retry later to get the full record.
|
|
259
259
|
content:
|
|
260
260
|
application/json:
|
|
261
261
|
schema:
|
|
262
|
-
$ref: '#/components/schemas/
|
|
262
|
+
$ref: '#/components/schemas/DomainWhoisLookupResponse'
|
|
263
263
|
examples:
|
|
264
264
|
partialContent:
|
|
265
|
-
summary:
|
|
265
|
+
summary: Registry data only (registrar query failed)
|
|
266
266
|
value:
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
267
|
+
status: true
|
|
268
|
+
domain_name: whoisfreaks.com
|
|
269
|
+
query_time: '2024-07-11 13:03:30'
|
|
270
|
+
whois_server: whois.verisign-grs.com
|
|
271
|
+
domain_registered: 'yes'
|
|
272
|
+
create_date: '2019-03-19'
|
|
273
|
+
update_date: '2024-02-18'
|
|
274
|
+
expiry_date: '2025-03-19'
|
|
275
|
+
domain_registrar:
|
|
276
|
+
iana_id: '1068'
|
|
277
|
+
registrar_name: NAMECHEAP INC
|
|
278
|
+
whois_server: whois.namecheap.com
|
|
279
|
+
website_url: http://www.namecheap.com
|
|
280
|
+
email_address: abuse@namecheap.com
|
|
281
|
+
phone_number: '+1.9854014545'
|
|
282
|
+
reseller_contact:
|
|
283
|
+
name: NAMECHEAP INC
|
|
284
|
+
email_address: N/A
|
|
285
|
+
phone: N/A
|
|
286
|
+
registrant_contact:
|
|
287
|
+
name: Redacted for Privacy
|
|
288
|
+
company: Privacy service provided by Withheld for Privacy ehf
|
|
289
|
+
street: Kalkofnsvegur 2
|
|
290
|
+
city: Reykjavik
|
|
291
|
+
state: Capital Region
|
|
292
|
+
zip_code: '101'
|
|
293
|
+
country_name: Iceland
|
|
294
|
+
country_code: IS
|
|
295
|
+
email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com
|
|
296
|
+
phone: '+354.4212434'
|
|
297
|
+
fax: N/A
|
|
298
|
+
mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland
|
|
299
|
+
administrative_contact:
|
|
300
|
+
name: Redacted for Privacy
|
|
301
|
+
company: Privacy service provided by Withheld for Privacy ehf
|
|
302
|
+
street: Kalkofnsvegur 2
|
|
303
|
+
city: Reykjavik
|
|
304
|
+
state: Capital Region
|
|
305
|
+
zip_code: '101'
|
|
306
|
+
country_name: Iceland
|
|
307
|
+
country_code: IS
|
|
308
|
+
email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com
|
|
309
|
+
phone: '+354.4212434'
|
|
310
|
+
fax: N/A
|
|
311
|
+
mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland
|
|
312
|
+
technical_contact:
|
|
313
|
+
name: Redacted for Privacy
|
|
314
|
+
company: Privacy service provided by Withheld for Privacy ehf
|
|
315
|
+
street: Kalkofnsvegur 2
|
|
316
|
+
city: Reykjavik
|
|
317
|
+
state: Capital Region
|
|
318
|
+
zip_code: '101'
|
|
319
|
+
country_name: Iceland
|
|
320
|
+
country_code: IS
|
|
321
|
+
email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com
|
|
322
|
+
phone: '+354.4212434'
|
|
323
|
+
fax: N/A
|
|
324
|
+
mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland
|
|
325
|
+
billing_contact:
|
|
326
|
+
name: N/A
|
|
327
|
+
company: N/A
|
|
328
|
+
street: N/A
|
|
329
|
+
city: N/A
|
|
330
|
+
state: N/A
|
|
331
|
+
zip_code: N/A
|
|
332
|
+
country_name: N/A
|
|
333
|
+
country_code: N/A
|
|
334
|
+
email_address: N/A
|
|
335
|
+
phone: N/A
|
|
336
|
+
fax: N/A
|
|
337
|
+
mailing_address: N/A
|
|
338
|
+
name_servers:
|
|
339
|
+
- dns3.cloudns.net
|
|
340
|
+
- dns4.cloudns.net
|
|
341
|
+
- dns7.cloudns.net
|
|
342
|
+
- dns8.cloudns.net
|
|
343
|
+
domain_status:
|
|
344
|
+
- clientTransferProhibited
|
|
345
|
+
headers:
|
|
346
|
+
X-AF-Credits-Cost:
|
|
347
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
348
|
+
'210':
|
|
349
|
+
description: Cached — Both the registry and the registrar queries failed, so the response is the latest record stored in the database rather than live data. The body has the same shape as a 200 response. Retry later if you need current data.
|
|
350
|
+
content:
|
|
351
|
+
application/json:
|
|
352
|
+
schema:
|
|
353
|
+
$ref: '#/components/schemas/DomainWhoisLookupResponse'
|
|
354
|
+
examples:
|
|
355
|
+
cachedResponse:
|
|
356
|
+
summary: Latest stored record (live queries failed)
|
|
357
|
+
value:
|
|
358
|
+
status: true
|
|
359
|
+
domain_name: whoisfreaks.com
|
|
360
|
+
query_time: '2024-07-11 13:03:30'
|
|
361
|
+
whois_server: whois.verisign-grs.com
|
|
362
|
+
domain_registered: 'yes'
|
|
363
|
+
create_date: '2019-03-19'
|
|
364
|
+
update_date: '2024-02-18'
|
|
365
|
+
expiry_date: '2025-03-19'
|
|
366
|
+
domain_registrar:
|
|
367
|
+
iana_id: '1068'
|
|
368
|
+
registrar_name: NAMECHEAP INC
|
|
369
|
+
whois_server: whois.namecheap.com
|
|
370
|
+
website_url: http://www.namecheap.com
|
|
371
|
+
email_address: abuse@namecheap.com
|
|
372
|
+
phone_number: '+1.9854014545'
|
|
373
|
+
reseller_contact:
|
|
374
|
+
name: NAMECHEAP INC
|
|
375
|
+
email_address: N/A
|
|
376
|
+
phone: N/A
|
|
377
|
+
registrant_contact:
|
|
378
|
+
name: Redacted for Privacy
|
|
379
|
+
company: Privacy service provided by Withheld for Privacy ehf
|
|
380
|
+
street: Kalkofnsvegur 2
|
|
381
|
+
city: Reykjavik
|
|
382
|
+
state: Capital Region
|
|
383
|
+
zip_code: '101'
|
|
384
|
+
country_name: Iceland
|
|
385
|
+
country_code: IS
|
|
386
|
+
email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com
|
|
387
|
+
phone: '+354.4212434'
|
|
388
|
+
fax: N/A
|
|
389
|
+
mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland
|
|
390
|
+
administrative_contact:
|
|
391
|
+
name: Redacted for Privacy
|
|
392
|
+
company: Privacy service provided by Withheld for Privacy ehf
|
|
393
|
+
street: Kalkofnsvegur 2
|
|
394
|
+
city: Reykjavik
|
|
395
|
+
state: Capital Region
|
|
396
|
+
zip_code: '101'
|
|
397
|
+
country_name: Iceland
|
|
398
|
+
country_code: IS
|
|
399
|
+
email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com
|
|
400
|
+
phone: '+354.4212434'
|
|
401
|
+
fax: N/A
|
|
402
|
+
mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland
|
|
403
|
+
technical_contact:
|
|
404
|
+
name: Redacted for Privacy
|
|
405
|
+
company: Privacy service provided by Withheld for Privacy ehf
|
|
406
|
+
street: Kalkofnsvegur 2
|
|
407
|
+
city: Reykjavik
|
|
408
|
+
state: Capital Region
|
|
409
|
+
zip_code: '101'
|
|
410
|
+
country_name: Iceland
|
|
411
|
+
country_code: IS
|
|
412
|
+
email_address: b8e54d7b11b347b285b60992e0889dde.protect@withheldforprivacy.com
|
|
413
|
+
phone: '+354.4212434'
|
|
414
|
+
fax: N/A
|
|
415
|
+
mailing_address: Kalkofnsvegur 2, 101 Reykjavik, Capital Region, Iceland
|
|
416
|
+
billing_contact:
|
|
417
|
+
name: N/A
|
|
418
|
+
company: N/A
|
|
419
|
+
street: N/A
|
|
420
|
+
city: N/A
|
|
421
|
+
state: N/A
|
|
422
|
+
zip_code: N/A
|
|
423
|
+
country_name: N/A
|
|
424
|
+
country_code: N/A
|
|
425
|
+
email_address: N/A
|
|
426
|
+
phone: N/A
|
|
427
|
+
fax: N/A
|
|
428
|
+
mailing_address: N/A
|
|
429
|
+
name_servers:
|
|
430
|
+
- dns3.cloudns.net
|
|
431
|
+
- dns4.cloudns.net
|
|
432
|
+
- dns7.cloudns.net
|
|
433
|
+
- dns8.cloudns.net
|
|
434
|
+
domain_status:
|
|
435
|
+
- clientTransferProhibited
|
|
436
|
+
whois_raw_domain: Currently live lookup is not possible. It is the latest data in our database.
|
|
437
|
+
registry_data:
|
|
438
|
+
domain_name: WHOISFREAKS.COM
|
|
439
|
+
query_time: '2024-07-11 13:03:30'
|
|
440
|
+
whois_server: whois.verisign-grs.com
|
|
441
|
+
domain_registered: 'yes'
|
|
442
|
+
create_date: N/A
|
|
443
|
+
update_date: N/A
|
|
444
|
+
expiry_date: N/A
|
|
445
|
+
domain_registrar:
|
|
446
|
+
iana_id: '1068'
|
|
447
|
+
registrar_name: NameCheap, Inc.
|
|
448
|
+
whois_server: whois.namecheap.com
|
|
449
|
+
website_url: http://www.namecheap.com
|
|
450
|
+
email_address: abuse@namecheap.com
|
|
451
|
+
phone_number: '+1.6613102107'
|
|
452
|
+
name_servers:
|
|
453
|
+
- dns3.cloudns.net
|
|
454
|
+
- dns4.cloudns.net
|
|
455
|
+
- dns7.cloudns.net
|
|
456
|
+
- dns8.cloudns.net
|
|
457
|
+
domain_status:
|
|
458
|
+
- clientTransferProhibited
|
|
459
|
+
whois_raw_registry: Currently live lookup is not possible. It is the latest data in our database.
|
|
272
460
|
headers:
|
|
273
461
|
X-AF-Credits-Cost:
|
|
274
462
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
275
463
|
'400':
|
|
276
|
-
description: Bad Request — Missing or invalid domainName parameter
|
|
464
|
+
description: Bad Request — Missing or invalid domainName parameter, or missing API key
|
|
277
465
|
content:
|
|
278
466
|
application/json:
|
|
279
467
|
schema:
|
|
@@ -287,19 +475,109 @@ paths:
|
|
|
287
475
|
path: /v2.0/domain/whois/live
|
|
288
476
|
status: 400
|
|
289
477
|
timestamp: '2026-07-23T08:04:19.197Z'
|
|
478
|
+
missingApiKey:
|
|
479
|
+
summary: Missing API key
|
|
480
|
+
value:
|
|
481
|
+
error: Invalid Param Exception
|
|
482
|
+
message: Please provide apiKey
|
|
483
|
+
path: /v2.0/domain/whois/live
|
|
484
|
+
status: 400
|
|
485
|
+
timestamp: '2026-11-20T11:12:59.795Z'
|
|
290
486
|
invalidDomain:
|
|
291
487
|
summary: Malformed domain name
|
|
292
488
|
value:
|
|
293
489
|
timestamp: '2026-07-23T08:04:18.733Z'
|
|
294
490
|
status: 400
|
|
295
491
|
error: Invalid Param Exception
|
|
296
|
-
message: 'Please pass domain param correct value [For Technical Support: support@
|
|
492
|
+
message: 'Please pass domain param correct value [For Technical Support: support@apifreaks.com]'
|
|
297
493
|
path: /v2.0/whois/live
|
|
298
494
|
headers:
|
|
299
495
|
X-AF-Credits-Cost:
|
|
300
496
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
497
|
+
'401':
|
|
498
|
+
description: Unauthorized — The API key is invalid or inactive, or the subscription, credits or account are not usable
|
|
499
|
+
content:
|
|
500
|
+
application/json:
|
|
501
|
+
schema:
|
|
502
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
503
|
+
examples:
|
|
504
|
+
invalidApiKey:
|
|
505
|
+
summary: Invalid API key
|
|
506
|
+
value:
|
|
507
|
+
error: API Access Exception
|
|
508
|
+
message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'
|
|
509
|
+
path: /v2.0/domain/whois/live
|
|
510
|
+
status: 401
|
|
511
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
512
|
+
inactiveApiKey:
|
|
513
|
+
summary: Inactive API key
|
|
514
|
+
value:
|
|
515
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
516
|
+
status: 401
|
|
517
|
+
error: API Access Exception
|
|
518
|
+
message: Provided API key is inactive.
|
|
519
|
+
path: /v2.0/domain/whois/live
|
|
520
|
+
noSubscription:
|
|
521
|
+
summary: No subscription or credits
|
|
522
|
+
value:
|
|
523
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
524
|
+
status: 401
|
|
525
|
+
error: API Access Exception
|
|
526
|
+
message: Please buy a subscription plan or add api credits, then use this api key.
|
|
527
|
+
path: /v2.0/domain/whois/live
|
|
528
|
+
subscriptionDeactivated:
|
|
529
|
+
summary: Subscription deactivated
|
|
530
|
+
value:
|
|
531
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
532
|
+
status: 401
|
|
533
|
+
error: API Access Exception
|
|
534
|
+
message: Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.
|
|
535
|
+
path: /v2.0/domain/whois/live
|
|
536
|
+
paymentFailure:
|
|
537
|
+
summary: Subscription deactivated after payment failures
|
|
538
|
+
value:
|
|
539
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
540
|
+
status: 401
|
|
541
|
+
error: API Access Exception
|
|
542
|
+
message: Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.
|
|
543
|
+
path: /v2.0/domain/whois/live
|
|
544
|
+
accountDeactivated:
|
|
545
|
+
summary: Account deactivated
|
|
546
|
+
value:
|
|
547
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
548
|
+
status: 401
|
|
549
|
+
error: API Access Exception
|
|
550
|
+
message: Your account is deactivated.
|
|
551
|
+
path: /v2.0/domain/whois/live
|
|
552
|
+
blockedSuspiciousActivity:
|
|
553
|
+
summary: Blocked for suspicious activity
|
|
554
|
+
value:
|
|
555
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
556
|
+
status: 401
|
|
557
|
+
error: API Access Exception
|
|
558
|
+
message: You are blocked due to suspicious activity.
|
|
559
|
+
path: /v2.0/domain/whois/live
|
|
560
|
+
apiRecordNotFound:
|
|
561
|
+
summary: API record not found
|
|
562
|
+
value:
|
|
563
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
564
|
+
status: 401
|
|
565
|
+
error: API Access Exception
|
|
566
|
+
message: Api record not found.
|
|
567
|
+
path: /v2.0/domain/whois/live
|
|
568
|
+
suspiciousActivity:
|
|
569
|
+
summary: Suspicious activity
|
|
570
|
+
value:
|
|
571
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
572
|
+
status: 401
|
|
573
|
+
error: API Access Exception
|
|
574
|
+
message: Suspicious Activity.
|
|
575
|
+
path: /v2.0/domain/whois/live
|
|
576
|
+
headers:
|
|
577
|
+
X-AF-Credits-Cost:
|
|
578
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
301
579
|
'403':
|
|
302
|
-
description: Forbidden — Domain extension not supported for live WHOIS
|
|
580
|
+
description: Forbidden — Domain extension not supported for live WHOIS, or the domain belongs to an inactive TLD
|
|
303
581
|
content:
|
|
304
582
|
application/json:
|
|
305
583
|
schema:
|
|
@@ -313,6 +591,199 @@ paths:
|
|
|
313
591
|
error: Not Supported Domain extension
|
|
314
592
|
message: We are not providing the whois of this domain extension (local)
|
|
315
593
|
path: /v2.0/whois/live
|
|
594
|
+
inactiveTld:
|
|
595
|
+
summary: Domain belongs to an inactive TLD
|
|
596
|
+
value:
|
|
597
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
598
|
+
status: 403
|
|
599
|
+
message: Provided domain belongs to an inactive TLD. Please try to use historical whois lookup.
|
|
600
|
+
path: /v2.0/whois/live
|
|
601
|
+
headers:
|
|
602
|
+
X-AF-Credits-Cost:
|
|
603
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
604
|
+
'406':
|
|
605
|
+
description: Not Acceptable — The format value is not supported
|
|
606
|
+
content:
|
|
607
|
+
application/json:
|
|
608
|
+
schema:
|
|
609
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
610
|
+
examples:
|
|
611
|
+
unsupportedFormat:
|
|
612
|
+
summary: Unsupported format value
|
|
613
|
+
value:
|
|
614
|
+
error: Unsupported Media Type
|
|
615
|
+
message: The media type specified in the request is not supported. For more details, please refer to the API documentation.
|
|
616
|
+
path: /v2.0/domain/whois/live
|
|
617
|
+
status: 406
|
|
618
|
+
timestamp: '2026-11-20T11:13:01.252Z'
|
|
619
|
+
headers:
|
|
620
|
+
X-AF-Credits-Cost:
|
|
621
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
622
|
+
'408':
|
|
623
|
+
description: Request Timeout — The WHOIS data could not be fetched
|
|
624
|
+
content:
|
|
625
|
+
application/json:
|
|
626
|
+
schema:
|
|
627
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
628
|
+
examples:
|
|
629
|
+
fetchWhoisFailed:
|
|
630
|
+
summary: Unable to fetch WHOIS data
|
|
631
|
+
value:
|
|
632
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
633
|
+
status: 408
|
|
634
|
+
error: Fetching Whois Data Failed
|
|
635
|
+
message: 'Unable to fetch whois data.Please try again [For Technical Support: support@apifreaks.com]'
|
|
636
|
+
path: /v2.0/domain/whois/live
|
|
637
|
+
headers:
|
|
638
|
+
X-AF-Credits-Cost:
|
|
639
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
640
|
+
'412':
|
|
641
|
+
description: Precondition Failed — The API plan request limit is exceeded and the subscription is canceled
|
|
642
|
+
content:
|
|
643
|
+
application/json:
|
|
644
|
+
schema:
|
|
645
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
646
|
+
examples:
|
|
647
|
+
planLimitExceeded:
|
|
648
|
+
summary: API plan request limit exceeded
|
|
649
|
+
value:
|
|
650
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
651
|
+
status: 412
|
|
652
|
+
error: Fetching Whois Data Failed
|
|
653
|
+
message: 'You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]'
|
|
654
|
+
path: /v2.0/domain/whois/live
|
|
655
|
+
headers:
|
|
656
|
+
X-AF-Credits-Cost:
|
|
657
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
658
|
+
'413':
|
|
659
|
+
description: Payload Too Large — The API credits or surcharge request limit is exceeded
|
|
660
|
+
content:
|
|
661
|
+
application/json:
|
|
662
|
+
schema:
|
|
663
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
664
|
+
examples:
|
|
665
|
+
surchargeLimitExceeded:
|
|
666
|
+
summary: Surcharge request limit exceeded
|
|
667
|
+
value:
|
|
668
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
669
|
+
status: 413
|
|
670
|
+
error: Fetching Whois Data Failed
|
|
671
|
+
message: 'You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan. [For Technical Support email at: support@apifreaks.com]'
|
|
672
|
+
path: /v2.0/domain/whois/live
|
|
673
|
+
creditsLimitExceeded:
|
|
674
|
+
summary: API credits request limit exceeded
|
|
675
|
+
value:
|
|
676
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
677
|
+
status: 413
|
|
678
|
+
error: Fetching Whois Data Failed
|
|
679
|
+
message: You have exceeded the limit of api credits requests [allowed_request_no]. Please upgrade your plan.
|
|
680
|
+
path: /v2.0/domain/whois/live
|
|
681
|
+
headers:
|
|
682
|
+
X-AF-Credits-Cost:
|
|
683
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
684
|
+
'429':
|
|
685
|
+
description: Too Many Requests — The per-minute request limit is reached
|
|
686
|
+
content:
|
|
687
|
+
application/json:
|
|
688
|
+
schema:
|
|
689
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
690
|
+
examples:
|
|
691
|
+
rateLimited:
|
|
692
|
+
summary: Per-minute request limit reached
|
|
693
|
+
value:
|
|
694
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
695
|
+
status: 429
|
|
696
|
+
error: Fetching Whois Data Failed
|
|
697
|
+
message: Please slow down. Your maximum request limit per minute reached.
|
|
698
|
+
path: /v2.0/domain/whois/live
|
|
699
|
+
headers:
|
|
700
|
+
X-AF-Credits-Cost:
|
|
701
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
702
|
+
'499':
|
|
703
|
+
description: Client Closed Request — The client request or connection timeout is too short
|
|
704
|
+
content:
|
|
705
|
+
application/json:
|
|
706
|
+
schema:
|
|
707
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
708
|
+
examples:
|
|
709
|
+
clientTimeoutTooShort:
|
|
710
|
+
summary: Client timeout too short
|
|
711
|
+
value:
|
|
712
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
713
|
+
status: 499
|
|
714
|
+
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.
|
|
715
|
+
path: /v2.0/domain/whois/live
|
|
716
|
+
headers:
|
|
717
|
+
X-AF-Credits-Cost:
|
|
718
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
719
|
+
'500':
|
|
720
|
+
description: Internal Server Error
|
|
721
|
+
content:
|
|
722
|
+
application/json:
|
|
723
|
+
schema:
|
|
724
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
725
|
+
examples:
|
|
726
|
+
internalServerError:
|
|
727
|
+
summary: Internal server error
|
|
728
|
+
value:
|
|
729
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
730
|
+
status: 500
|
|
731
|
+
error: Fetching Whois Data Failed
|
|
732
|
+
message: 'Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]'
|
|
733
|
+
path: /v2.0/domain/whois/live
|
|
734
|
+
headers:
|
|
735
|
+
X-AF-Credits-Cost:
|
|
736
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
737
|
+
'503':
|
|
738
|
+
description: Service Unavailable
|
|
739
|
+
content:
|
|
740
|
+
application/json:
|
|
741
|
+
schema:
|
|
742
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
743
|
+
examples:
|
|
744
|
+
serviceUnavailable:
|
|
745
|
+
summary: Service unavailable
|
|
746
|
+
value:
|
|
747
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
748
|
+
status: 503
|
|
749
|
+
error: Fetching Whois Data Failed
|
|
750
|
+
message: 'Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]'
|
|
751
|
+
path: /v2.0/domain/whois/live
|
|
752
|
+
headers:
|
|
753
|
+
X-AF-Credits-Cost:
|
|
754
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
755
|
+
'504':
|
|
756
|
+
description: Gateway Timeout — The request timed out
|
|
757
|
+
content:
|
|
758
|
+
application/json:
|
|
759
|
+
schema:
|
|
760
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
761
|
+
examples:
|
|
762
|
+
requestTimedOut:
|
|
763
|
+
summary: Request timed out
|
|
764
|
+
value:
|
|
765
|
+
timestamp: '2024-07-10T13:47:02.486Z'
|
|
766
|
+
status: 504
|
|
767
|
+
error: Fetching Whois Data Failed
|
|
768
|
+
message: 'Request is timed-out. [For Technical Support email at: support@apifreaks.com]'
|
|
769
|
+
path: /v2.0/domain/whois/live
|
|
770
|
+
headers:
|
|
771
|
+
X-AF-Credits-Cost:
|
|
772
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
773
|
+
'505':
|
|
774
|
+
description: HTTP Version Not Supported
|
|
775
|
+
content:
|
|
776
|
+
application/json:
|
|
777
|
+
schema:
|
|
778
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
779
|
+
examples:
|
|
780
|
+
httpVersionOutdated:
|
|
781
|
+
summary: Outdated HTTP version
|
|
782
|
+
value:
|
|
783
|
+
timestamp: '2026-11-20T11:13:00.607Z'
|
|
784
|
+
status: 505
|
|
785
|
+
message: You might be using an outdated HTTP version.
|
|
786
|
+
path: /v2.0/domain/whois/live
|
|
316
787
|
headers:
|
|
317
788
|
X-AF-Credits-Cost:
|
|
318
789
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|