@apifreaks/openapi-specs 0.4.14 → 0.4.16
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 +929 -94
- package/dist/index.js +929 -94
- package/dist/specs/email-validation/bulk-disposable-email-checker.yaml +167 -20
- package/dist/specs/email-validation/disposable-email-checker.yaml +212 -20
- package/dist/specs/ip-intelligence/bulk-ip-lookup.yaml +41 -2
- package/dist/specs/ip-intelligence/bulk-ip-threat-intelligence.yaml +54 -3
- package/dist/specs/ip-intelligence/ip-locator.yaml +37 -2
- package/dist/specs/ip-intelligence/ip-threat-intelligence.yaml +38 -3
- package/package.json +1 -1
- package/specs/email-validation/bulk-disposable-email-checker.json +217 -21
- package/specs/email-validation/disposable-email-checker.json +277 -26
- package/specs/ip-intelligence/bulk-ip-lookup.json +55 -6
- package/specs/ip-intelligence/bulk-ip-threat-intelligence.json +66 -7
- package/specs/ip-intelligence/ip-locator.json +49 -4
- package/specs/ip-intelligence/ip-threat-intelligence.json +48 -5
|
@@ -2,7 +2,7 @@ openapi: 3.1.1
|
|
|
2
2
|
info:
|
|
3
3
|
title: Bulk IP Threat Intelligence API Reference
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
description: Retrieve threat intelligence and security profiles for up to 50,000 IP addresses in a single request. Each entry in the response array includes a composite 0-100 threat score plus per-signal flags for VPN, proxy, residential proxy, Tor exit node, bot, spam,
|
|
5
|
+
description: Retrieve threat intelligence and security profiles for up to 50,000 IP addresses in a single request. Each entry in the response array includes a composite 0-100 threat score plus per-signal flags for VPN, proxy, residential proxy, Tor exit node, bot, spam, known-attacker, and corporate-gateway activity, along with confidence scores and provider names where available. Use the `fields` and `excludes` query parameters to control which security signals are returned, reducing payload size for bulk workflows. A bad or bogon IP in the batch returns a per-item error object instead of failing the entire request, so you can process mixed-validity inputs in one call.
|
|
6
6
|
contact:
|
|
7
7
|
name: APIFreaks Support
|
|
8
8
|
url: https://apifreaks.com/contact
|
|
@@ -84,9 +84,17 @@ paths:
|
|
|
84
84
|
is_anonymous: false
|
|
85
85
|
is_known_attacker: false
|
|
86
86
|
is_bot: false
|
|
87
|
+
bot_confidence_score: 0
|
|
88
|
+
bot_operator_name: ''
|
|
89
|
+
bot_type: ''
|
|
90
|
+
is_known_good_bot: false
|
|
91
|
+
bot_last_seen: ''
|
|
87
92
|
is_spam: false
|
|
88
93
|
is_cloud_provider: true
|
|
89
94
|
cloud_provider_name: Google LLC
|
|
95
|
+
is_corporate_gateway: false
|
|
96
|
+
corporate_gateway_type: ''
|
|
97
|
+
corporate_gateway_provider_name: ''
|
|
90
98
|
- ip: 1.1.1.1
|
|
91
99
|
security:
|
|
92
100
|
threat_score: 5
|
|
@@ -105,9 +113,17 @@ paths:
|
|
|
105
113
|
is_anonymous: false
|
|
106
114
|
is_known_attacker: false
|
|
107
115
|
is_bot: false
|
|
116
|
+
bot_confidence_score: 0
|
|
117
|
+
bot_operator_name: ''
|
|
118
|
+
bot_type: ''
|
|
119
|
+
is_known_good_bot: false
|
|
120
|
+
bot_last_seen: ''
|
|
108
121
|
is_spam: false
|
|
109
122
|
is_cloud_provider: true
|
|
110
123
|
cloud_provider_name: Cloudflare, Inc.
|
|
124
|
+
is_corporate_gateway: false
|
|
125
|
+
corporate_gateway_type: ''
|
|
126
|
+
corporate_gateway_provider_name: ''
|
|
111
127
|
partialFailure:
|
|
112
128
|
summary: Response with an invalid IP mixed in - that item returns an error object instead of security data
|
|
113
129
|
value:
|
|
@@ -130,9 +146,17 @@ paths:
|
|
|
130
146
|
is_anonymous: false
|
|
131
147
|
is_known_attacker: false
|
|
132
148
|
is_bot: false
|
|
149
|
+
bot_confidence_score: 0
|
|
150
|
+
bot_operator_name: ''
|
|
151
|
+
bot_type: ''
|
|
152
|
+
is_known_good_bot: false
|
|
153
|
+
bot_last_seen: ''
|
|
133
154
|
is_spam: false
|
|
134
155
|
is_cloud_provider: true
|
|
135
156
|
cloud_provider_name: Google LLC
|
|
157
|
+
is_corporate_gateway: false
|
|
158
|
+
corporate_gateway_type: ''
|
|
159
|
+
corporate_gateway_provider_name: ''
|
|
136
160
|
bogonIp:
|
|
137
161
|
summary: Bogon or reserved IP - returns an error object for that item
|
|
138
162
|
value:
|
|
@@ -247,8 +271,11 @@ components:
|
|
|
247
271
|
- is_anonymous
|
|
248
272
|
- is_known_attacker
|
|
249
273
|
- is_bot
|
|
274
|
+
- bot_confidence_score
|
|
275
|
+
- is_known_good_bot
|
|
250
276
|
- is_spam
|
|
251
277
|
- is_cloud_provider
|
|
278
|
+
- is_corporate_gateway
|
|
252
279
|
properties:
|
|
253
280
|
threat_score:
|
|
254
281
|
type: number
|
|
@@ -302,15 +329,39 @@ components:
|
|
|
302
329
|
is_bot:
|
|
303
330
|
type: boolean
|
|
304
331
|
description: Indicates whether the IP is associated with bot activity.
|
|
332
|
+
bot_confidence_score:
|
|
333
|
+
type: number
|
|
334
|
+
description: Confidence score (0-100) that the IP is used for bot activity. Set only when is_bot is true; otherwise 0.
|
|
335
|
+
bot_operator_name:
|
|
336
|
+
type: string
|
|
337
|
+
description: Organization that runs the bot, when known. Usually present only for declared bots such as search engine crawlers.
|
|
338
|
+
bot_type:
|
|
339
|
+
type: string
|
|
340
|
+
description: 'Kind of automated activity detected, when known. Declared bots (is_known_good_bot true): search_engine, ai_crawler, ai_assistant, seo_crawler, site_monitor, link_preview, feed_fetcher, archiver, ad_verification, scanner. Undeclared bots (is_known_good_bot false): scanner, scraper, exploit, credential_stuffing, brute_force, worm. New values can be added over time, so treat it as a plain string.'
|
|
341
|
+
is_known_good_bot:
|
|
342
|
+
type: boolean
|
|
343
|
+
description: Indicates whether the bot is a declared bot with a verifiable operator, such as a search engine crawler, uptime monitor, or security scanner.
|
|
344
|
+
bot_last_seen:
|
|
345
|
+
type: string
|
|
346
|
+
description: Date (YYYY-MM-DD) the bot activity was last observed, when available.
|
|
305
347
|
is_spam:
|
|
306
348
|
type: boolean
|
|
307
349
|
description: Indicates whether the IP is associated with spam activity.
|
|
308
350
|
is_cloud_provider:
|
|
309
351
|
type: boolean
|
|
310
|
-
description: Indicates whether the IP belongs to a cloud provider.
|
|
352
|
+
description: Indicates whether the IP belongs to a cloud or hosting provider.
|
|
311
353
|
cloud_provider_name:
|
|
312
354
|
type: string
|
|
313
|
-
description: Name of the cloud provider, if the IP address belongs to
|
|
355
|
+
description: Name of the cloud or hosting provider, if the IP address belongs to one.
|
|
356
|
+
is_corporate_gateway:
|
|
357
|
+
type: boolean
|
|
358
|
+
description: Indicates whether the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE), meaning traffic from a company network is routed through it.
|
|
359
|
+
corporate_gateway_type:
|
|
360
|
+
type: string
|
|
361
|
+
description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'
|
|
362
|
+
corporate_gateway_provider_name:
|
|
363
|
+
type: string
|
|
364
|
+
description: Name of the company that operates the gateway, such as Zscaler, when known.
|
|
314
365
|
headers:
|
|
315
366
|
X-AF-Credits-Cost:
|
|
316
367
|
description: Specifies the number of credits consumed by the current request.
|
|
@@ -116,6 +116,8 @@ paths:
|
|
|
116
116
|
connection_type: ''
|
|
117
117
|
route: 8.8.8.0/24
|
|
118
118
|
is_anycast: true
|
|
119
|
+
is_cdn: false
|
|
120
|
+
cdn_provider_name: ''
|
|
119
121
|
currency:
|
|
120
122
|
code: USD
|
|
121
123
|
name: US Dollar
|
|
@@ -370,6 +372,12 @@ components:
|
|
|
370
372
|
is_anycast:
|
|
371
373
|
type: boolean
|
|
372
374
|
description: true if the IP is anycast (same IP announced from multiple locations).
|
|
375
|
+
is_cdn:
|
|
376
|
+
type: boolean
|
|
377
|
+
description: true if the IP belongs to a content delivery network (CDN) or a cloud provider's network.
|
|
378
|
+
cdn_provider_name:
|
|
379
|
+
type: string
|
|
380
|
+
description: CDN provider name (e.g. Cloudflare) when is_cdn is true; empty otherwise.
|
|
373
381
|
Asn:
|
|
374
382
|
type: object
|
|
375
383
|
description: Autonomous System details for the IP.
|
|
@@ -436,8 +444,11 @@ components:
|
|
|
436
444
|
- is_anonymous
|
|
437
445
|
- is_known_attacker
|
|
438
446
|
- is_bot
|
|
447
|
+
- bot_confidence_score
|
|
448
|
+
- is_known_good_bot
|
|
439
449
|
- is_spam
|
|
440
450
|
- is_cloud_provider
|
|
451
|
+
- is_corporate_gateway
|
|
441
452
|
properties:
|
|
442
453
|
threat_score:
|
|
443
454
|
type: number
|
|
@@ -491,15 +502,39 @@ components:
|
|
|
491
502
|
is_bot:
|
|
492
503
|
type: boolean
|
|
493
504
|
description: true if the IP is associated with bot activity.
|
|
505
|
+
bot_confidence_score:
|
|
506
|
+
type: number
|
|
507
|
+
description: Bot detection confidence from 0 to 100. 0 unless is_bot is true.
|
|
508
|
+
bot_operator_name:
|
|
509
|
+
type: string
|
|
510
|
+
description: Organization running the bot, when known (mostly declared bots).
|
|
511
|
+
bot_type:
|
|
512
|
+
type: string
|
|
513
|
+
description: 'Kind of bot activity, when known. Declared bots (is_known_good_bot true): search_engine, ai_crawler, ai_assistant, seo_crawler, site_monitor, link_preview, feed_fetcher, archiver, ad_verification, scanner. Undeclared bots (is_known_good_bot false): scanner, scraper, exploit, credential_stuffing, brute_force, worm. New values can be added over time, so treat it as a plain string.'
|
|
514
|
+
is_known_good_bot:
|
|
515
|
+
type: boolean
|
|
516
|
+
description: true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor).
|
|
517
|
+
bot_last_seen:
|
|
518
|
+
type: string
|
|
519
|
+
description: Last observed bot activity date in YYYY-MM-DD, when available.
|
|
494
520
|
is_spam:
|
|
495
521
|
type: boolean
|
|
496
522
|
description: true if the IP is associated with spam activity.
|
|
497
523
|
is_cloud_provider:
|
|
498
524
|
type: boolean
|
|
499
|
-
description: true if the IP belongs to a cloud provider range.
|
|
525
|
+
description: true if the IP belongs to a cloud or hosting provider range.
|
|
500
526
|
cloud_provider_name:
|
|
501
527
|
type: string
|
|
502
|
-
description: Cloud provider name.
|
|
528
|
+
description: Cloud or hosting provider name.
|
|
529
|
+
is_corporate_gateway:
|
|
530
|
+
type: boolean
|
|
531
|
+
description: true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE).
|
|
532
|
+
corporate_gateway_type:
|
|
533
|
+
type: string
|
|
534
|
+
description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'
|
|
535
|
+
corporate_gateway_provider_name:
|
|
536
|
+
type: string
|
|
537
|
+
description: Corporate gateway provider name, when known.
|
|
503
538
|
Abuse:
|
|
504
539
|
type: object
|
|
505
540
|
description: Abuse contact information for the IP.
|
|
@@ -2,7 +2,7 @@ openapi: 3.1.1
|
|
|
2
2
|
info:
|
|
3
3
|
title: IP Threat Intelligence API - VPN, Proxy & Tor Detection with Threat Scoring
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
description: Retrieve real-time threat intelligence and security signals for a single IPv4 or IPv6 address. Returns an aggregate `threat_score` (0-100) plus detection flags and provider names for VPNs, proxies (including residential proxies), Tor exit nodes, relays, known attackers, bots, spam sources,
|
|
5
|
+
description: Retrieve real-time threat intelligence and security signals for a single IPv4 or IPv6 address. Returns an aggregate `threat_score` (0-100) plus detection flags and provider names for VPNs, proxies (including residential proxies), Tor exit nodes, relays, known attackers, bots (with bot type and whether it is a declared, known-good bot), spam sources, cloud-provider ranges, and corporate security gateways. Use `fields`/`excludes` with dot notation (e.g. `security.threat_score`) to trim the response to only the modules you need. If `ip` is omitted, the API returns threat data for the public IP of the requesting client. Bogon and reserved IP addresses return a `423` error, and malformed IP input returns a `400` error, instead of partial data.
|
|
6
6
|
contact:
|
|
7
7
|
name: APIFreaks Support
|
|
8
8
|
url: https://apifreaks.com/contact
|
|
@@ -76,9 +76,17 @@ paths:
|
|
|
76
76
|
is_anonymous: false
|
|
77
77
|
is_known_attacker: false
|
|
78
78
|
is_bot: false
|
|
79
|
+
bot_confidence_score: 0
|
|
80
|
+
bot_operator_name: ''
|
|
81
|
+
bot_type: ''
|
|
82
|
+
is_known_good_bot: false
|
|
83
|
+
bot_last_seen: ''
|
|
79
84
|
is_spam: false
|
|
80
85
|
is_cloud_provider: true
|
|
81
86
|
cloud_provider_name: Google LLC
|
|
87
|
+
is_corporate_gateway: false
|
|
88
|
+
corporate_gateway_type: ''
|
|
89
|
+
corporate_gateway_provider_name: ''
|
|
82
90
|
headers:
|
|
83
91
|
X-AF-Credits-Cost:
|
|
84
92
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -170,8 +178,11 @@ components:
|
|
|
170
178
|
- is_anonymous
|
|
171
179
|
- is_known_attacker
|
|
172
180
|
- is_bot
|
|
181
|
+
- bot_confidence_score
|
|
182
|
+
- is_known_good_bot
|
|
173
183
|
- is_spam
|
|
174
184
|
- is_cloud_provider
|
|
185
|
+
- is_corporate_gateway
|
|
175
186
|
properties:
|
|
176
187
|
threat_score:
|
|
177
188
|
type: number
|
|
@@ -225,15 +236,39 @@ components:
|
|
|
225
236
|
is_bot:
|
|
226
237
|
type: boolean
|
|
227
238
|
description: true if the IP is associated with bot activity.
|
|
239
|
+
bot_confidence_score:
|
|
240
|
+
type: number
|
|
241
|
+
description: Bot detection confidence from 0 to 100. 0 unless is_bot is true.
|
|
242
|
+
bot_operator_name:
|
|
243
|
+
type: string
|
|
244
|
+
description: Organization running the bot, when known (mostly declared bots).
|
|
245
|
+
bot_type:
|
|
246
|
+
type: string
|
|
247
|
+
description: 'Kind of bot activity, when known. Declared bots (is_known_good_bot true): search_engine, ai_crawler, ai_assistant, seo_crawler, site_monitor, link_preview, feed_fetcher, archiver, ad_verification, scanner. Undeclared bots (is_known_good_bot false): scanner, scraper, exploit, credential_stuffing, brute_force, worm. New values can be added over time, so treat it as a plain string.'
|
|
248
|
+
is_known_good_bot:
|
|
249
|
+
type: boolean
|
|
250
|
+
description: true if the bot is a declared bot with a verifiable operator (e.g. a search engine crawler or uptime monitor).
|
|
251
|
+
bot_last_seen:
|
|
252
|
+
type: string
|
|
253
|
+
description: Last observed bot activity date in YYYY-MM-DD, when available.
|
|
228
254
|
is_spam:
|
|
229
255
|
type: boolean
|
|
230
256
|
description: true if the IP is associated with spam activity.
|
|
231
257
|
is_cloud_provider:
|
|
232
258
|
type: boolean
|
|
233
|
-
description: true if the IP belongs to a cloud provider range.
|
|
259
|
+
description: true if the IP belongs to a cloud or hosting provider range.
|
|
234
260
|
cloud_provider_name:
|
|
235
261
|
type: string
|
|
236
|
-
description: Cloud provider name.
|
|
262
|
+
description: Cloud or hosting provider name.
|
|
263
|
+
is_corporate_gateway:
|
|
264
|
+
type: boolean
|
|
265
|
+
description: true if the IP is an outbound address of a corporate security gateway (SWG, SSE, or SASE).
|
|
266
|
+
corporate_gateway_type:
|
|
267
|
+
type: string
|
|
268
|
+
description: 'Kind of corporate gateway, when known. Known values: secure_web_gateway, browser_isolation.'
|
|
269
|
+
corporate_gateway_provider_name:
|
|
270
|
+
type: string
|
|
271
|
+
description: Corporate gateway provider name, when known.
|
|
237
272
|
headers:
|
|
238
273
|
X-AF-Credits-Cost:
|
|
239
274
|
description: Specifies the number of credits consumed by the current request.
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Bulk Disposable Email Checker API - Check Multiple Emails for Disposable Domains",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"description": "Check up to 100 email addresses in a single POST request for disposable/temporary domains, free webmail providers, spam-listed domains, and role-based accounts. Each
|
|
6
|
+
"description": "Check up to 100 email addresses in a single POST request for disposable/temporary domains, free webmail providers, spam-listed domains, and role-based accounts. Each entry can include an optional ip to also get its geolocation and security signals. Each entry is processed independently and returned in the same order as the request. The whole request is rejected with a 400 if emailData is empty/missing or contains a null entry or an entry without a valid email. Maximum 100 entries per request.",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "APIFreaks Support",
|
|
9
9
|
"url": "https://apifreaks.com/contact",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"post": {
|
|
22
22
|
"tags": ["Email Validation APIs"],
|
|
23
23
|
"summary": "Check multiple emails for disposable/temporary domains",
|
|
24
|
-
"description": "Checks a bulk of email addresses and returns a disposable email check result for each, in the same order as the request. Maximum `100`
|
|
24
|
+
"description": "Checks a bulk of email addresses (each with an optional ip) and returns a disposable email check result for each, in the same order as the request. Maximum `100` entries per request.",
|
|
25
25
|
"parameters": [
|
|
26
26
|
{
|
|
27
27
|
"name": "format",
|
|
@@ -45,7 +45,18 @@
|
|
|
45
45
|
"examples": {
|
|
46
46
|
"bulkRequest": {
|
|
47
47
|
"value": {
|
|
48
|
-
"
|
|
48
|
+
"emailData": [
|
|
49
|
+
{
|
|
50
|
+
"email": "abc"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"email": "john@microsoft.com",
|
|
54
|
+
"ip": "8.8.8.8"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"email": "test@mailinator.com"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
49
60
|
}
|
|
50
61
|
}
|
|
51
62
|
}
|
|
@@ -62,7 +73,7 @@
|
|
|
62
73
|
},
|
|
63
74
|
"examples": {
|
|
64
75
|
"mixedResults": {
|
|
65
|
-
"summary": "Mix of syntactically invalid, clean, and disposable results",
|
|
76
|
+
"summary": "Mix of syntactically invalid, clean (with ip), and disposable results",
|
|
66
77
|
"value": {
|
|
67
78
|
"disposableEmailResponse": [
|
|
68
79
|
{
|
|
@@ -88,6 +99,34 @@
|
|
|
88
99
|
},
|
|
89
100
|
"dns": {
|
|
90
101
|
"mxRecord": ["microsoft-com.mail.protection.outlook.com."]
|
|
102
|
+
},
|
|
103
|
+
"ip": "8.8.8.8",
|
|
104
|
+
"address": {
|
|
105
|
+
"validIpAddress": true,
|
|
106
|
+
"location": {
|
|
107
|
+
"city": "Mountain View",
|
|
108
|
+
"district": "Santa Clara",
|
|
109
|
+
"zipcode": "94043-1351",
|
|
110
|
+
"state_prov": "California",
|
|
111
|
+
"country_name": "United States",
|
|
112
|
+
"continent_name": "North America",
|
|
113
|
+
"continent_code": "NA",
|
|
114
|
+
"country_code2": "US",
|
|
115
|
+
"country_code3": "USA",
|
|
116
|
+
"country_name_official": "United States of America",
|
|
117
|
+
"is_eu": false
|
|
118
|
+
},
|
|
119
|
+
"security": {
|
|
120
|
+
"threat_score": 5,
|
|
121
|
+
"is_tor": false,
|
|
122
|
+
"is_proxy": false,
|
|
123
|
+
"is_anonymous": false,
|
|
124
|
+
"is_known_attacker": false,
|
|
125
|
+
"is_spam": false,
|
|
126
|
+
"is_bot": false,
|
|
127
|
+
"is_cloud_provider": true,
|
|
128
|
+
"cloud_provider": "Google LLC"
|
|
129
|
+
}
|
|
91
130
|
}
|
|
92
131
|
},
|
|
93
132
|
{
|
|
@@ -104,10 +143,7 @@
|
|
|
104
143
|
"role": false
|
|
105
144
|
},
|
|
106
145
|
"dns": {
|
|
107
|
-
"mxRecord": [
|
|
108
|
-
"mail.mailinator.com.",
|
|
109
|
-
"mail2.mailinator.com."
|
|
110
|
-
]
|
|
146
|
+
"mxRecord": ["mail.mailinator.com.", "mail2.mailinator.com."]
|
|
111
147
|
}
|
|
112
148
|
}
|
|
113
149
|
]
|
|
@@ -129,29 +165,29 @@
|
|
|
129
165
|
}
|
|
130
166
|
},
|
|
131
167
|
"400": {
|
|
132
|
-
"description": "Bad Request – Invalid request body, empty/missing
|
|
168
|
+
"description": "Bad Request – Invalid request body, empty/missing emailData, or a null entry / entry without a valid email",
|
|
133
169
|
"content": {
|
|
134
170
|
"application/json": {
|
|
135
171
|
"schema": {
|
|
136
172
|
"$ref": "#/components/schemas/ErrorResponse"
|
|
137
173
|
},
|
|
138
174
|
"examples": {
|
|
139
|
-
"
|
|
140
|
-
"summary": "
|
|
175
|
+
"emptyEmailData": {
|
|
176
|
+
"summary": "emailData missing or empty",
|
|
141
177
|
"value": {
|
|
142
|
-
"error": "
|
|
143
|
-
"message": "Please
|
|
178
|
+
"error": "Missing or Invalid Parameters",
|
|
179
|
+
"message": "Please pass at least one entry in 'emailData'.",
|
|
144
180
|
"path": "/v1.0/email/disposable/bulk",
|
|
145
181
|
"status": 400,
|
|
146
182
|
"timestamp": "2026-10-13T10:39:42.887Z"
|
|
147
183
|
}
|
|
148
184
|
},
|
|
149
185
|
"nullOrBlankEntry": {
|
|
150
|
-
"summary": "
|
|
186
|
+
"summary": "emailData contains a null entry or an entry with a blank/missing email — whole request rejected",
|
|
151
187
|
"value": {
|
|
152
188
|
"error": "Missing or Invalid Parameters",
|
|
153
|
-
"message": "'
|
|
154
|
-
"path": "/
|
|
189
|
+
"message": "'emailData' must not contain null entries or entries without a valid 'email'.",
|
|
190
|
+
"path": "/v1.0/email/disposable/bulk",
|
|
155
191
|
"status": 400,
|
|
156
192
|
"timestamp": "2026-10-13T10:39:44.002Z"
|
|
157
193
|
}
|
|
@@ -223,7 +259,7 @@
|
|
|
223
259
|
}
|
|
224
260
|
},
|
|
225
261
|
"413": {
|
|
226
|
-
"description": "Payload Too Large –
|
|
262
|
+
"description": "Payload Too Large – emailData exceeds the maximum of 100 entries per request",
|
|
227
263
|
"content": {
|
|
228
264
|
"application/json": {
|
|
229
265
|
"schema": {
|
|
@@ -303,6 +339,14 @@
|
|
|
303
339
|
},
|
|
304
340
|
"dns": {
|
|
305
341
|
"$ref": "#/components/schemas/DisposableDnsObject"
|
|
342
|
+
},
|
|
343
|
+
"ip": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"format": "ip",
|
|
346
|
+
"description": "The IP address that was looked up. Present only when an ip was sent in the request."
|
|
347
|
+
},
|
|
348
|
+
"address": {
|
|
349
|
+
"$ref": "#/components/schemas/AddressObject"
|
|
306
350
|
}
|
|
307
351
|
},
|
|
308
352
|
"description": "Disposable email check result for a single item in the bulk request."
|
|
@@ -369,15 +413,15 @@
|
|
|
369
413
|
"BulkDisposableEmailRequest": {
|
|
370
414
|
"type": "object",
|
|
371
415
|
"description": "Request body for bulk disposable email check.",
|
|
372
|
-
"required": ["
|
|
416
|
+
"required": ["emailData"],
|
|
373
417
|
"properties": {
|
|
374
|
-
"
|
|
418
|
+
"emailData": {
|
|
375
419
|
"type": "array",
|
|
376
|
-
"description": "
|
|
420
|
+
"description": "Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email — either condition rejects the whole request with a 400.",
|
|
377
421
|
"minItems": 1,
|
|
378
422
|
"maxItems": 100,
|
|
379
423
|
"items": {
|
|
380
|
-
"
|
|
424
|
+
"$ref": "#/components/schemas/DisposableEmailEntry"
|
|
381
425
|
}
|
|
382
426
|
}
|
|
383
427
|
}
|
|
@@ -409,6 +453,158 @@
|
|
|
409
453
|
"description": "Timestamp when the error occurred (ISO 8601)."
|
|
410
454
|
}
|
|
411
455
|
}
|
|
456
|
+
},
|
|
457
|
+
"DisposableEmailEntry": {
|
|
458
|
+
"type": "object",
|
|
459
|
+
"required": ["email"],
|
|
460
|
+
"properties": {
|
|
461
|
+
"email": {
|
|
462
|
+
"type": "string",
|
|
463
|
+
"description": "The email address to check. A malformed address still returns a normal response, with validSyntax and domain.validDomain set to false."
|
|
464
|
+
},
|
|
465
|
+
"ip": {
|
|
466
|
+
"type": "string",
|
|
467
|
+
"format": "ip",
|
|
468
|
+
"description": "Optional IP address to look up for location and security data, such as the IP the signup came from. An invalid or reserved IP still returns 200, with address.validIpAddress set to false."
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"AddressObject": {
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {
|
|
475
|
+
"validIpAddress": {
|
|
476
|
+
"type": "boolean",
|
|
477
|
+
"description": "IP recognized/reachable by the geolocation provider."
|
|
478
|
+
},
|
|
479
|
+
"location": {
|
|
480
|
+
"$ref": "#/components/schemas/EmailLocation"
|
|
481
|
+
},
|
|
482
|
+
"security": {
|
|
483
|
+
"$ref": "#/components/schemas/EmailSecurity"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"description": "Geolocation and security enrichment data for the IP address. Present only when an ip was sent in the request. If the IP lookup fails, this object is omitted and the disposable email result is unaffected.",
|
|
487
|
+
"required": []
|
|
488
|
+
},
|
|
489
|
+
"EmailLocation": {
|
|
490
|
+
"type": "object",
|
|
491
|
+
"description": "Geolocation data derived from the IP address.",
|
|
492
|
+
"properties": {
|
|
493
|
+
"city": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"description": "Municipal or city name."
|
|
496
|
+
},
|
|
497
|
+
"district": {
|
|
498
|
+
"type": "string",
|
|
499
|
+
"description": "District or neighborhood."
|
|
500
|
+
},
|
|
501
|
+
"zipcode": {
|
|
502
|
+
"type": "string",
|
|
503
|
+
"description": "Postal or ZIP code."
|
|
504
|
+
},
|
|
505
|
+
"state_prov": {
|
|
506
|
+
"type": "string",
|
|
507
|
+
"description": "State or province."
|
|
508
|
+
},
|
|
509
|
+
"country_name": {
|
|
510
|
+
"type": "string",
|
|
511
|
+
"description": "Common country name."
|
|
512
|
+
},
|
|
513
|
+
"country_name_official": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"description": "Official country name."
|
|
516
|
+
},
|
|
517
|
+
"country_code2": {
|
|
518
|
+
"type": "string",
|
|
519
|
+
"description": "Two-character ISO country code."
|
|
520
|
+
},
|
|
521
|
+
"country_code3": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"description": "Three-character ISO country code."
|
|
524
|
+
},
|
|
525
|
+
"continent_name": {
|
|
526
|
+
"type": "string",
|
|
527
|
+
"description": "Continental region name."
|
|
528
|
+
},
|
|
529
|
+
"continent_code": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"description": "Continental region identifier."
|
|
532
|
+
},
|
|
533
|
+
"accuracy_radius": {
|
|
534
|
+
"type": "string",
|
|
535
|
+
"description": "Geolocation precision radius. Not included for every IP."
|
|
536
|
+
},
|
|
537
|
+
"confidence": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"description": "Confidence score for geolocation accuracy. Not included for every IP."
|
|
540
|
+
},
|
|
541
|
+
"is_eu": {
|
|
542
|
+
"type": "boolean",
|
|
543
|
+
"description": "European Union membership status."
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"required": []
|
|
547
|
+
},
|
|
548
|
+
"EmailSecurity": {
|
|
549
|
+
"type": "object",
|
|
550
|
+
"description": "Threat and anonymity profile for the IP address.",
|
|
551
|
+
"required": [
|
|
552
|
+
"threat_score",
|
|
553
|
+
"is_tor",
|
|
554
|
+
"is_proxy",
|
|
555
|
+
"is_anonymous",
|
|
556
|
+
"is_known_attacker",
|
|
557
|
+
"is_spam",
|
|
558
|
+
"is_bot",
|
|
559
|
+
"is_cloud_provider",
|
|
560
|
+
"cloud_provider"
|
|
561
|
+
],
|
|
562
|
+
"properties": {
|
|
563
|
+
"threat_score": {
|
|
564
|
+
"type": "integer",
|
|
565
|
+
"description": "Quantitative risk assessment score. Higher values indicate elevated security risk."
|
|
566
|
+
},
|
|
567
|
+
"is_tor": {
|
|
568
|
+
"type": "boolean",
|
|
569
|
+
"description": "Detection flag for IP addresses routed through the Tor anonymity network."
|
|
570
|
+
},
|
|
571
|
+
"is_proxy": {
|
|
572
|
+
"type": "boolean",
|
|
573
|
+
"description": "Detection flag identifying IP addresses operating as proxy servers."
|
|
574
|
+
},
|
|
575
|
+
"proxy_type": {
|
|
576
|
+
"type": "string",
|
|
577
|
+
"description": "Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true."
|
|
578
|
+
},
|
|
579
|
+
"proxy_provider": {
|
|
580
|
+
"type": "string",
|
|
581
|
+
"description": "Identified service provider operating the proxy infrastructure. Included only when is_proxy is true."
|
|
582
|
+
},
|
|
583
|
+
"is_anonymous": {
|
|
584
|
+
"type": "boolean",
|
|
585
|
+
"description": "Anonymization detection flag for IP addresses using identity obfuscation techniques."
|
|
586
|
+
},
|
|
587
|
+
"is_known_attacker": {
|
|
588
|
+
"type": "boolean",
|
|
589
|
+
"description": "Threat intelligence flag for IP addresses documented as confirmed malicious sources."
|
|
590
|
+
},
|
|
591
|
+
"is_spam": {
|
|
592
|
+
"type": "boolean",
|
|
593
|
+
"description": "Reputation flag for IP addresses associated with spam transmission."
|
|
594
|
+
},
|
|
595
|
+
"is_bot": {
|
|
596
|
+
"type": "boolean",
|
|
597
|
+
"description": "Automated traffic detection flag for IP addresses from bot networks."
|
|
598
|
+
},
|
|
599
|
+
"is_cloud_provider": {
|
|
600
|
+
"type": "boolean",
|
|
601
|
+
"description": "Infrastructure classification flag for IP addresses from cloud computing providers."
|
|
602
|
+
},
|
|
603
|
+
"cloud_provider": {
|
|
604
|
+
"type": "string",
|
|
605
|
+
"description": "Identified cloud infrastructure or hosting service provider name."
|
|
606
|
+
}
|
|
607
|
+
}
|
|
412
608
|
}
|
|
413
609
|
},
|
|
414
610
|
"headers": {
|