@apifreaks/openapi-specs 0.4.19 → 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 (35) hide show
  1. package/dist/index.cjs +5142 -694
  2. package/dist/index.js +5142 -694
  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/screenshot/bulk-screenshot.yaml +464 -220
  9. package/dist/specs/screenshot/website-screenshot.yaml +467 -214
  10. package/dist/specs/timezone/timezone-converter.yaml +36 -8
  11. package/dist/specs/timezone/timezone-lookup.yaml +36 -10
  12. package/dist/specs/weather/time-series-weather.yaml +6 -7
  13. package/dist/specs/whois/asn-lookup.yaml +676 -37
  14. package/dist/specs/whois/bulk-whois-lookup.yaml +480 -2
  15. package/dist/specs/whois/domain-whois-history-lookup.yaml +222 -2
  16. package/dist/specs/whois/reverse-whois.yaml +316 -8
  17. package/dist/specs/whois/whois-domain-lookup.yaml +482 -11
  18. package/dist/specs/whois/whois-ip-lookup.yaml +306 -12
  19. package/package.json +1 -1
  20. package/specs/commodity/historical-commodity-prices.json +37 -11
  21. package/specs/dns/bulk-dns-lookup.json +274 -29
  22. package/specs/dns/dns-lookup.json +13 -2
  23. package/specs/financial/bulk-vat-rates-country.json +33 -4
  24. package/specs/geography/flags-supported.json +20 -13
  25. package/specs/screenshot/bulk-screenshot.json +537 -232
  26. package/specs/screenshot/website-screenshot.json +584 -247
  27. package/specs/timezone/timezone-converter.json +48 -8
  28. package/specs/timezone/timezone-lookup.json +53 -10
  29. package/specs/weather/time-series-weather.json +7 -7
  30. package/specs/whois/asn-lookup.json +878 -54
  31. package/specs/whois/bulk-whois-lookup.json +612 -2
  32. package/specs/whois/domain-whois-history-lookup.json +307 -2
  33. package/specs/whois/reverse-whois.json +453 -9
  34. package/specs/whois/whois-domain-lookup.json +632 -11
  35. package/specs/whois/whois-ip-lookup.json +424 -12
@@ -163,7 +163,7 @@ paths:
163
163
  X-AF-Credits-Cost:
164
164
  $ref: '#/components/headers/X-AF-Credits-Cost'
165
165
  '400':
166
- description: Bad Request — Invalid domainName parameter
166
+ description: Bad Request — Missing or invalid domainName parameter, or missing apiKey
167
167
  content:
168
168
  application/json:
169
169
  schema:
@@ -175,11 +175,106 @@ paths:
175
175
  timestamp: '2026-07-23T07:47:39.105Z'
176
176
  status: 400
177
177
  error: Invalid Param Exception
178
- message: 'Please pass domain param correct value [For Technical Support: support@whoisfreaks.com]'
178
+ message: 'Please pass domain param correct value [For Technical Support: support@apifreaks.com]'
179
179
  path: /v1.0/whois
180
+ missingDomain:
181
+ summary: Missing or empty domainName parameter
182
+ value:
183
+ error: Invalid Param Exception
184
+ message: please pass correct parameters
185
+ path: /v1.0/domain/whois/history
186
+ status: 400
187
+ timestamp: '2026-11-20T11:12:56.465Z'
188
+ missingApiKey:
189
+ summary: Missing apiKey
190
+ value:
191
+ error: Invalid Param Exception
192
+ message: Please provide apiKey
193
+ path: /v1.0/domain/whois/history
194
+ status: 400
195
+ timestamp: '2026-11-20T11:12:59.785Z'
180
196
  headers:
181
197
  X-AF-Credits-Cost:
182
198
  $ref: '#/components/headers/X-AF-Credits-Cost'
