@apifreaks/openapi-specs 0.4.23 → 0.4.25
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 +4020 -774
- package/dist/index.js +4020 -774
- package/dist/specs/commodity/commodity-fluctuation.yaml +33 -2
- package/dist/specs/commodity/commodity-intraday-rates.yaml +33 -2
- package/dist/specs/commodity/commodity-prices.yaml +33 -2
- package/dist/specs/commodity/commodity-symbols.yaml +68 -1
- package/dist/specs/commodity/commodity-time-series.yaml +33 -2
- package/dist/specs/commodity/historical-commodity-prices.yaml +33 -2
- package/dist/specs/dns/bulk-dns-lookup.yaml +45 -3
- package/dist/specs/dns/dns-history-lookup.yaml +76 -3
- package/dist/specs/dns/dns-lookup.yaml +72 -6
- package/dist/specs/dns/reverse-dns-lookup.yaml +91 -2
- package/dist/specs/financial/bulk-vat-rates-country.yaml +18 -0
- package/dist/specs/financial/financial-apis-supported-countries.yaml +75 -17
- package/dist/specs/financial/iban-validation.yaml +19 -1
- package/dist/specs/financial/swift-code-finder.yaml +18 -0
- package/dist/specs/financial/swift-code-lookup.yaml +18 -0
- package/dist/specs/financial/vat-number-validation.yaml +48 -0
- package/dist/specs/financial/vat-rates-by-ip.yaml +18 -0
- package/dist/specs/financial/vat-rates-country.yaml +18 -0
- package/dist/specs/geocoding/forward-geocoding.yaml +95 -2
- package/dist/specs/geocoding/reverse-geocoding.yaml +71 -0
- package/dist/specs/phone-number-validation/bulk-phone-number-validation.yaml +25 -21
- package/dist/specs/phone-number-validation/phone-validation.yaml +49 -21
- package/dist/specs/scraper/web-scraper.yaml +85 -7
- package/dist/specs/weather/air-quality.yaml +71 -5
- package/dist/specs/weather/astronomy-data.yaml +84 -1
- package/dist/specs/weather/bulk-live-weather.yaml +159 -3
- package/dist/specs/weather/flood-forecast.yaml +61 -11
- package/dist/specs/weather/historical-weather.yaml +53 -3
- package/dist/specs/weather/live-weather.yaml +66 -15
- package/dist/specs/weather/marine-weather.yaml +74 -8
- package/dist/specs/weather/time-series-weather.yaml +60 -8
- package/dist/specs/weather/weather-forecast.yaml +76 -6
- package/dist/specs/whois/asn-lookup.yaml +0 -15
- package/dist/specs/whois/bulk-whois-lookup.yaml +177 -25
- package/dist/specs/whois/domain-whois-history-lookup.yaml +97 -20
- package/dist/specs/whois/whois-domain-lookup.yaml +109 -21
- package/dist/specs/whois/whois-ip-lookup.yaml +86 -16
- package/package.json +1 -1
- package/specs/commodity/commodity-fluctuation.json +44 -2
- package/specs/commodity/commodity-intraday-rates.json +44 -2
- package/specs/commodity/commodity-prices.json +44 -2
- package/specs/commodity/commodity-symbols.json +95 -1
- package/specs/commodity/commodity-time-series.json +44 -2
- package/specs/commodity/historical-commodity-prices.json +44 -2
- package/specs/dns/bulk-dns-lookup.json +63 -4
- package/specs/dns/dns-history-lookup.json +102 -3
- package/specs/dns/dns-lookup.json +96 -6
- package/specs/dns/reverse-dns-lookup.json +121 -2
- package/specs/financial/bulk-vat-rates-country.json +27 -0
- package/specs/financial/financial-apis-supported-countries.json +114 -23
- package/specs/financial/iban-validation.json +28 -1
- package/specs/financial/swift-code-finder.json +27 -0
- package/specs/financial/swift-code-lookup.json +27 -0
- package/specs/financial/vat-number-validation.json +72 -0
- package/specs/financial/vat-rates-by-ip.json +27 -0
- package/specs/financial/vat-rates-country.json +27 -0
- package/specs/geocoding/forward-geocoding.json +127 -2
- package/specs/geocoding/reverse-geocoding.json +102 -0
- package/specs/phone-number-validation/bulk-phone-number-validation.json +35 -30
- package/specs/phone-number-validation/phone-validation.json +64 -29
- package/specs/scraper/web-scraper.json +110 -7
- package/specs/weather/air-quality.json +92 -5
- package/specs/weather/astronomy-data.json +122 -1
- package/specs/weather/bulk-live-weather.json +227 -3
- package/specs/weather/flood-forecast.json +78 -11
- package/specs/weather/historical-weather.json +70 -3
- package/specs/weather/live-weather.json +85 -17
- package/specs/weather/marine-weather.json +95 -8
- package/specs/weather/time-series-weather.json +82 -8
- package/specs/weather/weather-forecast.json +107 -6
- package/specs/whois/asn-lookup.json +0 -22
- package/specs/whois/bulk-whois-lookup.json +116 -47
- package/specs/whois/domain-whois-history-lookup.json +58 -32
- package/specs/whois/whois-domain-lookup.json +99 -39
- package/specs/whois/whois-ip-lookup.json +21 -33
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"name": "format",
|
|
29
29
|
"in": "query",
|
|
30
30
|
"required": false,
|
|
31
|
-
"description": "Format of the response.
|
|
31
|
+
"description": "Format of the response. Only json is supported.",
|
|
32
32
|
"schema": {
|
|
33
33
|
"type": "string",
|
|
34
34
|
"enum": ["json"],
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"type": "string",
|
|
44
44
|
"format": "date"
|
|
45
45
|
},
|
|
46
|
-
"description": "Starting date for the data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards. For precision=daily, the
|
|
46
|
+
"description": "Starting date for the data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards. For precision=daily, the range may span at most 90 days (endDate minus startDate of 89 days or less). For precision=hourly, the range may span at most 7 days (endDate minus startDate of 6 days or less)."
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"name": "endDate",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"type": "string",
|
|
54
54
|
"format": "date"
|
|
55
55
|
},
|
|
56
|
-
"description": "End date for the data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards. For precision=daily, the
|
|
56
|
+
"description": "End date for the data in YYYY-MM-DD format. Historical dates must be past dates only. Current or future dates are not allowed for historical data. Data available from 1940 onwards. For precision=daily, the range may span at most 90 days (endDate minus startDate of 89 days or less). For precision=hourly, the range may span at most 7 days (endDate minus startDate of 6 days or less)."
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
"name": "location",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"schema": {
|
|
62
62
|
"type": "string"
|
|
63
63
|
},
|
|
64
|
-
"description": "City name, place name, or full address.",
|
|
64
|
+
"description": "City name, place name, or full address. Ignored when lat and long are both provided; takes precedence over ip.",
|
|
65
65
|
"required": false
|
|
66
66
|
},
|
|
67
67
|
{
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"schema": {
|
|
71
71
|
"type": "number"
|
|
72
72
|
},
|
|
73
|
-
"description": "Latitude of the location, used together with long.
|
|
73
|
+
"description": "Latitude of the location, used together with long. lat=0 together with long=0 is treated as missing and the location falls back to the requester IP (or to location/ip if given); use a small non-zero value (for example 0.0001) to query the equator or prime meridian.",
|
|
74
74
|
"required": false
|
|
75
75
|
},
|
|
76
76
|
{
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"schema": {
|
|
80
80
|
"type": "number"
|
|
81
81
|
},
|
|
82
|
-
"description": "Longitude of the location, used together with lat.
|
|
82
|
+
"description": "Longitude of the location, used together with lat. lat=0 together with long=0 is treated as missing and the location falls back to the requester IP (or to location/ip if given); use a small non-zero value (for example 0.0001) to query the equator or prime meridian.",
|
|
83
83
|
"required": false
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"schema": {
|
|
89
89
|
"type": "string"
|
|
90
90
|
},
|
|
91
|
-
"description": "IP(v4 or v6) address for location inference.",
|
|
91
|
+
"description": "IP(v4 or v6) address for location inference. Ignored when location or lat/long is provided; if no location parameter is supplied at all, the requester's own IP is used.",
|
|
92
92
|
"required": false
|
|
93
93
|
},
|
|
94
94
|
{
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"type": "string",
|
|
100
100
|
"default": "daily"
|
|
101
101
|
},
|
|
102
|
-
"description": "Precision of the data. daily returns a daily aggregate per date; hourly returns 24 hourly readings per date instead and requires the date range to
|
|
102
|
+
"description": "Precision of the data. daily returns a daily aggregate per date; hourly returns 24 hourly readings per date instead and requires the date range to span at most 7 days (inclusive of both dates).",
|
|
103
103
|
"required": false
|
|
104
104
|
},
|
|
105
105
|
{
|
|
@@ -386,6 +386,80 @@
|
|
|
386
386
|
"error": "error",
|
|
387
387
|
"path": "/v1.0/weather/time-series"
|
|
388
388
|
}
|
|
389
|
+
},
|
|
390
|
+
"UnresolvedCoordinates": {
|
|
391
|
+
"summary": "lat/long not a number, or exactly one of them is 0 (e.g. lat=abc&long=10 or lat=0&long=10)",
|
|
392
|
+
"value": {
|
|
393
|
+
"timestamp": "2026-11-25T10:01:00.000Z",
|
|
394
|
+
"status": 400,
|
|
395
|
+
"message": "Please provide both lat and long parameters.",
|
|
396
|
+
"error": "invalid-params",
|
|
397
|
+
"path": "/v1.0/weather/time-series"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"MissingApiKey": {
|
|
401
|
+
"summary": "No API key supplied (neither X-apiKey header nor apiKey query parameter)",
|
|
402
|
+
"value": {
|
|
403
|
+
"error": "Invalid Param Exception",
|
|
404
|
+
"message": "Please provide apiKey",
|
|
405
|
+
"path": "/v1.0/weather/time-series",
|
|
406
|
+
"status": 400,
|
|
407
|
+
"timestamp": "2026-11-25T10:01:00.000Z"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"headers": {
|
|
414
|
+
"X-AF-Credits-Cost": {
|
|
415
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"401": {
|
|
420
|
+
"description": "Unauthorized — The API key is invalid",
|
|
421
|
+
"content": {
|
|
422
|
+
"application/json": {
|
|
423
|
+
"schema": {
|
|
424
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
425
|
+
},
|
|
426
|
+
"examples": {
|
|
427
|
+
"invalidApiKey": {
|
|
428
|
+
"summary": "Invalid API key",
|
|
429
|
+
"value": {
|
|
430
|
+
"error": "API Access Exception",
|
|
431
|
+
"message": "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
|
|
432
|
+
"path": "/v1.0/weather/time-series",
|
|
433
|
+
"status": 401,
|
|
434
|
+
"timestamp": "2026-11-25T10:01:00.000Z"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"headers": {
|
|
441
|
+
"X-AF-Credits-Cost": {
|
|
442
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"404": {
|
|
447
|
+
"description": "Not Found — Wrong HTTP method or unknown resource",
|
|
448
|
+
"content": {
|
|
449
|
+
"application/json": {
|
|
450
|
+
"schema": {
|
|
451
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
452
|
+
},
|
|
453
|
+
"examples": {
|
|
454
|
+
"ResourceNotFound": {
|
|
455
|
+
"summary": "Unsupported HTTP method for this endpoint (e.g. POST to a GET endpoint)",
|
|
456
|
+
"value": {
|
|
457
|
+
"error": "Resource Not Found",
|
|
458
|
+
"message": "The requested resource could not be found. Please verify the URL and try again.",
|
|
459
|
+
"path": "/v1.0/weather/time-series",
|
|
460
|
+
"status": 404,
|
|
461
|
+
"timestamp": "2026-11-25T10:01:00.000Z"
|
|
462
|
+
}
|
|
389
463
|
}
|
|
390
464
|
}
|
|
391
465
|
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"name": "format",
|
|
29
29
|
"in": "query",
|
|
30
30
|
"required": false,
|
|
31
|
-
"description": "Format of the response.
|
|
31
|
+
"description": "Format of the response. Only json is supported.",
|
|
32
32
|
"schema": {
|
|
33
33
|
"type": "string",
|
|
34
34
|
"enum": ["json"],
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"name": "lat",
|
|
49
49
|
"in": "query",
|
|
50
50
|
"required": false,
|
|
51
|
-
"description": "Latitude of the location. Must be supplied together with long
|
|
51
|
+
"description": "Latitude of the location. Must be supplied together with long. Takes priority over location and ip when combined with them. lat=0 together with long=0 is treated as missing and the location falls back to the requester IP (or to location/ip if given); use a small non-zero value (for example 0.0001) to query the equator or prime meridian.",
|
|
52
52
|
"schema": {
|
|
53
53
|
"type": "number"
|
|
54
54
|
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"name": "long",
|
|
58
58
|
"in": "query",
|
|
59
59
|
"required": false,
|
|
60
|
-
"description": "Longitude of the location. Must be supplied together with lat
|
|
60
|
+
"description": "Longitude of the location. Must be supplied together with lat. lat=0 together with long=0 is treated as missing and the location falls back to the requester IP (or to location/ip if given); use a small non-zero value (for example 0.0001) to query the equator or prime meridian.",
|
|
61
61
|
"schema": {
|
|
62
62
|
"type": "number"
|
|
63
63
|
}
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"name": "startDate",
|
|
76
76
|
"in": "query",
|
|
77
77
|
"required": false,
|
|
78
|
-
"description": "Start date for the forecast in YYYY-MM-DD format. Must be supplied together with endDate
|
|
78
|
+
"description": "Start date for the forecast in YYYY-MM-DD format. Must be supplied together with endDate. Forecast dates must be today or later, and both dates must fall within today through 15 days ahead (16 days inclusive).",
|
|
79
79
|
"schema": {
|
|
80
80
|
"type": "string",
|
|
81
81
|
"format": "date"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"name": "endDate",
|
|
86
86
|
"in": "query",
|
|
87
87
|
"required": false,
|
|
88
|
-
"description": "End date for the forecast in YYYY-MM-DD format. Must be supplied together with startDate
|
|
88
|
+
"description": "End date for the forecast in YYYY-MM-DD format. Must be supplied together with startDate. Forecast dates must be today or later, and both dates must fall within today through 15 days ahead (16 days inclusive).",
|
|
89
89
|
"schema": {
|
|
90
90
|
"type": "string",
|
|
91
91
|
"format": "date"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"name": "forecastDays",
|
|
96
96
|
"in": "query",
|
|
97
97
|
"required": false,
|
|
98
|
-
"description": "Number of days to forecast starting today, from 1 to 16. Default is 7.
|
|
98
|
+
"description": "Number of days to forecast starting today, from 1 to 16. Default is 7. Ignored when startDate/endDate are provided.",
|
|
99
99
|
"schema": {
|
|
100
100
|
"type": "integer",
|
|
101
101
|
"minimum": 1,
|
|
@@ -386,6 +386,107 @@
|
|
|
386
386
|
"error": "error",
|
|
387
387
|
"path": "/v1.0/weather/forecast"
|
|
388
388
|
}
|
|
389
|
+
},
|
|
390
|
+
"ZeroForecastDays": {
|
|
391
|
+
"summary": "forecastDays=0",
|
|
392
|
+
"value": {
|
|
393
|
+
"timestamp": "2026-11-25T10:01:00.000Z",
|
|
394
|
+
"status": 400,
|
|
395
|
+
"message": "End date must be on or after start date.",
|
|
396
|
+
"error": "error",
|
|
397
|
+
"path": "/v1.0/weather/forecast"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"MissingApiKey": {
|
|
401
|
+
"summary": "No API key supplied (neither X-apiKey header nor apiKey query parameter)",
|
|
402
|
+
"value": {
|
|
403
|
+
"error": "Invalid Param Exception",
|
|
404
|
+
"message": "Please provide apiKey",
|
|
405
|
+
"path": "/v1.0/weather/forecast",
|
|
406
|
+
"status": 400,
|
|
407
|
+
"timestamp": "2026-11-25T10:01:00.000Z"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"headers": {
|
|
414
|
+
"X-AF-Credits-Cost": {
|
|
415
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"401": {
|
|
420
|
+
"description": "Unauthorized — The API key is invalid",
|
|
421
|
+
"content": {
|
|
422
|
+
"application/json": {
|
|
423
|
+
"schema": {
|
|
424
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
425
|
+
},
|
|
426
|
+
"examples": {
|
|
427
|
+
"invalidApiKey": {
|
|
428
|
+
"summary": "Invalid API key",
|
|
429
|
+
"value": {
|
|
430
|
+
"error": "API Access Exception",
|
|
431
|
+
"message": "Provided API key is invalid. [For Technical Support: support@apifreaks.com]",
|
|
432
|
+
"path": "/v1.0/weather/forecast",
|
|
433
|
+
"status": 401,
|
|
434
|
+
"timestamp": "2026-11-25T10:01:00.000Z"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"headers": {
|
|
441
|
+
"X-AF-Credits-Cost": {
|
|
442
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"404": {
|
|
447
|
+
"description": "Not Found — Wrong HTTP method or unknown resource",
|
|
448
|
+
"content": {
|
|
449
|
+
"application/json": {
|
|
450
|
+
"schema": {
|
|
451
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
452
|
+
},
|
|
453
|
+
"examples": {
|
|
454
|
+
"ResourceNotFound": {
|
|
455
|
+
"summary": "Unsupported HTTP method for this endpoint (e.g. POST to a GET endpoint)",
|
|
456
|
+
"value": {
|
|
457
|
+
"error": "Resource Not Found",
|
|
458
|
+
"message": "The requested resource could not be found. Please verify the URL and try again.",
|
|
459
|
+
"path": "/v1.0/weather/forecast",
|
|
460
|
+
"status": 404,
|
|
461
|
+
"timestamp": "2026-11-25T10:01:00.000Z"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"headers": {
|
|
468
|
+
"X-AF-Credits-Cost": {
|
|
469
|
+
"$ref": "#/components/headers/X-AF-Credits-Cost"
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
"500": {
|
|
474
|
+
"description": "Internal Server Error — Returned when forecastDays is not a number",
|
|
475
|
+
"content": {
|
|
476
|
+
"application/json": {
|
|
477
|
+
"schema": {
|
|
478
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
479
|
+
},
|
|
480
|
+
"examples": {
|
|
481
|
+
"InvalidForecastDaysType": {
|
|
482
|
+
"summary": "forecastDays=abc (non-numeric); note the path in this response is duplicated",
|
|
483
|
+
"value": {
|
|
484
|
+
"timestamp": "2026-11-25T10:01:00.000Z",
|
|
485
|
+
"status": 500,
|
|
486
|
+
"message": "Internal Server Error",
|
|
487
|
+
"error": "internal-server-error",
|
|
488
|
+
"path": "/v1.0/weather/v1.0/weather/forecast"
|
|
489
|
+
}
|
|
389
490
|
}
|
|
390
491
|
}
|
|
391
492
|
}
|
|
@@ -507,28 +507,6 @@
|
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
509
|
},
|
|
510
|
-
"429": {
|
|
511
|
-
"description": "Too Many Requests — The per-minute request limit is reached",
|
|
512
|
-
"content": {
|
|
513
|
-
"application/json": {
|
|
514
|
-
"schema": {
|
|
515
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
516
|
-
},
|
|
517
|
-
"examples": {
|
|
518
|
-
"rateLimited": {
|
|
519
|
-
"summary": "Per-minute request limit reached",
|
|
520
|
-
"value": {
|
|
521
|
-
"timestamp": "2024-07-10T13:47:02.486Z",
|
|
522
|
-
"status": 429,
|
|
523
|
-
"error": "Fetching Whois Data Failed",
|
|
524
|
-
"message": "Please slow down. Your maximum request limit per minute reached.",
|
|
525
|
-
"path": "/v1.0/asn/whois/live"
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
510
|
"499": {
|
|
533
511
|
"description": "Client Closed Request — The request or connection timeout set by the client is too short, so the server closes the connection before completing the response",
|
|
534
512
|
"content": {
|
|
@@ -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.
|
|
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
|
|
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
|
-
"
|
|
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."
|