@apifreaks/openapi-specs 0.4.9 → 0.4.10
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/README.md +0 -3
- package/dist/index.cjs +334 -85
- package/dist/index.js +334 -85
- package/dist/specs/email-validation/bulk-email-validation.yaml +11 -16
- package/dist/specs/email-validation/email-checker.yaml +14 -25
- package/dist/specs/financial/iban-validation.yaml +28 -4
- package/dist/specs/financial/swift-code-lookup.yaml +32 -2
- package/package.json +1 -1
- package/specs/README.md +2 -2
- package/specs/email-validation/bulk-email-validation.json +13 -18
- package/specs/email-validation/email-checker.json +18 -29
- package/specs/financial/iban-validation.json +25 -4
- package/specs/financial/swift-code-lookup.json +34 -3
|
@@ -109,8 +109,7 @@
|
|
|
109
109
|
"disposable": false,
|
|
110
110
|
"spam": false,
|
|
111
111
|
"free": false,
|
|
112
|
-
"validDomain": false
|
|
113
|
-
"catchAll": false
|
|
112
|
+
"validDomain": false
|
|
114
113
|
},
|
|
115
114
|
"account": {
|
|
116
115
|
"role": false
|
|
@@ -118,18 +117,18 @@
|
|
|
118
117
|
}
|
|
119
118
|
},
|
|
120
119
|
"acceptAll": {
|
|
121
|
-
"summary": "Catch-all domain accepted the recipient
|
|
120
|
+
"summary": "Catch-all domain accepted the recipient, mailbox unconfirmed",
|
|
122
121
|
"value": {
|
|
123
122
|
"success": true,
|
|
124
|
-
"email": "
|
|
123
|
+
"email": "someone@mailinator.com",
|
|
125
124
|
"validEmail": "accept_all",
|
|
126
125
|
"validSyntax": true,
|
|
127
126
|
"reason": "domain accepts all addresses.",
|
|
128
127
|
"domain": {
|
|
129
|
-
"name": "
|
|
130
|
-
"disposable":
|
|
128
|
+
"name": "mailinator.com",
|
|
129
|
+
"disposable": true,
|
|
131
130
|
"spam": false,
|
|
132
|
-
"free":
|
|
131
|
+
"free": false,
|
|
133
132
|
"validDomain": true,
|
|
134
133
|
"catchAll": true
|
|
135
134
|
},
|
|
@@ -139,15 +138,14 @@
|
|
|
139
138
|
},
|
|
140
139
|
"dns": {
|
|
141
140
|
"mxRecord": [
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"mta7.am0.yahoodns.net."
|
|
141
|
+
"mail.mailinator.com.",
|
|
142
|
+
"mail2.mailinator.com."
|
|
145
143
|
]
|
|
146
144
|
}
|
|
147
145
|
}
|
|
148
146
|
},
|
|
149
147
|
"nullMxDomain": {
|
|
150
|
-
"summary": "Domain publishes a null MX (single \".\")
|
|
148
|
+
"summary": "Domain publishes a null MX (single \".\"), accepts no mail at all",
|
|
151
149
|
"value": {
|
|
152
150
|
"success": true,
|
|
153
151
|
"email": "test@example.com",
|
|
@@ -159,8 +157,7 @@
|
|
|
159
157
|
"disposable": true,
|
|
160
158
|
"spam": false,
|
|
161
159
|
"free": false,
|
|
162
|
-
"validDomain": true
|
|
163
|
-
"catchAll": false
|
|
160
|
+
"validDomain": true
|
|
164
161
|
},
|
|
165
162
|
"account": {
|
|
166
163
|
"role": false
|
|
@@ -171,7 +168,7 @@
|
|
|
171
168
|
}
|
|
172
169
|
},
|
|
173
170
|
"noMxAddressOnly": {
|
|
174
|
-
"summary": "Domain has no MX record but a working A record
|
|
171
|
+
"summary": "Domain has no MX record but a working A record, gets a real SMTP probe",
|
|
175
172
|
"value": {
|
|
176
173
|
"success": true,
|
|
177
174
|
"email": "test@neverssl.com",
|
|
@@ -183,8 +180,7 @@
|
|
|
183
180
|
"disposable": false,
|
|
184
181
|
"spam": false,
|
|
185
182
|
"free": false,
|
|
186
|
-
"validDomain": true
|
|
187
|
-
"catchAll": false
|
|
183
|
+
"validDomain": true
|
|
188
184
|
},
|
|
189
185
|
"account": {
|
|
190
186
|
"role": false
|
|
@@ -228,7 +224,6 @@
|
|
|
228
224
|
"location": {
|
|
229
225
|
"city": "Mountain View",
|
|
230
226
|
"district": "Santa Clara",
|
|
231
|
-
"confidence": "low",
|
|
232
227
|
"zipcode": "94043-1351",
|
|
233
228
|
"state_prov": "California",
|
|
234
229
|
"country_name": "United States",
|
|
@@ -237,15 +232,12 @@
|
|
|
237
232
|
"country_code2": "US",
|
|
238
233
|
"country_code3": "USA",
|
|
239
234
|
"country_name_official": "United States of America",
|
|
240
|
-
"accuracy_radius": "27.42",
|
|
241
235
|
"is_eu": false
|
|
242
236
|
},
|
|
243
237
|
"security": {
|
|
244
238
|
"threat_score": 5,
|
|
245
239
|
"is_tor": false,
|
|
246
240
|
"is_proxy": false,
|
|
247
|
-
"proxy_type": "",
|
|
248
|
-
"proxy_provider": "",
|
|
249
241
|
"is_anonymous": false,
|
|
250
242
|
"is_known_attacker": false,
|
|
251
243
|
"is_spam": false,
|
|
@@ -269,8 +261,7 @@
|
|
|
269
261
|
"disposable": false,
|
|
270
262
|
"spam": false,
|
|
271
263
|
"free": true,
|
|
272
|
-
"validDomain": true
|
|
273
|
-
"catchAll": false
|
|
264
|
+
"validDomain": true
|
|
274
265
|
},
|
|
275
266
|
"account": {
|
|
276
267
|
"role": false
|
|
@@ -521,7 +512,7 @@
|
|
|
521
512
|
},
|
|
522
513
|
"catchAll": {
|
|
523
514
|
"type": "boolean",
|
|
524
|
-
"description": "
|
|
515
|
+
"description": "Whether the domain is catch-all, meaning its mail server accepts email for any address. true: the domain accepts all addresses, and validEmail is accept_all. false: the check ran and the domain is not catch-all. This field is omitted when the check could not complete."
|
|
525
516
|
}
|
|
526
517
|
},
|
|
527
518
|
"description": "Domain validation details for the email address."
|
|
@@ -625,11 +616,11 @@
|
|
|
625
616
|
},
|
|
626
617
|
"accuracy_radius": {
|
|
627
618
|
"type": "string",
|
|
628
|
-
"description": "Geolocation precision radius."
|
|
619
|
+
"description": "Geolocation precision radius. Not included for every IP."
|
|
629
620
|
},
|
|
630
621
|
"confidence": {
|
|
631
622
|
"type": "string",
|
|
632
|
-
"description": "Confidence score for geolocation accuracy."
|
|
623
|
+
"description": "Confidence score for geolocation accuracy. Not included for every IP."
|
|
633
624
|
},
|
|
634
625
|
"is_eu": {
|
|
635
626
|
"type": "boolean",
|
|
@@ -645,8 +636,6 @@
|
|
|
645
636
|
"threat_score",
|
|
646
637
|
"is_tor",
|
|
647
638
|
"is_proxy",
|
|
648
|
-
"proxy_type",
|
|
649
|
-
"proxy_provider",
|
|
650
639
|
"is_anonymous",
|
|
651
640
|
"is_known_attacker",
|
|
652
641
|
"is_spam",
|
|
@@ -669,11 +658,11 @@
|
|
|
669
658
|
},
|
|
670
659
|
"proxy_type": {
|
|
671
660
|
"type": "string",
|
|
672
|
-
"description": "Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS)."
|
|
661
|
+
"description": "Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true."
|
|
673
662
|
},
|
|
674
663
|
"proxy_provider": {
|
|
675
664
|
"type": "string",
|
|
676
|
-
"description": "Identified service provider operating the proxy infrastructure."
|
|
665
|
+
"description": "Identified service provider operating the proxy infrastructure. Included only when is_proxy is true."
|
|
677
666
|
},
|
|
678
667
|
"is_anonymous": {
|
|
679
668
|
"type": "boolean",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "IBAN Validation API - Validate Format, Check SEPA & Return Bank Details",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"description": "Validate an IBAN number against country-specific format, length, and checksum rules. Supports IBANs from all SEPA and IBAN-compliant countries. Returns detailed validation results for each check — alphanumeric, supported country, length, structure, and check digit. Includes bank data such as BIC/SWIFT code, bank name, branch
|
|
6
|
+
"description": "Validate an IBAN number against country-specific format, length, and checksum rules. Supports IBANs from all SEPA and IBAN-compliant countries. Returns detailed validation results for each check — alphanumeric, supported country, length, structure, and check digit. Includes bank data such as BIC/SWIFT code, bank name, institution type, branch name, postal code, and SEPA eligibility when available.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "APIFreaks Support",
|
|
9
9
|
"url": "https://apifreaks.com/contact",
|
|
@@ -67,14 +67,17 @@
|
|
|
67
67
|
"bban": "valid"
|
|
68
68
|
},
|
|
69
69
|
"bank_data": {
|
|
70
|
-
"bic": "
|
|
70
|
+
"bic": "NWBKGB2104T",
|
|
71
71
|
"bank": "NATIONAL WESTMINSTER BANK PLC",
|
|
72
|
+
"instit_type": "FIIN",
|
|
73
|
+
"branch_name": "NATIONAL WESTMINSTER BANK PLC",
|
|
72
74
|
"bank_code": "NWBK",
|
|
73
75
|
"branch_code": "601613",
|
|
74
76
|
"country": "United Kingdom",
|
|
75
77
|
"country_iso2": "GB",
|
|
76
|
-
"city": "
|
|
77
|
-
"address": "
|
|
78
|
+
"city": "ALTRINCHAM",
|
|
79
|
+
"address": "23 STAMFORD NEW ROAD, GREATER",
|
|
80
|
+
"postal_code": "WA141DB",
|
|
78
81
|
"account": "31926819",
|
|
79
82
|
"sepa": true
|
|
80
83
|
}
|
|
@@ -96,12 +99,15 @@
|
|
|
96
99
|
"bank_data": {
|
|
97
100
|
"bic": null,
|
|
98
101
|
"bank": null,
|
|
102
|
+
"instit_type": null,
|
|
103
|
+
"branch_name": null,
|
|
99
104
|
"bank_code": null,
|
|
100
105
|
"branch_code": "",
|
|
101
106
|
"country": "Norway",
|
|
102
107
|
"country_iso2": "NO",
|
|
103
108
|
"city": null,
|
|
104
109
|
"address": null,
|
|
110
|
+
"postal_code": null,
|
|
105
111
|
"account": "N123",
|
|
106
112
|
"sepa": true
|
|
107
113
|
}
|
|
@@ -123,12 +129,15 @@
|
|
|
123
129
|
"bank_data": {
|
|
124
130
|
"bic": null,
|
|
125
131
|
"bank": null,
|
|
132
|
+
"instit_type": null,
|
|
133
|
+
"branch_name": null,
|
|
126
134
|
"bank_code": null,
|
|
127
135
|
"branch_code": "",
|
|
128
136
|
"country": null,
|
|
129
137
|
"country_iso2": "US",
|
|
130
138
|
"city": null,
|
|
131
139
|
"address": null,
|
|
140
|
+
"postal_code": null,
|
|
132
141
|
"account": null,
|
|
133
142
|
"sepa": null
|
|
134
143
|
}
|
|
@@ -263,6 +272,14 @@
|
|
|
263
272
|
"type": ["string", "null"],
|
|
264
273
|
"description": "Bank name extracted from the IBAN. Null when not resolvable."
|
|
265
274
|
},
|
|
275
|
+
"instit_type": {
|
|
276
|
+
"type": ["string", "null"],
|
|
277
|
+
"description": "Type of institution: \"FIIN\" (financial institution) or \"NFIN\" (non-financial institution). Null when not resolvable."
|
|
278
|
+
},
|
|
279
|
+
"branch_name": {
|
|
280
|
+
"type": ["string", "null"],
|
|
281
|
+
"description": "Name of the branch or office. Null when not resolvable."
|
|
282
|
+
},
|
|
266
283
|
"bank_code": {
|
|
267
284
|
"type": ["string", "null"],
|
|
268
285
|
"description": "Bank code extracted from the IBAN. Null when not resolvable."
|
|
@@ -287,6 +304,10 @@
|
|
|
287
304
|
"type": ["string", "null"],
|
|
288
305
|
"description": "Bank branch address. Null when not resolvable."
|
|
289
306
|
},
|
|
307
|
+
"postal_code": {
|
|
308
|
+
"type": ["string", "null"],
|
|
309
|
+
"description": "Postal/ZIP code of the bank branch. Null when not resolvable."
|
|
310
|
+
},
|
|
290
311
|
"account": {
|
|
291
312
|
"type": ["string", "null"],
|
|
292
313
|
"description": "Account number extracted from the IBAN. Null when the country prefix isn't a supported IBAN country."
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "SWIFT/BIC Code API - Look Up Bank Details or Find Codes by Country, Bank & City",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"description": "Look up a SWIFT/BIC code to retrieve bank details. Returns the bank name, address, city, country, country code, and bank code for any valid 8 or 11 character SWIFT/BIC code. Supports both headquarters and branch-level SWIFT codes.",
|
|
6
|
+
"description": "Look up a SWIFT/BIC code to retrieve bank details. Returns the bank name, institution type, branch name, address, postal code, city, country, country code, and bank code for any valid 8 or 11 character SWIFT/BIC code. Supports both headquarters and branch-level SWIFT codes.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "APIFreaks Support",
|
|
9
9
|
"url": "https://apifreaks.com/contact",
|
|
@@ -58,11 +58,29 @@
|
|
|
58
58
|
"value": {
|
|
59
59
|
"swiftCode": "NWBKGB2LXXX",
|
|
60
60
|
"countryCode": "GB",
|
|
61
|
-
"bankAddress": "250 BISHOPSGATE",
|
|
61
|
+
"bankAddress": "250 BISHOPSGATE, GREATER LONDON",
|
|
62
62
|
"bankCode": "NWBK",
|
|
63
63
|
"bankName": "NATIONAL WESTMINSTER BANK PLC",
|
|
64
|
+
"institType": "FIIN",
|
|
65
|
+
"branchName": "NATIONAL WESTMINSTER BANK PLC",
|
|
64
66
|
"city": "LONDON",
|
|
65
|
-
"country": "United Kingdom"
|
|
67
|
+
"country": "United Kingdom",
|
|
68
|
+
"postalCode": "EC2M 4AA"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"nullablePostalCode": {
|
|
72
|
+
"summary": "branchName/postalCode can be null when not resolvable",
|
|
73
|
+
"value": {
|
|
74
|
+
"swiftCode": "HSBCHKHHXXX",
|
|
75
|
+
"countryCode": "HK",
|
|
76
|
+
"bankAddress": "HSBC MAIN BUILDING",
|
|
77
|
+
"bankCode": "HSBC",
|
|
78
|
+
"bankName": "THE HONGKONG AND SHANGHAI BANKING CORPORATION LIMITED",
|
|
79
|
+
"institType": "FIIN",
|
|
80
|
+
"branchName": "HONGKONG AND SHANGHAI BANKING CORPORATION LIMITED, THE",
|
|
81
|
+
"city": "CENTRAL",
|
|
82
|
+
"country": "Hong Kong",
|
|
83
|
+
"postalCode": null
|
|
66
84
|
}
|
|
67
85
|
}
|
|
68
86
|
}
|
|
@@ -174,6 +192,14 @@
|
|
|
174
192
|
"type": "string",
|
|
175
193
|
"description": "Full name of the bank or financial institution."
|
|
176
194
|
},
|
|
195
|
+
"institType": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"description": "Type of institution: \"FIIN\" (financial institution) or \"NFIN\" (non-financial institution)."
|
|
198
|
+
},
|
|
199
|
+
"branchName": {
|
|
200
|
+
"type": ["string", "null"],
|
|
201
|
+
"description": "Name of the branch or office. Null when not resolvable."
|
|
202
|
+
},
|
|
177
203
|
"city": {
|
|
178
204
|
"type": "string",
|
|
179
205
|
"description": "City where the bank branch is located."
|
|
@@ -181,6 +207,10 @@
|
|
|
181
207
|
"country": {
|
|
182
208
|
"type": "string",
|
|
183
209
|
"description": "Full country name where the bank is registered."
|
|
210
|
+
},
|
|
211
|
+
"postalCode": {
|
|
212
|
+
"type": ["string", "null"],
|
|
213
|
+
"description": "Postal/ZIP code of the bank branch. Null when not resolvable."
|
|
184
214
|
}
|
|
185
215
|
},
|
|
186
216
|
"required": [
|
|
@@ -189,6 +219,7 @@
|
|
|
189
219
|
"bankAddress",
|
|
190
220
|
"bankCode",
|
|
191
221
|
"bankName",
|
|
222
|
+
"institType",
|
|
192
223
|
"city",
|
|
193
224
|
"country"
|
|
194
225
|
],
|