199
+ '401':
200
+ description: Unauthorized — API key invalid or inactive, no subscription or credits, deactivated subscription or account, or suspicious activity
201
+ content:
202
+ application/json:
203
+ schema:
204
+ $ref: '#/components/schemas/ErrorResponse'
205
+ examples:
206
+ invalidApiKey:
207
+ summary: Invalid API key
208
+ value:
209
+ error: API Access Exception
210
+ message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'
211
+ path: /v1.0/domain/whois/history
212
+ status: 401
213
+ timestamp: '2026-11-20T11:13:00.576Z'
214
+ inactiveApiKey:
215
+ summary: Inactive API key
216
+ value:
217
+ error: API Access Exception
218
+ message: Provided API key is inactive.
219
+ path: /v1.0/domain/whois/history
220
+ status: 401
221
+ timestamp: '2026-11-20T11:13:00.576Z'
222
+ noSubscription:
223
+ summary: No subscription plan or credits
224
+ value:
225
+ error: API Access Exception
226
+ message: Please buy a subscription plan or add api credits, then use this api key.
227
+ path: /v1.0/domain/whois/history
228
+ status: 401
229
+ timestamp: '2026-11-20T11:13:00.576Z'
230
+ subscriptionDeactivated:
231
+ summary: Subscription deactivated
232
+ value:
233
+ error: API Access Exception
234
+ message: Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.
235
+ path: /v1.0/domain/whois/history
236
+ status: 401
237
+ timestamp: '2026-11-20T11:13:00.576Z'
238
+ subscriptionDeactivatedPaymentFailure:
239
+ summary: Subscription deactivated after repeated payment failure
240
+ value:
241
+ error: API Access Exception
242
+ message: Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.
243
+ path: /v1.0/domain/whois/history
244
+ status: 401
245
+ timestamp: '2026-11-20T11:13:00.576Z'
246
+ accountDeactivated:
247
+ summary: Account deactivated
248
+ value:
249
+ error: API Access Exception
250
+ message: Your account is deactivated.
251
+ path: /v1.0/domain/whois/history
252
+ status: 401
253
+ timestamp: '2026-11-20T11:13:00.576Z'
254
+ blockedSuspiciousActivity:
255
+ summary: Blocked for suspicious activity
256
+ value:
257
+ error: API Access Exception
258
+ message: You are blocked due to suspicious activity.
259
+ path: /v1.0/domain/whois/history
260
+ status: 401
261
+ timestamp: '2026-11-20T11:13:00.576Z'
262
+ apiRecordNotFound:
263
+ summary: API record not found
264
+ value:
265
+ error: API Access Exception
266
+ message: Api record not found.
267
+ path: /v1.0/domain/whois/history
268
+ status: 401
269
+ timestamp: '2026-11-20T11:13:00.576Z'
270
+ suspiciousActivity:
271
+ summary: Suspicious activity
272
+ value:
273
+ error: API Access Exception
274
+ message: Suspicious Activity.
275
+ path: /v1.0/domain/whois/history
276
+ status: 401
277
+ timestamp: '2026-11-20T11:13:00.576Z'
183
278
  '404':
184
279
  description: Not Found — No historical WHOIS records for the domain
185
280
  content:
@@ -198,6 +293,131 @@ paths:
198
293
  headers:
199
294
  X-AF-Credits-Cost:
200
295
  $ref: '#/components/headers/X-AF-Credits-Cost'
