@apifreaks/openapi-specs 0.4.25 → 0.4.26
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 +72 -93
- package/dist/index.js +72 -93
- package/dist/specs/whois/reverse-whois.yaml +78 -75
- package/package.json +1 -1
- package/specs/whois/reverse-whois.json +71 -92
|
@@ -2,7 +2,7 @@ openapi: 3.1.1
|
|
|
2
2
|
info:
|
|
3
3
|
title: Reverse WHOIS API - Search Domains by Owner Name, Email, Company, or Keyword
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
description: Search
|
|
5
|
+
description: Search current and historical WHOIS records for the domains registered under an email address, company, owner name or keyword. Returns matching domains with full registration details (default mode, up to 50 per page) or key fields (mini mode, up to 100 per page). Send exactly one of keyword, email, owner or company per request. A search with no matches returns 404 and costs no credits.
|
|
6
6
|
contact:
|
|
7
7
|
name: APIFreaks Support
|
|
8
8
|
url: https://apifreaks.com/contact
|
|
@@ -22,7 +22,7 @@ paths:
|
|
|
22
22
|
- name: format
|
|
23
23
|
in: query
|
|
24
24
|
required: false
|
|
25
|
-
description:
|
|
25
|
+
description: json (default) or xml. An unsupported value returns 406.
|
|
26
26
|
schema:
|
|
27
27
|
type: string
|
|
28
28
|
enum:
|
|
@@ -32,38 +32,40 @@ paths:
|
|
|
32
32
|
- name: keyword
|
|
33
33
|
in: query
|
|
34
34
|
required: false
|
|
35
|
-
description:
|
|
35
|
+
description: Text to find in domain names, 3 to 63 characters, case-insensitive. By default it matches any domain name that contains the text (keyword=airbnb also returns 123airbnb.com); with exact=true it matches only domains named exactly that text, on any extension. Send only one of keyword, email, owner or company.
|
|
36
36
|
schema:
|
|
37
37
|
type: string
|
|
38
|
+
minLength: 3
|
|
39
|
+
maxLength: 63
|
|
38
40
|
- name: email
|
|
39
41
|
in: query
|
|
40
42
|
required: false
|
|
41
|
-
description:
|
|
43
|
+
description: Registrant email address to search for. A full address matches that address exactly, ignoring case. Use * in the part before the @ to stand for any characters, for example *@example.com or sales*@example.com, and give the domain after the @ in full. Wide patterns on large mail domains can run for minutes. exact has no effect on email. Send only one of keyword, email, owner or company.
|
|
42
44
|
schema:
|
|
43
45
|
type: string
|
|
44
46
|
- name: owner
|
|
45
47
|
in: query
|
|
46
48
|
required: false
|
|
47
|
-
description: Registrant
|
|
49
|
+
description: Registrant (owner) name to search for, ignoring case. By default it matches names that contain the words you send; exact=true returns only records with exactly that name. Some registries put the company in this field, so search it as well as company. Send only one of keyword, email, owner or company.
|
|
48
50
|
schema:
|
|
49
51
|
type: string
|
|
50
52
|
- name: company
|
|
51
53
|
in: query
|
|
52
54
|
required: false
|
|
53
|
-
description:
|
|
55
|
+
description: Registrant organization or company name to search for, ignoring case. By default it matches names that contain the words you send, so company=Google also returns Google LLC and Google Inc.; exact=true returns only records filed under exactly that name. Send only one of keyword, email, owner or company.
|
|
54
56
|
schema:
|
|
55
57
|
type: string
|
|
56
58
|
- name: exact
|
|
57
59
|
in: query
|
|
58
60
|
required: false
|
|
59
|
-
description:
|
|
61
|
+
description: true returns only exact matches for keyword, owner or company. It has no effect on email. Default false.
|
|
60
62
|
schema:
|
|
61
63
|
type: boolean
|
|
62
64
|
default: false
|
|
63
65
|
- name: mode
|
|
64
66
|
in: query
|
|
65
67
|
required: false
|
|
66
|
-
description:
|
|
68
|
+
description: default returns the full WHOIS record of each match, up to 50 per page. mini returns domain_name, create_date, update_date, expiry_date, name, email and company_name, up to 100 per page. Both cost the same per request. Any other value returns 400.
|
|
67
69
|
schema:
|
|
68
70
|
type: string
|
|
69
71
|
enum:
|
|
@@ -73,7 +75,7 @@ paths:
|
|
|
73
75
|
- name: page
|
|
74
76
|
in: query
|
|
75
77
|
required: false
|
|
76
|
-
description: Page
|
|
78
|
+
description: Page of results to return, starting at 1. total_Pages in the response is the last page. Each page is a separate request and is billed like a search.
|
|
77
79
|
schema:
|
|
78
80
|
type: integer
|
|
79
81
|
default: 1
|
|
@@ -149,6 +151,37 @@ paths:
|
|
|
149
151
|
name: On behalf of ipgeolocationdatabase.com OWNER
|
|
150
152
|
email: 720ed14de67db24c4eb07295ecae369f9f1bfe8a4dd5cd0c51f0e4754ee24895@ipgeolocationdatabase.com.whoisproxy.org
|
|
151
153
|
company_name: c/o whoisproxy.com
|
|
154
|
+
application/xml:
|
|
155
|
+
schema:
|
|
156
|
+
$ref: '#/components/schemas/ReverseWhoisResponse'
|
|
157
|
+
examples:
|
|
158
|
+
miniMode:
|
|
159
|
+
summary: Mini mode as XML (company=Spotify AB, exact=true, mode=mini, format=xml; live 26 Nov 2026, first rows)
|
|
160
|
+
value: |-
|
|
161
|
+
<ReverseWhoisMiniResponse>
|
|
162
|
+
<total_Result>763</total_Result>
|
|
163
|
+
<total_Pages>8</total_Pages>
|
|
164
|
+
<current_Page>1</current_Page>
|
|
165
|
+
<whois_domains_historical>
|
|
166
|
+
<domainInfo>
|
|
167
|
+
<num>1</num>
|
|
168
|
+
<domain_name>preact.com</domain_name>
|
|
169
|
+
<create_date>1997-01-28</create_date>
|
|
170
|
+
<update_date>2026-01-22</update_date>
|
|
171
|
+
<expiry_date>2027-01-29</expiry_date>
|
|
172
|
+
<email>Contact Form located at https://ext.abion.com/whoismail/</email>
|
|
173
|
+
<company_name>Spotify AB</company_name>
|
|
174
|
+
</domainInfo>
|
|
175
|
+
<domainInfo>
|
|
176
|
+
<num>2</num>
|
|
177
|
+
<domain_name>soundtrap.com</domain_name>
|
|
178
|
+
<create_date>1998-04-13</create_date>
|
|
179
|
+
<update_date>2023-07-12</update_date>
|
|
180
|
+
<expiry_date>2024-04-12</expiry_date>
|
|
181
|
+
<company_name>Spotify AB</company_name>
|
|
182
|
+
</domainInfo>
|
|
183
|
+
</whois_domains_historical>
|
|
184
|
+
</ReverseWhoisMiniResponse>
|
|
152
185
|
headers:
|
|
153
186
|
X-AF-Credits-Cost:
|
|
154
187
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -157,7 +190,7 @@ paths:
|
|
|
157
190
|
X-Concurrent-Threads-Active:
|
|
158
191
|
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
159
192
|
'400':
|
|
160
|
-
description: Bad Request -- Missing API key, missing or invalid search parameters, or an unsupported mode
|
|
193
|
+
description: Bad Request -- Missing API key, missing or invalid search parameters (such as a keyword shorter than 3 characters), or an unsupported mode. No credits charged.
|
|
161
194
|
content:
|
|
162
195
|
application/json:
|
|
163
196
|
schema:
|
|
@@ -180,13 +213,19 @@ paths:
|
|
|
180
213
|
status: 400
|
|
181
214
|
timestamp: '2026-11-20T11:12:57.333Z'
|
|
182
215
|
invalidMode:
|
|
183
|
-
summary: Unsupported mode value (
|
|
216
|
+
summary: Unsupported mode value (mode must be default or mini)
|
|
184
217
|
value:
|
|
185
218
|
timestamp: '2026-11-20T11:13:00.645837354Z'
|
|
186
219
|
status: 400
|
|
187
220
|
error: Invalid Param Exception
|
|
188
221
|
message: 'Please pass domain param correct value [For Technical Support: support@apifreaks.com]'
|
|
189
|
-
|
|
222
|
+
keywordTooShort:
|
|
223
|
+
summary: Keyword shorter than 3 characters (keyword=ab)
|
|
224
|
+
value:
|
|
225
|
+
timestamp: '2026-11-26T13:56:58.821893817Z'
|
|
226
|
+
status: 400
|
|
227
|
+
error: Invalid Param Exception
|
|
228
|
+
message: Invalid keyword parameter
|
|
190
229
|
headers:
|
|
191
230
|
X-AF-Credits-Cost:
|
|
192
231
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -281,7 +320,7 @@ paths:
|
|
|
281
320
|
X-Concurrent-Threads-Active:
|
|
282
321
|
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
283
322
|
'404':
|
|
284
|
-
description: Not Found -- No domains match the search criteria, or the HTTP method is not supported by the endpoint
|
|
323
|
+
description: Not Found -- No domains match the search criteria (no credits charged), or the HTTP method is not supported by the endpoint
|
|
285
324
|
content:
|
|
286
325
|
application/json:
|
|
287
326
|
schema:
|
|
@@ -294,7 +333,6 @@ paths:
|
|
|
294
333
|
status: 404
|
|
295
334
|
error: Record Not Found
|
|
296
335
|
message: Record not found
|
|
297
|
-
path: /v1.0/whois
|
|
298
336
|
resourceNotFound:
|
|
299
337
|
summary: Unsupported HTTP method (POST, PUT, PATCH, DELETE); the endpoint accepts GET only
|
|
300
338
|
value:
|
|
@@ -332,21 +370,25 @@ paths:
|
|
|
332
370
|
$ref: '#/components/headers/X-Concurrent-Threads'
|
|
333
371
|
X-Concurrent-Threads-Active:
|
|
334
372
|
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
373
|
+
'408':
|
|
374
|
+
description: Request Timeout -- the search ran too long, usually a wide email pattern on a large mail domain. Narrow the pattern and retry. Costs no credits.
|
|
375
|
+
headers:
|
|
376
|
+
X-AF-Credits-Cost:
|
|
377
|
+
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
378
|
+
X-Concurrent-Threads:
|
|
379
|
+
$ref: '#/components/headers/X-Concurrent-Threads'
|
|
380
|
+
X-Concurrent-Threads-Active:
|
|
381
|
+
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
382
|
+
content:
|
|
383
|
+
application/json:
|
|
384
|
+
schema:
|
|
385
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
335
386
|
'412':
|
|
336
387
|
description: Precondition Failed -- API plan request limit exceeded and subscription canceled
|
|
337
388
|
content:
|
|
338
389
|
application/json:
|
|
339
390
|
schema:
|
|
340
391
|
$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
392
|
headers:
|
|
351
393
|
X-AF-Credits-Cost:
|
|
352
394
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -361,14 +403,6 @@ paths:
|
|
|
361
403
|
schema:
|
|
362
404
|
$ref: '#/components/schemas/ErrorResponse'
|
|
363
405
|
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
406
|
creditsLimitExceeded:
|
|
373
407
|
summary: API credits request limit exceeded
|
|
374
408
|
value:
|
|
@@ -385,20 +419,16 @@ paths:
|
|
|
385
419
|
X-Concurrent-Threads-Active:
|
|
386
420
|
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
387
421
|
'429':
|
|
388
|
-
description: Too Many Requests --
|
|
422
|
+
description: Too Many Requests -- more requests than your plan allows; Reverse WHOIS is limited by concurrency (see X-Concurrent-Threads). Wait for a request to finish, then retry. Costs no credits.
|
|
389
423
|
content:
|
|
390
424
|
application/json:
|
|
391
425
|
schema:
|
|
392
426
|
$ref: '#/components/schemas/ErrorResponse'
|
|
393
427
|
examples:
|
|
394
|
-
|
|
395
|
-
summary:
|
|
428
|
+
concurrencyLimit:
|
|
429
|
+
summary: Concurrency limit reached (message as documented for the platform)
|
|
396
430
|
value:
|
|
397
|
-
|
|
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
|
|
431
|
+
message: Please slow down. Allowed Maximum concurrent request limit has been reached.
|
|
402
432
|
headers:
|
|
403
433
|
X-AF-Credits-Cost:
|
|
404
434
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -430,15 +460,6 @@ paths:
|
|
|
430
460
|
application/json:
|
|
431
461
|
schema:
|
|
432
462
|
$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
463
|
headers:
|
|
443
464
|
X-AF-Credits-Cost:
|
|
444
465
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -452,15 +473,6 @@ paths:
|
|
|
452
473
|
application/json:
|
|
453
474
|
schema:
|
|
454
475
|
$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
476
|
headers:
|
|
465
477
|
X-AF-Credits-Cost:
|
|
466
478
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -474,15 +486,6 @@ paths:
|
|
|
474
486
|
application/json:
|
|
475
487
|
schema:
|
|
476
488
|
$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
489
|
headers:
|
|
487
490
|
X-AF-Credits-Cost:
|
|
488
491
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -553,10 +556,10 @@ components:
|
|
|
553
556
|
properties:
|
|
554
557
|
total_Result:
|
|
555
558
|
type: integer
|
|
556
|
-
description:
|
|
559
|
+
description: Number of matching records on the day of the request; it grows as records are added.
|
|
557
560
|
total_Pages:
|
|
558
561
|
type: integer
|
|
559
|
-
description:
|
|
562
|
+
description: total_Result divided by 50 in default mode or 100 in mini mode, rounded up.
|
|
560
563
|
current_Page:
|
|
561
564
|
type: integer
|
|
562
565
|
description: Current page number in the paginated result.
|
|
@@ -577,7 +580,7 @@ components:
|
|
|
577
580
|
properties:
|
|
578
581
|
num:
|
|
579
582
|
type: integer
|
|
580
|
-
description:
|
|
583
|
+
description: Position of the record on this page, starting at 1 on every page.
|
|
581
584
|
status:
|
|
582
585
|
type: boolean
|
|
583
586
|
description: Indicates whether the WHOIS request was successfully processed.
|
|
@@ -588,12 +591,12 @@ components:
|
|
|
588
591
|
type:
|
|
589
592
|
- string
|
|
590
593
|
- 'null'
|
|
591
|
-
description:
|
|
594
|
+
description: When this WHOIS record was collected (YYYY-MM-DD HH:mm:ss); a match can be an older stored record.
|
|
592
595
|
whois_server:
|
|
593
596
|
type:
|
|
594
597
|
- string
|
|
595
598
|
- 'null'
|
|
596
|
-
description: WHOIS server that provided the domain information.
|
|
599
|
+
description: WHOIS server that provided the domain information. Can be an empty string.
|
|
597
600
|
domain_registered:
|
|
598
601
|
type:
|
|
599
602
|
- string
|
|
@@ -620,7 +623,7 @@ components:
|
|
|
620
623
|
- string
|
|
621
624
|
- 'null'
|
|
622
625
|
format: date
|
|
623
|
-
description:
|
|
626
|
+
description: Expiry date in the matched record (YYYY-MM-DD); a past date can mean the domain lapsed or that the record is an older snapshot taken before a renewal.
|
|
624
627
|
domain_registrar:
|
|
625
628
|
$ref: '#/components/schemas/DomainRegistrar'
|
|
626
629
|
reseller_contact:
|
|
@@ -656,14 +659,14 @@ components:
|
|
|
656
659
|
$ref: '#/components/schemas/RegistryData'
|
|
657
660
|
ReverseWhoisDomainMini:
|
|
658
661
|
type: object
|
|
659
|
-
description: Condensed WHOIS record for a matching domain in mini mode, containing only key registration fields.
|
|
662
|
+
description: Condensed WHOIS record for a matching domain in mini mode, containing only key registration fields. Fields with no value are omitted.
|
|
660
663
|
required:
|
|
661
664
|
- num
|
|
662
665
|
- domain_name
|
|
663
666
|
properties:
|
|
664
667
|
num:
|
|
665
668
|
type: integer
|
|
666
|
-
description:
|
|
669
|
+
description: Position of the record on this page, starting at 1 on every page.
|
|
667
670
|
domain_name:
|
|
668
671
|
type: string
|
|
669
672
|
description: The matched domain name.
|
|
@@ -684,7 +687,7 @@ components:
|
|
|
684
687
|
- string
|
|
685
688
|
- 'null'
|
|
686
689
|
format: date
|
|
687
|
-
description:
|
|
690
|
+
description: Expiry date in the matched record (YYYY-MM-DD); a past date can mean the domain lapsed or that the record is an older snapshot taken before a renewal.
|
|
688
691
|
name:
|
|
689
692
|
type:
|
|
690
693
|
- string
|