@apifreaks/openapi-specs 0.1.0 → 0.1.1

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 (107) hide show
  1. package/dist/index.cjs +131 -0
  2. package/dist/index.d.cts +140 -3
  3. package/dist/index.d.ts +140 -3
  4. package/dist/index.js +129 -0
  5. package/dist/specs/commodity/commodity-fluctuation.yaml +225 -0
  6. package/dist/specs/commodity/commodity-prices.yaml +236 -0
  7. package/dist/specs/commodity/commodity-symbols.yaml +159 -0
  8. package/dist/specs/commodity/commodity-time-series.yaml +238 -0
  9. package/dist/specs/commodity/historical-commodity-prices.yaml +208 -0
  10. package/dist/specs/currency/currency-converter.yaml +193 -0
  11. package/dist/specs/currency/currency-fluctuation.yaml +211 -0
  12. package/dist/specs/currency/currency-historical-data-limit.yaml +112 -0
  13. package/dist/specs/currency/currency-rate.yaml +173 -0
  14. package/dist/specs/currency/currency-supported.yaml +176 -0
  15. package/dist/specs/currency/currency-symbols.yaml +115 -0
  16. package/dist/specs/currency/currency-time-series.yaml +232 -0
  17. package/dist/specs/currency/geolocalized-currency-conversion.yaml +214 -0
  18. package/dist/specs/currency/historical-currency-converter.yaml +195 -0
  19. package/dist/specs/currency/historical-currency-rate.yaml +180 -0
  20. package/dist/specs/dns/bulk-dns-lookup.yaml +484 -0
  21. package/dist/specs/dns/dns-history-lookup.yaml +451 -0
  22. package/dist/specs/dns/dns-lookup.yaml +360 -0
  23. package/dist/specs/dns/reverse-dns-lookup.yaml +338 -0
  24. package/dist/specs/domain/bulk-domain-checker.yaml +198 -0
  25. package/dist/specs/domain/domain-search-with-suggestions.yaml +196 -0
  26. package/dist/specs/domain/domain-search.yaml +149 -0
  27. package/dist/specs/domain/subdomain-lookup.yaml +251 -0
  28. package/dist/specs/email-validation/bulk-email-validation.yaml +403 -0
  29. package/dist/specs/email-validation/email-checker.yaml +451 -0
  30. package/dist/specs/financial/bulk-vat-rates-country.yaml +250 -0
  31. package/dist/specs/financial/financial-apis-supported-countries.yaml +152 -0
  32. package/dist/specs/financial/iban-validation.yaml +270 -0
  33. package/dist/specs/financial/swift-code-finder.yaml +146 -0
  34. package/dist/specs/financial/swift-code-lookup.yaml +156 -0
  35. package/dist/specs/financial/vat-number-validation.yaml +205 -0
  36. package/dist/specs/financial/vat-rates-by-ip.yaml +200 -0
  37. package/dist/specs/financial/vat-rates-country.yaml +212 -0
  38. package/dist/specs/general/usage-credits.yaml +188 -0
  39. package/dist/specs/geocoding/forward-geocoding.yaml +292 -0
  40. package/dist/specs/geocoding/reverse-geocoding.yaml +237 -0
  41. package/dist/specs/geodb/administrative-units-details.yaml +180 -0
  42. package/dist/specs/geodb/administrative-units-levels.yaml +140 -0
  43. package/dist/specs/geodb/administrative-units.yaml +168 -0
  44. package/dist/specs/geodb/cities.yaml +209 -0
  45. package/dist/specs/geodb/countries-details.yaml +207 -0
  46. package/dist/specs/geodb/countries.yaml +199 -0
  47. package/dist/specs/geodb/flags-supported.yaml +119 -0
  48. package/dist/specs/geodb/flags.yaml +170 -0
  49. package/dist/specs/geodb/regions.yaml +76 -0
  50. package/dist/specs/geodb/subregions.yaml +158 -0
  51. package/dist/specs/ip-intelligence/bulk-ip-lookup.yaml +895 -0
  52. package/dist/specs/ip-intelligence/bulk-ip-threat-intelligence.yaml +310 -0
  53. package/dist/specs/ip-intelligence/ip-locator.yaml +708 -0
  54. package/dist/specs/ip-intelligence/ip-threat-intelligence.yaml +230 -0
  55. package/dist/specs/other/astronomy-data.yaml +632 -0
  56. package/dist/specs/pdf/delete-pdf-page.yaml +193 -0
  57. package/dist/specs/pdf/linearize-pdf.yaml +187 -0
  58. package/dist/specs/pdf/merge-pdf.yaml +193 -0
  59. package/dist/specs/pdf/pdf-compress.yaml +208 -0
  60. package/dist/specs/pdf/pdf-decrypt.yaml +202 -0
  61. package/dist/specs/pdf/pdf-encrypt.yaml +213 -0
  62. package/dist/specs/pdf/pdf-extract-pages.yaml +199 -0
  63. package/dist/specs/pdf/pdf-file-status.yaml +148 -0
  64. package/dist/specs/pdf/pdf-file.yaml +136 -0
  65. package/dist/specs/pdf/pdf-files.yaml +85 -0
  66. package/dist/specs/pdf/pdf-resource-download.yaml +117 -0
  67. package/dist/specs/pdf/pdf-resource-upload-binary.yaml +152 -0
  68. package/dist/specs/pdf/pdf-resource-upload.yaml +163 -0
  69. package/dist/specs/pdf/pdf-restrict.yaml +246 -0
  70. package/dist/specs/pdf/pdf-split-pages.yaml +208 -0
  71. package/dist/specs/pdf/pdf-task-status.yaml +187 -0
  72. package/dist/specs/pdf/pdf-to-image.yaml +844 -0
  73. package/dist/specs/pdf/pdf-unrestrict.yaml +221 -0
  74. package/dist/specs/pdf/rotate-pdf-pages.yaml +207 -0
  75. package/dist/specs/phone-validation/bulk-phone-number-validation.yaml +374 -0
  76. package/dist/specs/phone-validation/phone-number-validation.yaml +344 -0
  77. package/dist/specs/scraper/web-scraper.yaml +479 -0
  78. package/dist/specs/screenshot/bulk-screenshot.yaml +728 -0
  79. package/dist/specs/screenshot/website-screenshot.yaml +822 -0
  80. package/dist/specs/ssl/ssl-certificate-chain-lookup.yaml +593 -0
  81. package/dist/specs/ssl/ssl-certificate-lookup.yaml +478 -0
  82. package/dist/specs/timezone/timezone-converter.yaml +249 -0
  83. package/dist/specs/timezone/timezone-lookup.yaml +712 -0
  84. package/dist/specs/user-agent/bulk-user-agent-parser.yaml +340 -0
  85. package/dist/specs/user-agent/user-agent-parser.yaml +271 -0
  86. package/dist/specs/weather/air-quality.yaml +590 -0
  87. package/dist/specs/weather/bulk-live-weather.yaml +654 -0
  88. package/dist/specs/weather/flood-forecast.yaml +519 -0
  89. package/dist/specs/weather/historical-weather.yaml +842 -0
  90. package/dist/specs/weather/live-weather.yaml +633 -0
  91. package/dist/specs/weather/marine-weather.yaml +806 -0
  92. package/dist/specs/weather/time-series-weather.yaml +821 -0
  93. package/dist/specs/weather/weather-forecast.yaml +935 -0
  94. package/dist/specs/whois/asn-lookup.yaml +618 -0
  95. package/dist/specs/whois/bulk-whois-lookup.yaml +827 -0
  96. package/dist/specs/whois/domain-whois-history-lookup.yaml +445 -0
  97. package/dist/specs/whois/reverse-whois.yaml +566 -0
  98. package/dist/specs/whois/whois-domain-lookup.yaml +537 -0
  99. package/dist/specs/whois/whois-ip-lookup.yaml +1123 -0
  100. package/dist/specs/zip-code/bulk-zip-code-lookup.yaml +232 -0
  101. package/dist/specs/zip-code/zip-code-api.yaml +216 -0
  102. package/dist/specs/zip-code/zip-code-distance-match.yaml +239 -0
  103. package/dist/specs/zip-code/zip-code-distance.yaml +233 -0
  104. package/dist/specs/zip-code/zip-codes-by-city.yaml +201 -0
  105. package/dist/specs/zip-code/zip-codes-by-region.yaml +200 -0
  106. package/dist/specs/zip-code/zip-codes-radius-search.yaml +262 -0
  107. package/package.json +6 -2