296
+ '412':
297
+ description: Precondition Failed — API plan request limit exceeded and the subscription is canceled
298
+ content:
299
+ application/json:
300
+ schema:
301
+ $ref: '#/components/schemas/ErrorResponse'
302
+ examples:
303
+ planLimitExceeded:
304
+ summary: API plan request limit exceeded
305
+ value:
306
+ timestamp: '2024-07-10T13:47:02.486Z'
307
+ status: 412
308
+ error: Fetching Whois Data Failed
309
+ message: 'You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]'
310
+ path: /v1.0/domain/whois/history
311
+ '413':
312
+ description: Payload Too Large — API credit or surcharge request limit exceeded
313
+ content:
314
+ application/json:
315
+ schema:
316
+ $ref: '#/components/schemas/ErrorResponse'
317
+ examples:
318
+ surchargeLimitExceeded:
319
+ summary: Surcharge request limit exceeded
320
+ value:
321
+ timestamp: '2024-07-10T13:47:02.486Z'
322
+ status: 413
323
+ error: Fetching Whois Data Failed
324
+ 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]'
325
+ path: /v1.0/domain/whois/history
326
+ creditLimitExceeded:
327
+ summary: API credit request limit exceeded
328
+ value:
329
+ message: You have exceeded the limit of api credits requests [allowed_request_no]. Please upgrade your plan.
330
+ path: /v1.0/domain/whois/history
331
+ status: 413
332
+ timestamp: '2026-11-20T11:13:00.576Z'
333
+ '429':
334
+ description: Too Many Requests — Per-minute request limit reached
335
+ content:
336
+ application/json:
337
+ schema:
338
+ $ref: '#/components/schemas/ErrorResponse'
339
+ examples:
340
+ rateLimited:
341
+ summary: Request limit per minute reached
342
+ value:
343
+ timestamp: '2024-07-10T13:47:02.486Z'
344
+ status: 429
345
+ error: Fetching Whois Data Failed
346
+ message: Please slow down. Your maximum request limit per minute reached.
347
+ path: /v1.0/domain/whois/history
348
+ '499':
349
+ description: Client Closed Request — The client timeout is too short and the connection was closed before the response completed
350
+ content:
351
+ application/json:
352
+ schema:
353
+ $ref: '#/components/schemas/ErrorResponse'
354
+ examples:
355
+ clientTimeoutTooShort:
356
+ summary: Client timeout too short
357
+ value:
358
+ 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.
359
+ path: /v1.0/domain/whois/history
360
+ status: 499
361
+ timestamp: '2026-11-20T11:13:00.576Z'
362
+ '500':
363
+ description: Internal Server Error
364
+ content:
365
+ application/json:
366
+ schema:
367
+ $ref: '#/components/schemas/ErrorResponse'
368
+ examples:
369
+ internalServerError:
370
+ summary: Internal server error
371
+ value:
372
+ timestamp: '2024-07-10T13:47:02.486Z'
373
+ status: 500
374
+ error: Fetching Whois Data Failed
375
+ message: 'Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]'
376
+ path: /v1.0/domain/whois/history
377
+ '503':
378
+ description: Service Unavailable
379
+ content:
380
+ application/json:
381
+ schema:
382
+ $ref: '#/components/schemas/ErrorResponse'
383
+ examples:
384
+ serviceUnavailable:
385
+ summary: Service unavailable
386
+ value:
387
+ timestamp: '2024-07-10T13:47:02.486Z'
388
+ status: 503
389
+ error: Fetching Whois Data Failed
390
+ message: 'Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]'
391
+ path: /v1.0/domain/whois/history
392
+ '504':
393
+ description: Gateway Timeout — The request timed out
394
+ content:
395
+ application/json:
396
+ schema:
397
+ $ref: '#/components/schemas/ErrorResponse'
398
+ examples:
399
+ requestTimedOut:
400
+ summary: Request timed out
401
+ value:
402
+ timestamp: '2024-07-10T13:47:02.486Z'
403
+ status: 504
404
+ error: Fetching Whois Data Failed
405
+ message: 'Request is timed-out. [For Technical Support email at: support@apifreaks.com]'
406
+ path: /v1.0/domain/whois/history
407
+ '505':
408
+ description: HTTP Version Not Supported — The HTTP version used is outdated
409
+ content:
410
+ application/json:
411
+ schema:
412
+ $ref: '#/components/schemas/ErrorResponse'
413
+ examples:
414
+ httpVersionNotSupported:
415
+ summary: Outdated HTTP version
416
+ value:
417
+ message: You might be using an outdated HTTP version.
418
+ path: /v1.0/domain/whois/history
419
+ status: 505
420
+ timestamp: '2026-11-20T11:13:00.576Z'
201
421
  components:
