@apifreaks/openapi-specs 0.4.25 → 0.4.27
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 +289 -160
- package/dist/index.js +289 -160
- package/dist/specs/dns/bulk-dns-lookup.yaml +16 -0
- package/dist/specs/dns/dns-lookup.yaml +23 -0
- package/dist/specs/dns/reverse-dns-lookup.yaml +10 -1
- package/dist/specs/domain/domain-typosquatting.yaml +47 -28
- package/dist/specs/whois/reverse-whois.yaml +78 -75
- package/package.json +1 -1
- package/specs/dns/bulk-dns-lookup.json +36 -7
- package/specs/dns/dns-lookup.json +32 -0
- package/specs/dns/reverse-dns-lookup.json +14 -1
- package/specs/domain/domain-typosquatting.json +62 -30
- package/specs/whois/reverse-whois.json +71 -92
|
@@ -50,6 +50,22 @@ paths:
|
|
|
50
50
|
- CNAME
|
|
51
51
|
- PTR
|
|
52
52
|
- all
|
|
53
|
+
- name: isAuthoritative
|
|
54
|
+
in: query
|
|
55
|
+
required: false
|
|
56
|
+
description: Set true to read the records from each zone's own nameservers instead of a recursive resolver. Every TTL is then the zone's full value rather than what is left of a cached copy. A name that is an alias into another zone returns its CNAME and no address; pass cname_depth to follow it. Answers read this way are not added to the historical DNS database.
|
|
57
|
+
schema:
|
|
58
|
+
type: boolean
|
|
59
|
+
default: false
|
|
60
|
+
- name: cname_depth
|
|
61
|
+
in: query
|
|
62
|
+
required: false
|
|
63
|
+
description: 'How many CNAME links to follow before returning the records they point at, from 0 to 4. The default, 0, returns only what each queried name itself holds. A value below 0 or above 4 is rejected with a 400. Note the spelling: the single DNS lookup names this cnameDepth.'
|
|
64
|
+
schema:
|
|
65
|
+
type: integer
|
|
66
|
+
minimum: 0
|
|
67
|
+
maximum: 4
|
|
68
|
+
default: 0
|
|
53
69
|
requestBody:
|
|
54
70
|
required: true
|
|
55
71
|
content:
|
|
@@ -58,6 +58,29 @@ paths:
|
|
|
58
58
|
- PTR
|
|
59
59
|
- all
|
|
60
60
|
description: 'A comma-separated list of DNS record types for lookup. Possible values: A, AAAA, MX, NS, SOA, SPF, TXT, CNAME, PTR, or all. Values are case-insensitive. PTR is looked up from `ipAddress`; the other types are looked up from `host-name`. With only `ipAddress` sent, use `PTR` or `all`.'
|
|
61
|
+
- name: isAuthoritative
|
|
62
|
+
in: query
|
|
63
|
+
required: false
|
|
64
|
+
schema:
|
|
65
|
+
type: boolean
|
|
66
|
+
default: false
|
|
67
|
+
description: Set true to read the records from the zone's own nameservers instead of a recursive resolver. Every TTL is then the zone's full value rather than what is left of a cached copy. A name that is an alias into another zone returns its CNAME and no address; pass cnameDepth to follow it. Answers read this way are not added to the historical DNS database.
|
|
68
|
+
- name: cnameDepth
|
|
69
|
+
in: query
|
|
70
|
+
required: false
|
|
71
|
+
schema:
|
|
72
|
+
type: integer
|
|
73
|
+
minimum: 0
|
|
74
|
+
maximum: 4
|
|
75
|
+
default: 0
|
|
76
|
+
description: How many CNAME links to follow before returning the records they point at. 0 returns only what the queried name itself holds. A value below 0 or above 4 is rejected with a 400.
|
|
77
|
+
- name: relativeRecords
|
|
78
|
+
in: query
|
|
79
|
+
required: false
|
|
80
|
+
schema:
|
|
81
|
+
type: boolean
|
|
82
|
+
default: true
|
|
83
|
+
description: Keeps the records picked up for other names along the way, such as a CNAME target's own records. Set false to return only the records whose name is the queried domain itself. PTR records are kept either way.
|
|
61
84
|
responses:
|
|
62
85
|
'200':
|
|
63
86
|
description: Successful DNS lookup response
|
|
@@ -61,7 +61,7 @@ paths:
|
|
|
61
61
|
- name: exact
|
|
62
62
|
in: query
|
|
63
63
|
required: false
|
|
64
|
-
description: When
|
|
64
|
+
description: When false (default), the value is matched as a pattern, where '*' matches any characters. When true, the value is matched exactly. Ignored for A and AAAA records, which always match the IP.
|
|
65
65
|
schema:
|
|
66
66
|
type: boolean
|
|
67
67
|
default: false
|
|
@@ -73,6 +73,15 @@ paths:
|
|
|
73
73
|
type: integer
|
|
74
74
|
minimum: 1
|
|
75
75
|
default: 1
|
|
76
|
+
- name: sort
|
|
77
|
+
in: query
|
|
78
|
+
required: false
|
|
79
|
+
schema:
|
|
80
|
+
type: string
|
|
81
|
+
enum:
|
|
82
|
+
- asc
|
|
83
|
+
- desc
|
|
84
|
+
description: 'Sort results by last-seen time: asc for ascending or desc for descending. Results are not sorted when omitted.'
|
|
76
85
|
responses:
|
|
77
86
|
'200':
|
|
78
87
|
description: Successful Response
|
|
@@ -2,7 +2,7 @@ openapi: 3.1.1
|
|
|
2
2
|
info:
|
|
3
3
|
title: Domain Typosquatting API - Find Typo and Look-Alike Domains for Brand Protection and Phishing Discovery
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
description:
|
|
5
|
+
description: Find the registered lookalike domains of a brand by keyword or by wildcard pattern, across 7,851 TLDs and SLDs. Each match returns its registration, expiry and last-seen dates where available and a drop flag, 100 matches to a page. Built for brand and trademark protection, phishing discovery, scheduled monitoring and reclaiming names that come free.
|
|
6
6
|
contact:
|
|
7
7
|
name: APIFreaks Support
|
|
8
8
|
url: https://apifreaks.com/contact
|
|
@@ -16,7 +16,7 @@ paths:
|
|
|
16
16
|
tags:
|
|
17
17
|
- Domain APIs
|
|
18
18
|
summary: Find registered typo-variant or wildcard-pattern domains for a brand keyword.
|
|
19
|
-
description: The Domain Typosquatting API searches
|
|
19
|
+
description: The Domain Typosquatting API searches registered domains for names that look like a brand. Send a keyword for typo and homoglyph variants, or a wildcard pattern to also catch brand-plus-word and IDN names; each request takes one of the two, never both. Results cover 7,851 TLDs and SLDs and include each match's registration, expiry and last-seen dates where available and its drop flag, 100 matches to a page.
|
|
20
20
|
parameters:
|
|
21
21
|
- name: format
|
|
22
22
|
in: query
|
|
@@ -41,15 +41,15 @@ paths:
|
|
|
41
41
|
required: false
|
|
42
42
|
schema:
|
|
43
43
|
type: string
|
|
44
|
-
minLength:
|
|
44
|
+
minLength: 5
|
|
45
45
|
maxLength: 63
|
|
46
|
-
description: Wildcard search
|
|
46
|
+
description: Wildcard search that combines fuzzy matching with * wildcards, to also catch names that add words around the brand and IDN names (start the pattern with xn--). * is the only wildcard and each one matches zero or more characters, anywhere in the pattern, up to 3 per request. The pattern needs at least 5 characters besides the asterisks and at most 63 in total; more than 3 asterisks or any other regex character returns 400. Use either keyword or pattern, never both.
|
|
47
47
|
- name: pageToken
|
|
48
48
|
in: query
|
|
49
49
|
required: false
|
|
50
50
|
schema:
|
|
51
51
|
type: string
|
|
52
|
-
description: Token from nextPageToken in the previous response. Required to retrieve page 2 and onward. The original keyword or pattern must be passed alongside the token on every page request. Results page at 100
|
|
52
|
+
description: Token from nextPageToken in the previous response. Required to retrieve page 2 and onward. The original keyword or pattern must be passed alongside the token on every page request; a request with only pageToken returns 400. Results page at 100 matches per page, and each page is a separate search.
|
|
53
53
|
responses:
|
|
54
54
|
'200':
|
|
55
55
|
description: Success
|
|
@@ -62,11 +62,11 @@ paths:
|
|
|
62
62
|
summary: Keyword search (paypal)
|
|
63
63
|
value:
|
|
64
64
|
status: true
|
|
65
|
-
totalRecords:
|
|
65
|
+
totalRecords: 1304
|
|
66
66
|
currentPage: 1
|
|
67
|
+
totalPages: 14
|
|
67
68
|
hasNextPage: true
|
|
68
|
-
|
|
69
|
-
nextPageToken: <opaque_token>
|
|
69
|
+
nextPageToken: eyJkb21haW5OYW1lIjoicGFlcGFsLmZyIiwiY3VycmVudFBhZ2UiOjF9
|
|
70
70
|
domains:
|
|
71
71
|
- domainName: p-aypal.com
|
|
72
72
|
createDate: '2025-04-17'
|
|
@@ -79,31 +79,50 @@ paths:
|
|
|
79
79
|
- domainName: p0aypal.com
|
|
80
80
|
createDate: '2017-12-29'
|
|
81
81
|
expiryDate: '2026-12-29'
|
|
82
|
-
lastSeen: '2026-
|
|
82
|
+
lastSeen: '2026-11-06'
|
|
83
83
|
isDropped: false
|
|
84
|
-
- domainName:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
- domainName: p4ypal.com
|
|
85
|
+
createDate: '2020-10-15'
|
|
86
|
+
expiryDate: '2030-10-15'
|
|
87
|
+
lastSeen: '2026-11-06'
|
|
88
|
+
isDropped: false
|
|
89
|
+
- domainName: paapal.com
|
|
90
|
+
createDate: '2018-12-24'
|
|
91
|
+
expiryDate: '2026-12-24'
|
|
92
|
+
lastSeen: '2026-09-29'
|
|
93
|
+
isDropped: false
|
|
94
|
+
- domainName: paaypal.asia
|
|
95
|
+
createDate: '2008-03-24'
|
|
96
|
+
expiryDate: '2027-03-24'
|
|
97
|
+
lastSeen: '2026-08-22'
|
|
98
|
+
isDropped: false
|
|
99
|
+
- domainName: paaypal.com
|
|
100
|
+
createDate: '2000-05-21'
|
|
101
|
+
expiryDate: '2027-05-21'
|
|
102
|
+
lastSeen: '2026-11-07'
|
|
103
|
+
isDropped: false
|
|
104
|
+
- domainName: padpal.com
|
|
105
|
+
createDate: '2000-04-09'
|
|
106
|
+
expiryDate: '2027-04-09'
|
|
107
|
+
lastSeen: '2026-09-29'
|
|
89
108
|
isDropped: false
|
|
90
109
|
patternSuccess:
|
|
91
|
-
summary: Wildcard pattern search (
|
|
110
|
+
summary: Wildcard pattern search (paypal-*)
|
|
92
111
|
value:
|
|
93
112
|
status: true
|
|
94
|
-
totalRecords:
|
|
113
|
+
totalRecords: 10370
|
|
95
114
|
currentPage: 1
|
|
115
|
+
totalPages: 104
|
|
96
116
|
hasNextPage: true
|
|
97
|
-
|
|
98
|
-
nextPageToken: <opaque_token>
|
|
117
|
+
nextPageToken: eyJkb21haW5OYW1lIjoicGFpcGFsbC5jb20iLCJjdXJyZW50UGFnZSI6MX0=
|
|
99
118
|
domains:
|
|
100
|
-
- domainName:
|
|
101
|
-
createDate: '
|
|
102
|
-
expiryDate: '2026-
|
|
103
|
-
lastSeen: '2026-
|
|
104
|
-
isDropped:
|
|
105
|
-
- domainName:
|
|
106
|
-
lastSeen: '
|
|
119
|
+
- domainName: p-aypal.com
|
|
120
|
+
createDate: '2025-04-17'
|
|
121
|
+
expiryDate: '2026-04-17'
|
|
122
|
+
lastSeen: '2026-05-29'
|
|
123
|
+
isDropped: true
|
|
124
|
+
- domainName: p-aypal.de
|
|
125
|
+
lastSeen: '2024-07-11'
|
|
107
126
|
isDropped: true
|
|
108
127
|
emptyResult:
|
|
109
128
|
summary: No matches found
|
|
@@ -210,13 +229,13 @@ components:
|
|
|
210
229
|
description: Domain name.
|
|
211
230
|
createDate:
|
|
212
231
|
type: string
|
|
213
|
-
description:
|
|
232
|
+
description: Registration date (YYYY-MM-DD), where available.
|
|
214
233
|
expiryDate:
|
|
215
234
|
type: string
|
|
216
|
-
description:
|
|
235
|
+
description: Expiry date (YYYY-MM-DD), where available.
|
|
217
236
|
lastSeen:
|
|
218
237
|
type: string
|
|
219
|
-
description: Last time the domain was observed (YYYY-MM-DD)
|
|
238
|
+
description: Last time the domain was observed (YYYY-MM-DD), where available.
|
|
220
239
|
isDropped:
|
|
221
240
|
type: boolean
|
|
222
241
|
description: Indicates whether the domain has dropped out of the registry and become available to register again.
|
|
@@ -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
|
package/package.json
CHANGED
|
@@ -46,9 +46,42 @@
|
|
|
46
46
|
"type": "array",
|
|
47
47
|
"items": {
|
|
48
48
|
"type": "string",
|
|
49
|
-
"enum": [
|
|
49
|
+
"enum": [
|
|
50
|
+
"A",
|
|
51
|
+
"AAAA",
|
|
52
|
+
"MX",
|
|
53
|
+
"NS",
|
|
54
|
+
"SOA",
|
|
55
|
+
"SPF",
|
|
56
|
+
"TXT",
|
|
57
|
+
"CNAME",
|
|
58
|
+
"PTR",
|
|
59
|
+
"all"
|
|
60
|
+
]
|
|
50
61
|
}
|
|
51
62
|
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "isAuthoritative",
|
|
66
|
+
"in": "query",
|
|
67
|
+
"required": false,
|
|
68
|
+
"description": "Set true to read the records from each zone's own nameservers instead of a recursive resolver. Every TTL is then the zone's full value rather than what is left of a cached copy. A name that is an alias into another zone returns its CNAME and no address; pass cname_depth to follow it. Answers read this way are not added to the historical DNS database.",
|
|
69
|
+
"schema": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"default": false
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "cname_depth",
|
|
76
|
+
"in": "query",
|
|
77
|
+
"required": false,
|
|
78
|
+
"description": "How many CNAME links to follow before returning the records they point at, from 0 to 4. The default, 0, returns only what each queried name itself holds. A value below 0 or above 4 is rejected with a 400. Note the spelling: the single DNS lookup names this cnameDepth.",
|
|
79
|
+
"schema": {
|
|
80
|
+
"type": "integer",
|
|
81
|
+
"minimum": 0,
|
|
82
|
+
"maximum": 4,
|
|
83
|
+
"default": 0
|
|
84
|
+
}
|
|
52
85
|
}
|
|
53
86
|
],
|
|
54
87
|
"requestBody": {
|
|
@@ -193,9 +226,7 @@
|
|
|
193
226
|
"ttl": 300,
|
|
194
227
|
"rawText": "example.com.\t\t300\tIN\tTXT\t\"_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9\"",
|
|
195
228
|
"rRsetType": 16,
|
|
196
|
-
"strings": [
|
|
197
|
-
"_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"
|
|
198
|
-
]
|
|
229
|
+
"strings": ["_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"]
|
|
199
230
|
},
|
|
200
231
|
{
|
|
201
232
|
"name": "example.com",
|
|
@@ -222,9 +253,7 @@
|
|
|
222
253
|
"ttl": 300,
|
|
223
254
|
"rawText": "example.com.\t\t300\tIN\tSPF\t\"v=spf1 -all\"",
|
|
224
255
|
"rRsetType": 99,
|
|
225
|
-
"strings": [
|
|
226
|
-
"v=spf1 -all"
|
|
227
|
-
]
|
|
256
|
+
"strings": ["v=spf1 -all"]
|
|
228
257
|
}
|
|
229
258
|
]
|
|
230
259
|
}
|