@@ -0,0 +1,198 @@
1
+ openapi: 3.1.1
2
+ info:
3
+ title: Bulk Domain Checker API - Search Multiple Domains at Once
4
+ version: 1.0.0
5
+ description: Check the availability of up to 100 domains in a single POST request. Uses DNS-based or WHOIS-based lookups to determine domain availability. Returns an array of results with domain name, availability status, and a per-item processing flag. Domains that fail to resolve are still returned with status false and no domainAvailability field, rather than as a separate error object — such a batch returns 206 Partial Success, and result order is not guaranteed to match the request order.
6
+ contact:
7
+ name: APIFreaks Support
8
+ url: https://apifreaks.com/contact
9
+ email: support@apifreaks.com
10
+ servers:
11
+ - url: https://api.apifreaks.com/v1.0
12
+ description: Bulk Domain Checker API Server
13
+ paths:
14
+ /domain/availability:
15
+ post:
16
+ tags:
17
+ - Domain APIs
18
+ summary: Check the availability of multiple domains in a single request.
19
+ description: Perform Bulk Domain Availability checks using a list of domains. Supports upto `100 Domains Per Request`.
20
+ operationId: checkBulkDomainAvailability
21
+ parameters:
22
+ - name: format
23
+ in: query
24
+ required: false
25
+ schema:
26
+ type: string
27
+ enum:
28
+ - json
29
+ - xml
30
+ default: json
31
+ description: Format of the response.
32
+ - name: source
33
+ in: query
34
+ required: false
35
+ schema:
36
+ type: string
37
+ enum:
38
+ - dns
39
+ - whois
40
+ default: dns
41
+ description: Specify the data source for domain availability checks. Use "dns" for DNS-based lookups or "whois" for WHOIS-based lookups. By default, "dns" is used.
42
+ requestBody:
43
+ required: true
44
+ content:
45
+ application/json:
46
+ schema:
47
+ $ref: '#/components/schemas/BulkDomainCheckRequest'
48
+ examples:
49
+ typicalRequest:
50
+ summary: Typical bulk domain check request
51
+ value:
52
+ domainNames:
53
+ - google.com
54
+ - example.com
55
+ - techguruss.com
56
+ responses:
57
+ '200':
58
+ description: Successful response — every domain in the batch resolved.
59
+ content:
60
+ application/json:
61
+ schema:
62
+ $ref: '#/components/schemas/BulkDomainCheckResponse'
63
+ examples:
64
+ typicalSuccess:
65
+ summary: All domains resolved
66
+ value:
67
+ bulk_domain_availability_response:
68
+ - domain: google.com
69
+ domainAvailability: false
70
+ status: true
71
+ - domain: thisdomainisdefinitelyavailablexyz123abc.com
72
+ domainAvailability: true
73
+ status: true
74
+ '206':
75
+ description: Partial Success — one or more domains in the batch failed to resolve. Failed entries have status false and no domainAvailability field. Even a batch where every domain fails still returns 206, not an error status.
76
+ content:
77
+ application/json:
78
+ schema:
79
+ $ref: '#/components/schemas/BulkDomainCheckResponse'
80
+ examples:
81
+ partialFailure:
82
+ summary: Mix of resolved and failed domains
83
+ value:
84
+ bulk_domain_availability_response:
85
+ - domain: notadomain
86
+ status: false
87
+ - domain: google.com
88
+ domainAvailability: false
89
+ status: true
90
+ - domain: test.an
91
+ status: false
92
+ '400':
93
+ description: Bad Request — Missing or malformed request body
94
+ content:
95
+ application/json:
96
+ schema:
97
+ $ref: '#/components/schemas/ErrorResponse'
98
+ examples:
99
+ invalidBody:
100
+ summary: domainNames field missing or malformed
101
+ value:
102
+ error: Invalid request body Exception
103
+ message: Please provide data in required format in request body
104
+ path: /v1.0/domain/availability
105
+ status: 400
106
+ timestamp: '2026-07-27T12:23:33.394Z'
107
+ '413':
108
+ description: Payload Too Large — Request body exceeds the size limit
109
+ content:
110
+ application/json:
111
+ schema:
112
+ $ref: '#/components/schemas/ErrorResponse'
113
+ examples:
114
+ payloadTooLarge:
115
+ summary: Too many domains / body too large
116
+ value:
117
+ error: Payload too large Exception
118
+ message: Maximum request body size limit exceeded
119
+ path: /v1.0/domain/availability
120
+ status: 413
121
+ timestamp: '2026-07-27T12:23:46.923Z'
122
+ components:
123
+ securitySchemes:
124
+ ApiKeyAuthHeader:
125
+ type: apiKey
126
+ in: header
127
+ name: X-apiKey
128
+ description: Pass your API key via the X-apiKey request header.
129
+ ApiKeyAuthQuery:
130
+ type: apiKey
131
+ in: query
132
+ name: apiKey
133
+ description: Pass your API key via the apiKey query parameter.
134
+ schemas:
135
+ BulkDomainCheckRequest:
136
+ type: object
137
+ description: Request body for bulk domain availability check.
138
+ required:
139
+ - domainNames
140
+ properties:
141
+ domainNames:
142
+ type: array
143
+ description: List of domain names to check. Maximum 100 domains per request.
144
+ maxItems: 100
145
+ items:
146
+ type: string
147
+ BulkDomainCheckResponse:
148
+ type: object
149
+ description: Wrapper containing the per-domain results array.
150
+ required:
151
+ - bulk_domain_availability_response
152
+ properties:
153
+ bulk_domain_availability_response:
154
+ type: array
155
+ description: Array of per-domain results. Order is not guaranteed to match the request order. Domains that fail to resolve appear with status false and no domainAvailability field.
156
+ items:
157
+ $ref: '#/components/schemas/BulkDomainCheckItem'
158
+ BulkDomainCheckItem:
159
+ type: object
160
+ description: Result for a single domain in a bulk check. domainAvailability is present only when status is true.
161
+ required:
162
+ - domain
163
+ - status
164
+ properties:
165
+ domain:
166
+ type: string
167
+ description: Name of the queried domain.
168
+ domainAvailability:
169
+ type: boolean
170
+ description: True if available, false if not available. Absent when this domain failed to resolve (status false).
171
+ status:
172
+ type: boolean
173
+ description: Whether this domain was successfully processed.
174
+ ErrorResponse:
175
+ type: object
176
+ description: Standard error envelope returned by the API on failed requests.
177
+ required:
178
+ - message
179
+ properties:
180
+ error:
181
+ type: string
182
+ description: Short error category or exception type.
183
+ message:
184
+ type: string
185
+ description: Human-readable error message describing the failure.
186
+ path:
187
+ type: string
188
+ description: API endpoint path that produced the error.
189
+ status:
190
+ type: integer
191
+ description: HTTP status code returned with the error.
192
+ timestamp:
193
+ type: string
194
+ format: date-time
195
+ description: Timestamp when the error occurred (ISO 8601).
196
+ security:
197
+ - ApiKeyAuthHeader: []
198
+ - ApiKeyAuthQuery: []
@@ -0,0 +1,196 @@
1
+ openapi: 3.1.1
2
+ info:
3
+ title: Domain Search with Suggestions API Reference
4
+ version: 1.0.0
5
+ description: Check domain availability and receive suggestions for related domains across all top-level domains (TLDs). Supports optional suggestion parameters including a boolean flag to enable suggestions and a count parameter to control the number of results. Uses DNS-based or WHOIS-based lookups to determine domain availability for each suggestion.
6
+ contact:
7
+ name: APIFreaks Support
8
+ url: https://apifreaks.com/contact
9
+ email: support@apifreaks.com
10
+ servers:
11
+ - url: https://api.apifreaks.com/v1.0
12
+ description: Domain Search with Suggestions API Server
13
+ paths:
14
+ /domain/availability/suggestions:
15
+ get:
16
+ tags:
17
+ - Domain APIs
18
+ summary: Check domain availability and receive suggestions for related domains.
19
+ description: The Domain Search API is designed to simplify the process of finding available domain names across all top-level domains (TLDs) and second-level domains (SLDs).
20
+ parameters:
21
+ - name: format
22
+ in: query
23
+ required: false
24
+ schema:
25
+ type: string
26
+ enum:
27
+ - json
28
+ - xml
29
+ default: json
30
+ description: Format of the response.
31
+ - name: domain
32
+ in: query
33
+ required: true
34
+ schema:
35
+ type: string
36
+ description: Domain name for availability and suggestions.
37
+ - name: source
38
+ in: query
39
+ required: false
40
+ schema:
41
+ type: string
42
+ enum:
43
+ - dns
44
+ - whois
45
+ default: dns
46
+ description: Specify the data source for domain availability checks. Use "dns" for DNS-based lookups or "whois" for WHOIS-based lookups. By default, "dns" is used.
47
+ - name: sug
48
+ in: query
49
+ required: false
50
+ schema:
51
+ type: boolean
52
+ description: Set to false to get a single availability result for exactly the given domain (same shape as the Domain Availability API), with no suggestions. Omitting this parameter, or setting it to true, returns an array of suggested alternate-TLD domains instead — despite the parameter's name, omitting it does not behave like false.
53
+ - name: count
54
+ in: query
55
+ required: false
56
+ schema:
57
+ type: integer
58
+ default: 5
59
+ description: 'Requested number of suggestions. Observed behavior: the API returns at least 5 alternate-TLD suggestions regardless of a lower count value; recognizable/brandable domains can return more than requested, drawn from a larger suggestion pool.'
60
+ responses:
61
+ '200':
62
+ description: 'Success. Shape depends on sug: false returns a single availability object; omitted or true returns an array of suggestions.'
63
+ content:
64
+ application/json:
65
+ schema:
66
+ oneOf:
67
+ - description: Returned when sug=false — a single availability result for exactly the requested domain.
68
+ $ref: '#/components/schemas/DomainAvailabilityResponse'
69
+ - description: Returned when sug is omitted or true — an array of suggested alternate-TLD domains with their availability.
70
+ $ref: '#/components/schemas/DomainSuggestionResponse'
71
+ examples:
72
+ suggestions:
73
+ summary: sug omitted or true — array of suggestions
74
+ value:
75
+ domain_available_response:
76
+ - domain: acme.org
77
+ domainAvailability: false
78
+ - domain: acme.dev
79
+ domainAvailability: false
80
+ - domain: acme.net
81
+ domainAvailability: false
82
+ - domain: acme.com
83
+ domainAvailability: false
84
+ - domain: acme.info
85
+ domainAvailability: false
86
+ noSuggestions:
87
+ summary: sug=false — single availability object, same shape as the Domain Availability API
88
+ value:
89
+ domain: quixoticbramble77.com
90
+ domainAvailability: true
91
+ '400':
92
+ description: Bad Request – Invalid domain parameter
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: '#/components/schemas/ErrorResponse'
97
+ examples:
98
+ missingDomain:
99
+ summary: Missing required domain parameter
100
+ value:
101
+ error: Invalid Param Exception
102
+ message: please pass correct parameters
103
+ path: /v1.0/domain/availability/suggestions
104
+ status: 400
105
+ timestamp: '2026-07-27T12:19:46.594Z'
106
+ '408':
107
+ description: Request Timeout – Unable to fetch WHOIS data
108
+ content:
109
+ application/json:
110
+ schema:
111
+ $ref: '#/components/schemas/ErrorResponse'
112
+ examples:
113
+ error:
114
+ summary: Error response
115
+ value:
116
+ timestamp: '2025-08-14T10:37:21.871Z'
117
+ status: 408
118
+ error: Request Timeout
119
+ message: 'Unable to fetch whois data. Please try again. [For Technical Support email at: support@apifreaks.com]'
120
+ path: /v1.0/domain/availability/suggestions
121
+ operationId: suggestDomainAvailability
122
+ components:
123
+ securitySchemes:
124
+ ApiKeyAuthHeader:
125
+ type: apiKey
126
+ in: header
127
+ name: X-apiKey
128
+ description: Pass your API key via the X-apiKey request header.
129
+ ApiKeyAuthQuery:
130
+ type: apiKey
131
+ in: query
132
+ name: apiKey
133
+ description: Pass your API key via the apiKey query parameter.
134
+ schemas:
135
+ DomainAvailabilityResponse:
136
+ type: object
137
+ description: Domain availability check response containing the domain name and availability status. Returned when sug=false.
138
+ required:
139
+ - domain
140
+ - domainAvailability
141
+ properties:
142
+ domain:
143
+ type: string
144
+ description: Name of the queried domain.
145
+ domainAvailability:
146
+ type: boolean
147
+ description: True if available, false if not available.
148
+ DomainSuggestionResponse:
149
+ type: object
150
+ required:
151
+ - domain_available_response
152
+ properties:
153
+ domain_available_response:
154
+ type: array
155
+ description: List of domain availability objects.
156
+ items:
157
+ $ref: '#/components/schemas/DomainSuggestionItem'
158
+ description: Domain suggestion response containing a list of availability-suggestions.
159
+ DomainSuggestionItem:
160
+ type: object
161
+ description: A single domain suggestion with availability status.
162
+ required:
163
+ - domain
164
+ - domainAvailability
165
+ properties:
166
+ domain:
167
+ type: string
168
+ description: Name of the suggested domain.
169
+ domainAvailability:
170
+ type: boolean
171
+ description: True if available, false if not available.
172
+ ErrorResponse:
173
+ type: object
174
+ description: Standard error envelope returned by the API on failed requests.
175
+ required:
176
+ - message
177
+ properties:
178
+ error:
179
+ type: string
180
+ description: Short error category or exception type.
181
+ message:
182
+ type: string
183
+ description: Human-readable error message describing the failure.
184
+ path:
185
+ type: string
186
+ description: API endpoint path that produced the error.
187
+ status:
188
+ type: integer
189
+ description: HTTP status code returned with the error.
190
+ timestamp:
191
+ type: string
192
+ format: date-time
193
+ description: Timestamp when the error occurred (ISO 8601).
194
+ security:
195
+ - ApiKeyAuthHeader: []
196
+ - ApiKeyAuthQuery: []
@@ -0,0 +1,149 @@
1
+ openapi: 3.1.1
2
+ info:
3
+ title: Domain Availability API - Check Domain Names in Real Time and Get Suggestions
4
+ version: 1.0.0
5
+ description: Check whether a domain is available for registration across all top-level domains (TLDs) and second-level domains (SLDs). Uses DNS-based or WHOIS-based lookups to determine domain availability. Returns a simple response with the domain name and a boolean availability indicator.
6
+ contact:
7
+ name: APIFreaks Support
8
+ url: https://apifreaks.com/contact
9
+ email: support@apifreaks.com
10
+ servers:
11
+ - url: https://api.apifreaks.com/v1.0
12
+ description: Domain Search API Server
13
+ paths:
14
+ /domain/availability:
15
+ get:
16
+ tags:
17
+ - Domain APIs
18
+ summary: Check whether a domain is available for registration or not.
19
+ description: The Domain Search API is designed to simplify the process of finding available domain names across all top-level domains (TLDs) and second-level domains (SLDs).
20
+ parameters:
21
+ - name: format
22
+ in: query
23
+ required: false
24
+ schema:
25
+ type: string
26
+ enum:
27
+ - json
28
+ - xml
29
+ default: json
30
+ description: Format of the response.
31
+ - name: domain
32
+ in: query
33
+ required: true
34
+ schema:
35
+ type: string
36
+ description: Domain name whose availability is to be checked.
37
+ - name: source
38
+ in: query
39
+ required: false
40
+ schema:
41
+ type: string
42
+ enum:
43
+ - dns
44
+ - whois
45
+ default: dns
46
+ description: Specify the data source for domain availability checks. Use "dns" for DNS-based lookups or "whois" for WHOIS-based lookups. By default, "dns" is used.
47
+ responses:
48
+ '200':
49
+ description: Success
50
+ content:
51
+ application/json:
52
+ schema:
53
+ $ref: '#/components/schemas/DomainAvailabilityResponse'
54
+ examples:
55
+ success:
56
+ summary: Domain available
57
+ value:
58
+ domain: google.com
59
+ domainAvailability: false
60
+ '400':
61
+ description: Bad Request – Missing domain, or domain has an unrecognized/unsupported TLD
62
+ content:
63
+ application/json:
64
+ schema:
65
+ $ref: '#/components/schemas/ErrorResponse'
66
+ examples:
67
+ missingDomain:
68
+ summary: Missing required domain parameter
69
+ value:
70
+ error: Invalid Param Exception
71
+ message: please pass correct parameters
72
+ path: /v1.0/domain/availability
73
+ status: 400
74
+ timestamp: '2026-07-27T12:18:21.115Z'
75
+ unsupportedTld:
76
+ summary: Domain has an unrecognized or unsupported TLD
77
+ value:
78
+ timestamp: '2026-07-27T12:18:47.346748812Z'
79
+ status: 400
80
+ error: Invalid Param Exception
81
+ message: 'Please pass domain param correct value [For Technical Support: support@whoisfreaks.com]'
82
+ path: /v1.0/domain/availability
83
+ '408':
84
+ description: Request Timeout – Unable to fetch WHOIS data
85
+ content:
86
+ application/json:
87
+ schema:
88
+ $ref: '#/components/schemas/ErrorResponse'
89
+ examples:
90
+ error:
91
+ summary: Error response
92
+ value:
93
+ timestamp: '2025-08-14T10:37:21.871Z'
94
+ status: 408
95
+ error: Request Timeout
96
+ message: 'Unable to fetch whois data. Please try again. [For Technical Support email at: support@apifreaks.com]'
97
+ path: /v1.0/domain/availability
98
+ operationId: checkDomainAvailability
99
+ components:
100
+ securitySchemes:
101
+ ApiKeyAuthHeader:
102
+ type: apiKey
103
+ in: header
104
+ name: X-apiKey
105
+ description: Pass your API key via the X-apiKey request header.
106
+ ApiKeyAuthQuery:
107
+ type: apiKey
108
+ in: query
109
+ name: apiKey
110
+ description: Pass your API key via the apiKey query parameter.
111
+ schemas:
112
+ DomainAvailabilityResponse:
113
+ type: object
114
+ required:
115
+ - domain
116
+ - domainAvailability
117
+ properties:
118
+ domain:
119
+ type: string
120
+ description: Name of the queried domain
121
+ domainAvailability:
122
+ type: boolean
123
+ description: True if available, false if not available
124
+ description: Domain availability check response containing the domain name and availability status.
125
+ ErrorResponse:
126
+ type: object
127
+ description: Standard error envelope returned by the API on failed requests.
128
+ required:
129
+ - message
130
+ properties:
131
+ error:
132
+ type: string
133
+ description: Short error category or exception type.
134
+ message:
135
+ type: string
136
+ description: Human-readable error message describing the failure.
137
+ path:
138
+ type: string
139
+ description: API endpoint path that produced the error.
140
+ status:
141
+ type: integer
142
+ description: HTTP status code returned with the error.
143
+ timestamp:
144
+ type: string
145
+ format: date-time
146
+ description: Timestamp when the error occurred (ISO 8601).
147
+ security:
148
+ - ApiKeyAuthHeader: []
149
+ - ApiKeyAuthQuery: []