202
422
  securitySchemes:
203
423
  ApiKeyAuthHeader:
@@ -157,20 +157,122 @@ paths:
157
157
  X-Concurrent-Threads-Active:
158
158
  $ref: '#/components/headers/X-Concurrent-Threads-Active'
159
159
  '400':
160
- description: Bad Request -- Missing or invalid search parameters
160
+ description: Bad Request -- Missing API key, missing or invalid search parameters, or an unsupported mode
161
161
  content:
162
162
  application/json:
163
163
  schema:
164
164
  $ref: '#/components/schemas/ErrorResponse'
165
165
  examples:
166
166
  missingParam:
167
- summary: Missing required search parameter
167
+ summary: No search parameter supplied (keyword, email, owner or company)
168
168
  value:
169
- timestamp: '2025-08-14T10:01:46.601Z'
169
+ error: Invalid Param Exception
170
+ message: please pass correct parameters
171
+ path: /v1.0/domain/whois/reverse
170
172
  status: 400
173
+ timestamp: '2026-11-20T11:12:56.784Z'
174
+ missingApiKey:
175
+ summary: Missing API key
176
+ value:
171
177
  error: Invalid Param Exception
172
- message: Please pass param value.
178
+ message: Please provide apiKey
179
+ path: /v1.0/domain/whois/reverse
180
+ status: 400
181
+ timestamp: '2026-11-20T11:12:57.333Z'
182
+ invalidMode:
183
+ summary: Unsupported mode value (live upstream error)
184
+ value:
185
+ timestamp: '2026-11-20T11:13:00.645837354Z'
186
+ status: 400
187
+ error: Invalid Param Exception
188
+ message: 'Please pass domain param correct value [For Technical Support: support@apifreaks.com]'
189
+ path: /v1.0/whois
190
+ headers:
191
+ X-AF-Credits-Cost:
192
+ $ref: '#/components/headers/X-AF-Credits-Cost'
193
+ X-Concurrent-Threads:
194
+ $ref: '#/components/headers/X-Concurrent-Threads'
195
+ X-Concurrent-Threads-Active:
196
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
197
+ '401':
198
+ description: Unauthorized -- Invalid, inactive or blocked API key, or no active subscription or credits
199
+ content:
200
+ application/json:
201
+ schema:
202
+ $ref: '#/components/schemas/ErrorResponse'
203
+ examples:
204
+ invalidApiKey:
205
+ summary: Invalid API key
206
+ value:
207
+ error: API Access Exception
208
+ message: 'Provided API key is invalid. [For Technical Support: support@apifreaks.com]'
173
209
  path: /v1.0/domain/whois/reverse
