@apifreaks/openapi-specs 0.4.26 → 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.
@@ -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 true, returns only records that exactly match the input (NS, MX, CNAME, SOA, SPF, TXT). When false, returns all matches (default when omitted).
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: Search for registered domains that read like typo variants of a brand keyword, or that match a wildcard pattern, across the full TLD set. Each match returns what is available of its registration date, expiry date, last-seen date, and drop status, paginated at 100 domains per page. Built for brand and trademark protection, phishing discovery, scheduled monitoring, and domain reclaim.
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 for registered domains that are typo or look-alike variants of a brand keyword, or that match a wildcard pattern. Results include registration lifecycle data and drop status across 1529+ TLDs, paginated at 100 domains per page.
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: 3
44
+ minLength: 5
45
45
  maxLength: 63
46
- description: Wildcard search string that combines fuzzy matching with * wildcards. 3-63 characters total, * is the only supported wildcard and each one matches zero or more characters, maximum 3 asterisks per request. Use either keyword or pattern, never both.
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 domains per page.
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: 1284
65
+ totalRecords: 1304
66
66
  currentPage: 1
67
+ totalPages: 14
67
68
  hasNextPage: true
68
- totalPages: 13
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-08-18'
82
+ lastSeen: '2026-11-06'
83
83
  isDropped: false
84
- - domainName: p7ypal.com
85
- isDropped: true
86
- - domainName: pa-pal.club
87
- createDate: '2019-10-25'
88
- expiryDate: '2020-10-25'
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 (*paypal*)
110
+ summary: Wildcard pattern search (paypal-*)
92
111
  value:
93
112
  status: true
94
- totalRecords: 5471
113
+ totalRecords: 10370
95
114
  currentPage: 1
115
+ totalPages: 104
96
116
  hasNextPage: true
97
- totalPages: 55
98
- nextPageToken: <opaque_token>
117
+ nextPageToken: eyJkb21haW5OYW1lIjoicGFpcGFsbC5jb20iLCJjdXJyZW50UGFnZSI6MX0=
99
118
  domains:
100
- - domainName: paypal-support.com
101
- createDate: '2024-11-02'
102
- expiryDate: '2026-11-02'
103
- lastSeen: '2026-08-30'
104
- isDropped: false
105
- - domainName: login-paypal.net
106
- lastSeen: '2025-12-14'
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: Domain creation date (YYYY-MM-DD). May be absent for older or less-actively-tracked entries.
232
+ description: Registration date (YYYY-MM-DD), where available.
214
233
  expiryDate:
215
234
  type: string
216
- description: Domain expiration date (YYYY-MM-DD). May be absent for older or less-actively-tracked entries.
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). One of the two fields reliably meaningful across a full result set.
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apifreaks/openapi-specs",
3
- "version": "0.4.26",
3
+ "version": "0.4.27",
4
4
  "description": "Public OpenAPI 3.1 specifications for all APIFreaks API products.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -46,9 +46,42 @@
46
46
  "type": "array",
47
47
  "items": {
48
48
  "type": "string",
49
- "enum": ["A", "AAAA", "MX", "NS", "SOA", "SPF", "TXT", "CNAME", "PTR", "all"]
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
  }
@@ -73,6 +73,38 @@
73
73
  ]
74
74
  },
75
75
  "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`."
76
+ },
77
+ {
78
+ "name": "isAuthoritative",
79
+ "in": "query",
80
+ "required": false,
81
+ "schema": {
82
+ "type": "boolean",
83
+ "default": false
84
+ },
85
+ "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."
86
+ },
87
+ {
88
+ "name": "cnameDepth",
89
+ "in": "query",
90
+ "required": false,
91
+ "schema": {
92
+ "type": "integer",
93
+ "minimum": 0,
94
+ "maximum": 4,
95
+ "default": 0
96
+ },
97
+ "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."
98
+ },
99
+ {
100
+ "name": "relativeRecords",
101
+ "in": "query",
102
+ "required": false,
103
+ "schema": {
104
+ "type": "boolean",
105
+ "default": true
106
+ },
107
+ "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."
76
108
  }
77
109
  ],