210
+ status: 401
211
+ timestamp: '2026-11-20T11:12:57.844Z'
212
+ inactiveApiKey:
213
+ summary: Inactive API key
214
+ value:
215
+ error: API Access Exception
216
+ message: Provided API key is inactive.
217
+ path: /v1.0/domain/whois/reverse
218
+ status: 401
219
+ timestamp: '2026-11-20T11:12:57.844Z'
220
+ noSubscription:
221
+ summary: No subscription plan or API credits
222
+ value:
223
+ error: API Access Exception
224
+ message: Please buy a subscription plan or add api credits, then use this api key.
225
+ path: /v1.0/domain/whois/reverse
226
+ status: 401
227
+ timestamp: '2026-11-20T11:12:57.844Z'
228
+ subscriptionDeactivated:
229
+ summary: Subscription deactivated
230
+ value:
231
+ error: API Access Exception
232
+ message: Your subscription is deactivated. Please buy new plan or add api credits for using apifreaks APIs.
233
+ path: /v1.0/domain/whois/reverse
234
+ status: 401
235
+ timestamp: '2026-11-20T11:12:57.844Z'
236
+ subscriptionDeactivatedPaymentFailure:
237
+ summary: Subscription deactivated after repeated payment failure
238
+ value:
239
+ error: API Access Exception
240
+ message: Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using apifreaks APIs.
241
+ path: /v1.0/domain/whois/reverse
242
+ status: 401
243
+ timestamp: '2026-11-20T11:12:57.844Z'
244
+ accountDeactivated:
245
+ summary: Account deactivated
246
+ value:
247
+ error: API Access Exception
248
+ message: Your account is deactivated.
249
+ path: /v1.0/domain/whois/reverse
250
+ status: 401
251
+ timestamp: '2026-11-20T11:12:57.844Z'
252
+ blockedSuspiciousActivity:
253
+ summary: Blocked for suspicious activity
254
+ value:
255
+ error: API Access Exception
256
+ message: You are blocked due to suspicious activity.
257
+ path: /v1.0/domain/whois/reverse
258
+ status: 401
259
+ timestamp: '2026-11-20T11:12:57.844Z'
260
+ apiRecordNotFound:
261
+ summary: API record not found
262
+ value:
263
+ error: API Access Exception
264
+ message: Api record not found.
265
+ path: /v1.0/domain/whois/reverse
266
+ status: 401
267
+ timestamp: '2026-11-20T11:12:57.844Z'
268
+ suspiciousActivity:
269
+ summary: Suspicious activity
270
+ value:
271
+ error: API Access Exception
272
+ message: Suspicious Activity.
273
+ path: /v1.0/domain/whois/reverse
274
+ status: 401
275
+ timestamp: '2026-11-20T11:12:57.844Z'
174
276
  headers:
175
277
  X-AF-Credits-Cost:
176
278
  $ref: '#/components/headers/X-AF-Credits-Cost'
@@ -179,7 +281,7 @@ paths:
179
281
  X-Concurrent-Threads-Active:
180
282
  $ref: '#/components/headers/X-Concurrent-Threads-Active'
181
283
  '404':
182
- description: Not Found -- No domains match the search criteria
284
+ description: Not Found -- No domains match the search criteria, or the HTTP method is not supported by the endpoint
183
285
  content:
184
286
  application/json:
185
287
  schema:
@@ -188,11 +290,217 @@ paths:
188
290
  recordNotFound:
189
291
  summary: No matching domains found
190
292
  value:
191
- timestamp: '2025-08-14T10:01:54.778Z'
293
+ timestamp: '2026-11-20T11:12:59.683452852Z'
192
294
  status: 404
193
- error: Record not found
194
- message: Record not found.
295
+ error: Record Not Found
296
+ message: Record not found
297
+ path: /v1.0/whois
298
+ resourceNotFound:
299
+ summary: Unsupported HTTP method (POST, PUT, PATCH, DELETE); the endpoint accepts GET only
300
+ value:
301
+ error: Resource Not Found
302
+ message: The requested resource could not be found. Please verify the URL and try again.
195
303
  path: /v1.0/domain/whois/reverse