78
110
  "responses": {
@@ -58,7 +58,7 @@
58
58
  "name": "exact",
59
59
  "in": "query",
60
60
  "required": false,
61
- "description": "When true, returns only records that exactly match the input (NS, MX, CNAME, SOA, SPF, TXT). When false, returns all matches (default when omitted).",
61
+ "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.",
62
62
  "schema": {
63
63
  "type": "boolean",
64
64
  "default": false
@@ -74,6 +74,19 @@
74
74
  "minimum": 1,
75
75
  "default": 1
76
76
  }
77
+ },
78
+ {
79
+ "name": "sort",
80
+ "in": "query",
81
+ "required": false,
82
+ "schema": {
83
+ "type": "string",
84
+ "enum": [
85
+ "asc",
86
+ "desc"
87
+ ]
88
+ },
89
+ "description": "Sort results by last-seen time: asc for ascending or desc for descending. Results are not sorted when omitted."
77
90
  }
78
91
  ],
79
92
  "responses": {
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Domain Typosquatting API - Find Typo and Look-Alike Domains for Brand Protection and Phishing Discovery",
5
5
  "version": "1.0.0",
6
- "description": "Search for registered domains that read like typo variants of a brand keyword, or that match a wildcard pattern, across the full TLD set. Each match returns what is available of its registration date, expiry date, last-seen date, and drop status, paginated at 100 domains per page. Built for brand and trademark protection, phishing discovery, scheduled monitoring, and domain reclaim.",
6
+ "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.",
7
7
  "contact": {
8
8
  "name": "APIFreaks Support",
9
9
  "url": "https://apifreaks.com/contact",
@@ -21,7 +21,7 @@
21
21
  "get": {
22
22
  "tags": ["Domain APIs"],
23
23
  "summary": "Find registered typo-variant or wildcard-pattern domains for a brand keyword.",
24
- "description": "The Domain Typosquatting API searches for registered domains that are typo or look-alike variants of a brand keyword, or that match a wildcard pattern. Results include registration lifecycle data and drop status across 1529+ TLDs, paginated at 100 domains per page.",
24
+ "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.",
25
25
  "parameters": [
26
26
  {
27
27
  "name": "format",
@@ -51,10 +51,10 @@
51
51
  "required": false,
52
52
  "schema": {
53
53
  "type": "string",
54
- "minLength": 3,
54
+ "minLength": 5,
55
55
  "maxLength": 63
56
56
  },
57
- "description": "Wildcard search string that combines fuzzy matching with * wildcards. 3-63 characters total, * is the only supported wildcard and each one matches zero or more characters, maximum 3 asterisks per request. Use either keyword or pattern, never both."
57
+ "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."
58
58
  },
59
59
  {
60
60
  "name": "pageToken",
@@ -63,7 +63,7 @@
63
63
  "schema": {
64
64
  "type": "string"
65
65
  },
66
- "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 domains per page."
66
+ "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."
67
67
  }
68
68
  ],
69
69
  "responses": {
@@ -79,11 +79,11 @@
79
79
  "summary": "Keyword search (paypal)",
80
80
  "value": {
81
81
  "status": true,
82
- "totalRecords": 1284,
82
+ "totalRecords": 1304,
83
83
  "currentPage": 1,
84
+ "totalPages": 14,
84
85
  "hasNextPage": true,
85
- "totalPages": 13,
86
- "nextPageToken": "<opaque_token>",
86
+ "nextPageToken": "eyJkb21haW5OYW1lIjoicGFlcGFsLmZyIiwiY3VycmVudFBhZ2UiOjF9",
87
87
  "domains": [
88
88
  {
89
89
  "domainName": "p-aypal.com",
@@ -101,42 +101,67 @@
101
101
  "domainName": "p0aypal.com",
102
102
  "createDate": "2017-12-29",
103
103
  "expiryDate": "2026-12-29",
104
- "lastSeen": "2026-08-18",
104
+ "lastSeen": "2026-11-06",
105
105
  "isDropped": false
106
106
  },
107
107
  {
108
- "domainName": "p7ypal.com",
109
- "isDropped": true
108
+ "domainName": "p4ypal.com",
109
+ "createDate": "2020-10-15",
110
+ "expiryDate": "2030-10-15",
111
+ "lastSeen": "2026-11-06",
112
+ "isDropped": false
113
+ },
114
+ {
115
+ "domainName": "paapal.com",
116
+ "createDate": "2018-12-24",
117
+ "expiryDate": "2026-12-24",
118
+ "lastSeen": "2026-09-29",
119
+ "isDropped": false
110
120
  },
111
121
  {
112
- "domainName": "pa-pal.club",
113
- "createDate": "2019-10-25",
114
- "expiryDate": "2020-10-25",
122
+ "domainName": "paaypal.asia",
123
+ "createDate": "2008-03-24",
124
+ "expiryDate": "2027-03-24",
125
+ "lastSeen": "2026-08-22",
126
+ "isDropped": false
127
+ },
128
+ {
129
+ "domainName": "paaypal.com",
130
+ "createDate": "2000-05-21",
131
+ "expiryDate": "2027-05-21",
132
+ "lastSeen": "2026-11-07",
133
+ "isDropped": false
134
+ },
135
+ {
136
+ "domainName": "padpal.com",
137
+ "createDate": "2000-04-09",
138
+ "expiryDate": "2027-04-09",
139
+ "lastSeen": "2026-09-29",
115
140
  "isDropped": false
116
141
  }
117
142
  ]
118
143
  }
119
144
  },
120
145
  "patternSuccess": {
121
- "summary": "Wildcard pattern search (*paypal*)",
146
+ "summary": "Wildcard pattern search (paypal-*)",
122
147
  "value": {
123
148
  "status": true,
124
- "totalRecords": 5471,
149
+ "totalRecords": 10370,
125
150
  "currentPage": 1,
151
+ "totalPages": 104,
126
152
  "hasNextPage": true,
127
- "totalPages": 55,
128
- "nextPageToken": "<opaque_token>",
153
+ "nextPageToken": "eyJkb21haW5OYW1lIjoicGFpcGFsbC5jb20iLCJjdXJyZW50UGFnZSI6MX0=",
129
154
  "domains": [
130
155
  {
131
- "domainName": "paypal-support.com",
132
- "createDate": "2024-11-02",
133
- "expiryDate": "2026-11-02",
134
- "lastSeen": "2026-08-30",
135
- "isDropped": false
156
+ "domainName": "p-aypal.com",
157
+ "createDate": "2025-04-17",
158
+ "expiryDate": "2026-04-17",
159
+ "lastSeen": "2026-05-29",
160
+ "isDropped": true
136
161
  },
137
162
  {
138
- "domainName": "login-paypal.net",
139
- "lastSeen": "2025-12-14",
163
+ "domainName": "p-aypal.de",
164
+ "lastSeen": "2024-07-11",
140
165
  "isDropped": true
141
166
  }
142
167
  ]
@@ -232,7 +257,14 @@
232
257
  "schemas": {
233
258
  "DomainTyposquattingResponse": {
234
259
  "type": "object",
235
- "required": ["status", "totalRecords", "currentPage", "hasNextPage", "totalPages", "domains"],
260
+ "required": [
261
+ "status",
262
+ "totalRecords",
263
+ "currentPage",
264
+ "hasNextPage",
265
+ "totalPages",
266
+ "domains"
267
+ ],
236
268
  "properties": {
237
269
  "status": {
238
270
  "type": "boolean",
@@ -278,15 +310,15 @@
278
310
  },
279
311
  "createDate": {
280
312
  "type": "string",
281
- "description": "Domain creation date (YYYY-MM-DD). May be absent for older or less-actively-tracked entries."
313
+ "description": "Registration date (YYYY-MM-DD), where available."
282
314
  },
283
315
  "expiryDate": {
284
316
  "type": "string",
285
- "description": "Domain expiration date (YYYY-MM-DD). May be absent for older or less-actively-tracked entries."
317
+ "description": "Expiry date (YYYY-MM-DD), where available."
286
318
  },
287
319
  "lastSeen": {
288
320
  "type": "string",
289
- "description": "Last time the domain was observed (YYYY-MM-DD). One of the two fields reliably meaningful across a full result set."
321
+ "description": "Last time the domain was observed (YYYY-MM-DD), where available."
290
322
  },
291
323
  "isDropped": {
292
324
  "type": "boolean",
@@ -341,4 +373,4 @@
341
373
  "ApiKeyAuthQuery": []
342
374
  }
343
375
  ]
344
- }
376
+ }