304
+ status: 404
305
+ timestamp: '2026-11-20T11:13:14.136Z'
306
+ headers:
307
+ X-AF-Credits-Cost:
308
+ $ref: '#/components/headers/X-AF-Credits-Cost'
309
+ X-Concurrent-Threads:
310
+ $ref: '#/components/headers/X-Concurrent-Threads'
311
+ X-Concurrent-Threads-Active:
312
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
313
+ '406':
314
+ description: Not Acceptable -- Unsupported format value
315
+ content:
316
+ application/json:
317
+ schema:
318
+ $ref: '#/components/schemas/ErrorResponse'
319
+ examples:
320
+ unsupportedFormat:
321
+ summary: Unsupported format value
322
+ value:
323
+ error: Unsupported Media Type
324
+ message: The media type specified in the request is not supported. For more details, please refer to the API documentation.
325
+ path: /v1.0/domain/whois/reverse
326
+ status: 406
327
+ timestamp: '2026-11-20T11:13:10.159Z'
328
+ headers:
329
+ X-AF-Credits-Cost:
330
+ $ref: '#/components/headers/X-AF-Credits-Cost'
331
+ X-Concurrent-Threads:
332
+ $ref: '#/components/headers/X-Concurrent-Threads'
333
+ X-Concurrent-Threads-Active:
334
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
335
+ '412':
336
+ description: Precondition Failed -- API plan request limit exceeded and subscription canceled
337
+ content:
338
+ application/json:
339
+ schema:
340
+ $ref: '#/components/schemas/ErrorResponse'
341
+ examples:
342
+ planLimitExceeded:
343
+ summary: API plan request limit exceeded
344
+ value:
345
+ timestamp: '2024-07-10T13:47:02.486Z'
346
+ status: 412
347
+ error: Fetching Whois Data Failed
348
+ message: 'You have exceeded the limit of api plan requests and your subscription is canceled. [For Technical Support email at: support@apifreaks.com]'
349
+ path: /v1.0/domain/whois/reverse
350
+ headers:
351
+ X-AF-Credits-Cost:
352
+ $ref: '#/components/headers/X-AF-Credits-Cost'
353
+ X-Concurrent-Threads:
354
+ $ref: '#/components/headers/X-Concurrent-Threads'
355
+ X-Concurrent-Threads-Active:
356
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
357
+ '413':
358
+ description: Payload Too Large -- API credits or surcharge request limit exceeded
359
+ content:
360
+ application/json:
361
+ schema:
362
+ $ref: '#/components/schemas/ErrorResponse'
363
+ examples:
364
+ surchargeLimitExceeded:
365
+ summary: Surcharge request limit exceeded
366
+ value:
367
+ timestamp: '2024-07-10T13:47:02.486Z'
368
+ status: 413
369
+ error: Fetching Whois Data Failed
370
+ 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]'
371
+ path: /v1.0/domain/whois/reverse
372
+ creditsLimitExceeded:
373
+ summary: API credits request limit exceeded
374
+ value:
375
+ message: You have exceeded the limit of api credits requests [allowed_request_no]. Please upgrade your plan.
376
+ upgradePlan:
377
+ summary: Upgrade required
378
+ value:
379
+ message: Please upgrade your plans.
380
+ headers:
381
+ X-AF-Credits-Cost:
382
+ $ref: '#/components/headers/X-AF-Credits-Cost'
383
+ X-Concurrent-Threads:
384
+ $ref: '#/components/headers/X-Concurrent-Threads'
385
+ X-Concurrent-Threads-Active:
386
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
387
+ '429':
388
+ description: Too Many Requests -- Per-minute request limit reached
389
+ content:
390
+ application/json:
391
+ schema:
392
+ $ref: '#/components/schemas/ErrorResponse'
393
+ examples:
394
+ rateLimited:
395
+ summary: Per-minute request limit reached
396
+ value:
397
+ timestamp: '2024-07-10T13:47:02.486Z'
398
+ status: 429
399
+ error: Fetching Whois Data Failed
400
+ message: Please slow down. Your maximum request limit per minute reached.
401
+ path: /v1.0/domain/whois/reverse
402
+ headers:
403
+ X-AF-Credits-Cost:
404
+ $ref: '#/components/headers/X-AF-Credits-Cost'
405
+ X-Concurrent-Threads:
406
+ $ref: '#/components/headers/X-Concurrent-Threads'
407
+ X-Concurrent-Threads-Active:
408
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
409
+ '499':
410
+ description: Client Closed Request -- The client timeout is too short and the connection was closed before the response completed
411
+ content:
412
+ application/json:
413
+ schema:
414
+ $ref: '#/components/schemas/ErrorResponse'
415
+ examples:
416
+ clientTimeout:
417
+ summary: Client timeout too short
418
+ value:
419
+ 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.
420
+ headers:
421
+ X-AF-Credits-Cost:
422
+ $ref: '#/components/headers/X-AF-Credits-Cost'
423
+ X-Concurrent-Threads:
424
+ $ref: '#/components/headers/X-Concurrent-Threads'
425
+ X-Concurrent-Threads-Active:
426
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
427
+ '500':
428
+ description: Internal Server Error
429
+ content:
430
+ application/json:
431
+ schema:
432
+ $ref: '#/components/schemas/ErrorResponse'
433
+ examples:
434
+ internalError:
435
+ summary: Internal server error
436
+ value:
437
+ timestamp: '2024-07-10T13:47:02.486Z'
438
+ status: 500
439
+ error: Fetching Whois Data Failed
440
+ message: 'Internal Server error occurred. [For Technical Support email at: support@apifreaks.com]'
441
+ path: /v1.0/domain/whois/reverse
442
+ headers:
443
+ X-AF-Credits-Cost:
444
+ $ref: '#/components/headers/X-AF-Credits-Cost'
445
+ X-Concurrent-Threads:
446
+ $ref: '#/components/headers/X-Concurrent-Threads'
447
+ X-Concurrent-Threads-Active:
448
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
449
+ '503':
450
+ description: Service Unavailable
451
+ content:
452
+ application/json:
453
+ schema:
454
+ $ref: '#/components/schemas/ErrorResponse'
455
+ examples:
456
+ serviceUnavailable:
457
+ summary: Service unavailable
458
+ value:
459
+ timestamp: '2024-07-10T13:47:02.486Z'
460
+ status: 503
461
+ error: Fetching Whois Data Failed
462
+ message: 'Service is unavailable. Please try after some time. [For Technical Support email at: support@apifreaks.com]'
463
+ path: /v1.0/domain/whois/reverse
464
+ headers:
465
+ X-AF-Credits-Cost:
466
+ $ref: '#/components/headers/X-AF-Credits-Cost'
467
+ X-Concurrent-Threads:
468
+ $ref: '#/components/headers/X-Concurrent-Threads'
469
+ X-Concurrent-Threads-Active:
470
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
471
+ '504':
472
+ description: Gateway Timeout -- Request timed out
473
+ content:
474
+ application/json:
475
+ schema:
476
+ $ref: '#/components/schemas/ErrorResponse'
477
+ examples:
478
+ timedOut:
479
+ summary: Request timed out
480
+ value:
481
+ timestamp: '2024-07-10T13:47:02.486Z'
482
+ status: 504
483
+ error: Fetching Whois Data Failed
484
+ message: 'Request is timed-out. [For Technical Support email at: support@apifreaks.com]'
485
+ path: /v1.0/domain/whois/reverse
486
+ headers:
487
+ X-AF-Credits-Cost:
488
+ $ref: '#/components/headers/X-AF-Credits-Cost'
489
+ X-Concurrent-Threads:
490
+ $ref: '#/components/headers/X-Concurrent-Threads'
491
+ X-Concurrent-Threads-Active:
492
+ $ref: '#/components/headers/X-Concurrent-Threads-Active'
493
+ '505':
494
+ description: HTTP Version Not Supported
495
+ content:
496
+ application/json:
497
+ schema:
498
+ $ref: '#/components/schemas/ErrorResponse'
499
+ examples:
500
+ httpVersion:
501
+ summary: Outdated HTTP version
502
+ value:
503
+ message: You might be using an outdated HTTP version.
196
504
  headers:
197
505
  X-AF-Credits-Cost:
198
506
  $ref: '#/components/headers/X-AF-Credits-Cost'