@apifreaks/openapi-specs 0.4.15 → 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 +707 -68
- package/dist/index.js +707 -68
- package/dist/specs/email-validation/bulk-disposable-email-checker.yaml +167 -20
- package/dist/specs/email-validation/disposable-email-checker.yaml +212 -20
- 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
|
@@ -2,7 +2,7 @@ openapi: 3.1.1
|
|
|
2
2
|
info:
|
|
3
3
|
title: Bulk Disposable Email Checker API - Check Multiple Emails for Disposable Domains
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
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
|
|
5
|
+
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.
|
|
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
|
- Email Validation APIs
|
|
18
18
|
summary: Check multiple emails for disposable/temporary domains
|
|
19
|
-
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`
|
|
19
|
+
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.
|
|
20
20
|
parameters:
|
|
21
21
|
- name: format
|
|
22
22
|
in: query
|
|
@@ -37,10 +37,11 @@ paths:
|
|
|
37
37
|
examples:
|
|
38
38
|
bulkRequest:
|
|
39
39
|
value:
|
|
40
|
-
|
|
41
|
-
- abc
|
|
42
|
-
- john@microsoft.com
|
|
43
|
-
|
|
40
|
+
emailData:
|
|
41
|
+
- email: abc
|
|
42
|
+
- email: john@microsoft.com
|
|
43
|
+
ip: 8.8.8.8
|
|
44
|
+
- email: test@mailinator.com
|
|
44
45
|
responses:
|
|
45
46
|
'200':
|
|
46
47
|
description: Successful response. Each item corresponds to one requested email, in the same order as the request.
|
|
@@ -50,7 +51,7 @@ paths:
|
|
|
50
51
|
$ref: '#/components/schemas/BulkDisposableEmailCheckResponse'
|
|
51
52
|
examples:
|
|
52
53
|
mixedResults:
|
|
53
|
-
summary: Mix of syntactically invalid, clean, and disposable results
|
|
54
|
+
summary: Mix of syntactically invalid, clean (with ip), and disposable results
|
|
54
55
|
value:
|
|
55
56
|
disposableEmailResponse:
|
|
56
57
|
- email: abc
|
|
@@ -71,6 +72,31 @@ paths:
|
|
|
71
72
|
dns:
|
|
72
73
|
mxRecord:
|
|
73
74
|
- microsoft-com.mail.protection.outlook.com.
|
|
75
|
+
ip: 8.8.8.8
|
|
76
|
+
address:
|
|
77
|
+
validIpAddress: true
|
|
78
|
+
location:
|
|
79
|
+
city: Mountain View
|
|
80
|
+
district: Santa Clara
|
|
81
|
+
zipcode: 94043-1351
|
|
82
|
+
state_prov: California
|
|
83
|
+
country_name: United States
|
|
84
|
+
continent_name: North America
|
|
85
|
+
continent_code: NA
|
|
86
|
+
country_code2: US
|
|
87
|
+
country_code3: USA
|
|
88
|
+
country_name_official: United States of America
|
|
89
|
+
is_eu: false
|
|
90
|
+
security:
|
|
91
|
+
threat_score: 5
|
|
92
|
+
is_tor: false
|
|
93
|
+
is_proxy: false
|
|
94
|
+
is_anonymous: false
|
|
95
|
+
is_known_attacker: false
|
|
96
|
+
is_spam: false
|
|
97
|
+
is_bot: false
|
|
98
|
+
is_cloud_provider: true
|
|
99
|
+
cloud_provider: Google LLC
|
|
74
100
|
- email: test@mailinator.com
|
|
75
101
|
validSyntax: true
|
|
76
102
|
domain:
|
|
@@ -93,26 +119,26 @@ paths:
|
|
|
93
119
|
X-Concurrent-Threads-Active:
|
|
94
120
|
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
95
121
|
'400':
|
|
96
|
-
description: Bad Request – Invalid request body, empty/missing
|
|
122
|
+
description: Bad Request – Invalid request body, empty/missing emailData, or a null entry / entry without a valid email
|
|
97
123
|
content:
|
|
98
124
|
application/json:
|
|
99
125
|
schema:
|
|
100
126
|
$ref: '#/components/schemas/ErrorResponse'
|
|
101
127
|
examples:
|
|
102
|
-
|
|
103
|
-
summary:
|
|
128
|
+
emptyEmailData:
|
|
129
|
+
summary: emailData missing or empty
|
|
104
130
|
value:
|
|
105
|
-
error:
|
|
106
|
-
message: Please
|
|
131
|
+
error: Missing or Invalid Parameters
|
|
132
|
+
message: Please pass at least one entry in 'emailData'.
|
|
107
133
|
path: /v1.0/email/disposable/bulk
|
|
108
134
|
status: 400
|
|
109
135
|
timestamp: '2026-10-13T10:39:42.887Z'
|
|
110
136
|
nullOrBlankEntry:
|
|
111
|
-
summary:
|
|
137
|
+
summary: emailData contains a null entry or an entry with a blank/missing email — whole request rejected
|
|
112
138
|
value:
|
|
113
139
|
error: Missing or Invalid Parameters
|
|
114
|
-
message: '''
|
|
115
|
-
path: /
|
|
140
|
+
message: '''emailData'' must not contain null entries or entries without a valid ''email''.'
|
|
141
|
+
path: /v1.0/email/disposable/bulk
|
|
116
142
|
status: 400
|
|
117
143
|
timestamp: '2026-10-13T10:39:44.002Z'
|
|
118
144
|
missingApiKey:
|
|
@@ -158,7 +184,7 @@ paths:
|
|
|
158
184
|
X-AF-Credits-Cost:
|
|
159
185
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
160
186
|
'413':
|
|
161
|
-
description: Payload Too Large –
|
|
187
|
+
description: Payload Too Large – emailData exceeds the maximum of 100 entries per request
|
|
162
188
|
content:
|
|
163
189
|
application/json:
|
|
164
190
|
schema:
|
|
@@ -218,6 +244,12 @@ components:
|
|
|
218
244
|
$ref: '#/components/schemas/DisposableAccountObject'
|
|
219
245
|
dns:
|
|
220
246
|
$ref: '#/components/schemas/DisposableDnsObject'
|
|
247
|
+
ip:
|
|
248
|
+
type: string
|
|
249
|
+
format: ip
|
|
250
|
+
description: The IP address that was looked up. Present only when an ip was sent in the request.
|
|
251
|
+
address:
|
|
252
|
+
$ref: '#/components/schemas/AddressObject'
|
|
221
253
|
description: Disposable email check result for a single item in the bulk request.
|
|
222
254
|
DisposableDomainObject:
|
|
223
255
|
type: object
|
|
@@ -269,15 +301,15 @@ components:
|
|
|
269
301
|
type: object
|
|
270
302
|
description: Request body for bulk disposable email check.
|
|
271
303
|
required:
|
|
272
|
-
-
|
|
304
|
+
- emailData
|
|
273
305
|
properties:
|
|
274
|
-
|
|
306
|
+
emailData:
|
|
275
307
|
type: array
|
|
276
|
-
description:
|
|
308
|
+
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.
|
|
277
309
|
minItems: 1
|
|
278
310
|
maxItems: 100
|
|
279
311
|
items:
|
|
280
|
-
|
|
312
|
+
$ref: '#/components/schemas/DisposableEmailEntry'
|
|
281
313
|
ErrorResponse:
|
|
282
314
|
type: object
|
|
283
315
|
description: Standard error envelope returned by the API on failed requests.
|
|
@@ -300,6 +332,121 @@ components:
|
|
|
300
332
|
type: string
|
|
301
333
|
format: date-time
|
|
302
334
|
description: Timestamp when the error occurred (ISO 8601).
|
|
335
|
+
DisposableEmailEntry:
|
|
336
|
+
type: object
|
|
337
|
+
required:
|
|
338
|
+
- email
|
|
339
|
+
properties:
|
|
340
|
+
email:
|
|
341
|
+
type: string
|
|
342
|
+
description: The email address to check. A malformed address still returns a normal response, with validSyntax and domain.validDomain set to false.
|
|
343
|
+
ip:
|
|
344
|
+
type: string
|
|
345
|
+
format: ip
|
|
346
|
+
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.
|
|
347
|
+
AddressObject:
|
|
348
|
+
type: object
|
|
349
|
+
properties:
|
|
350
|
+
validIpAddress:
|
|
351
|
+
type: boolean
|
|
352
|
+
description: IP recognized/reachable by the geolocation provider.
|
|
353
|
+
location:
|
|
354
|
+
$ref: '#/components/schemas/EmailLocation'
|
|
355
|
+
security:
|
|
356
|
+
$ref: '#/components/schemas/EmailSecurity'
|
|
357
|
+
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.
|
|
358
|
+
required: []
|
|
359
|
+
EmailLocation:
|
|
360
|
+
type: object
|
|
361
|
+
description: Geolocation data derived from the IP address.
|
|
362
|
+
properties:
|
|
363
|
+
city:
|
|
364
|
+
type: string
|
|
365
|
+
description: Municipal or city name.
|
|
366
|
+
district:
|
|
367
|
+
type: string
|
|
368
|
+
description: District or neighborhood.
|
|
369
|
+
zipcode:
|
|
370
|
+
type: string
|
|
371
|
+
description: Postal or ZIP code.
|
|
372
|
+
state_prov:
|
|
373
|
+
type: string
|
|
374
|
+
description: State or province.
|
|
375
|
+
country_name:
|
|
376
|
+
type: string
|
|
377
|
+
description: Common country name.
|
|
378
|
+
country_name_official:
|
|
379
|
+
type: string
|
|
380
|
+
description: Official country name.
|
|
381
|
+
country_code2:
|
|
382
|
+
type: string
|
|
383
|
+
description: Two-character ISO country code.
|
|
384
|
+
country_code3:
|
|
385
|
+
type: string
|
|
386
|
+
description: Three-character ISO country code.
|
|
387
|
+
continent_name:
|
|
388
|
+
type: string
|
|
389
|
+
description: Continental region name.
|
|
390
|
+
continent_code:
|
|
391
|
+
type: string
|
|
392
|
+
description: Continental region identifier.
|
|
393
|
+
accuracy_radius:
|
|
394
|
+
type: string
|
|
395
|
+
description: Geolocation precision radius. Not included for every IP.
|
|
396
|
+
confidence:
|
|
397
|
+
type: string
|
|
398
|
+
description: Confidence score for geolocation accuracy. Not included for every IP.
|
|
399
|
+
is_eu:
|
|
400
|
+
type: boolean
|
|
401
|
+
description: European Union membership status.
|
|
402
|
+
required: []
|
|
403
|
+
EmailSecurity:
|
|
404
|
+
type: object
|
|
405
|
+
description: Threat and anonymity profile for the IP address.
|
|
406
|
+
required:
|
|
407
|
+
- threat_score
|
|
408
|
+
- is_tor
|
|
409
|
+
- is_proxy
|
|
410
|
+
- is_anonymous
|
|
411
|
+
- is_known_attacker
|
|
412
|
+
- is_spam
|
|
413
|
+
- is_bot
|
|
414
|
+
- is_cloud_provider
|
|
415
|
+
- cloud_provider
|
|
416
|
+
properties:
|
|
417
|
+
threat_score:
|
|
418
|
+
type: integer
|
|
419
|
+
description: Quantitative risk assessment score. Higher values indicate elevated security risk.
|
|
420
|
+
is_tor:
|
|
421
|
+
type: boolean
|
|
422
|
+
description: Detection flag for IP addresses routed through the Tor anonymity network.
|
|
423
|
+
is_proxy:
|
|
424
|
+
type: boolean
|
|
425
|
+
description: Detection flag identifying IP addresses operating as proxy servers.
|
|
426
|
+
proxy_type:
|
|
427
|
+
type: string
|
|
428
|
+
description: Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true.
|
|
429
|
+
proxy_provider:
|
|
430
|
+
type: string
|
|
431
|
+
description: Identified service provider operating the proxy infrastructure. Included only when is_proxy is true.
|
|
432
|
+
is_anonymous:
|
|
433
|
+
type: boolean
|
|
434
|
+
description: Anonymization detection flag for IP addresses using identity obfuscation techniques.
|
|
435
|
+
is_known_attacker:
|
|
436
|
+
type: boolean
|
|
437
|
+
description: Threat intelligence flag for IP addresses documented as confirmed malicious sources.
|
|
438
|
+
is_spam:
|
|
439
|
+
type: boolean
|
|
440
|
+
description: Reputation flag for IP addresses associated with spam transmission.
|
|
441
|
+
is_bot:
|
|
442
|
+
type: boolean
|
|
443
|
+
description: Automated traffic detection flag for IP addresses from bot networks.
|
|
444
|
+
is_cloud_provider:
|
|
445
|
+
type: boolean
|
|
446
|
+
description: Infrastructure classification flag for IP addresses from cloud computing providers.
|
|
447
|
+
cloud_provider:
|
|
448
|
+
type: string
|
|
449
|
+
description: Identified cloud infrastructure or hosting service provider name.
|
|
303
450
|
headers:
|
|
304
451
|
X-AF-Credits-Cost:
|
|
305
452
|
description: Specifies the number of credits consumed by the current request. 15 credits per checked record (e.g. 3 emails = 45 credits).
|
|
@@ -2,7 +2,7 @@ openapi: 3.1.1
|
|
|
2
2
|
info:
|
|
3
3
|
title: Disposable Email Checker API - Detect Temporary & Throwaway Email Addresses
|
|
4
4
|
version: 1.0.0
|
|
5
|
-
description: Check a single email address for disposable/temporary domains, free webmail providers, spam-listed domains, and role-based accounts, with syntax validation and DNS record lookup (MX/A). Returns a minimal shape for syntactically invalid addresses and omits the domain/account/dns detail blocks when the domain cannot be resolved.
|
|
5
|
+
description: Check a single email address for disposable/temporary domains, free webmail providers, spam-listed domains, and role-based accounts, with syntax validation and DNS record lookup (MX/A). Returns a minimal shape for syntactically invalid addresses and omits the domain/account/dns detail blocks when the domain cannot be resolved. Optionally pass an ip to also get its geolocation and security signals (same format as the Email Checker's address object).
|
|
6
6
|
contact:
|
|
7
7
|
name: APIFreaks Support
|
|
8
8
|
url: https://apifreaks.com/contact
|
|
@@ -12,19 +12,12 @@ servers:
|
|
|
12
12
|
description: Disposable Email Checker API Server
|
|
13
13
|
paths:
|
|
14
14
|
/email/disposable:
|
|
15
|
-
|
|
15
|
+
post:
|
|
16
16
|
tags:
|
|
17
17
|
- Email Validation APIs
|
|
18
18
|
summary: Check a single email for disposable/temporary domain
|
|
19
|
-
description: Validates email syntax and checks the domain for disposable, free, spam, and role-account signals, plus MX/A DNS records.
|
|
19
|
+
description: Validates email syntax and checks the domain for disposable, free, spam, and role-account signals, plus MX/A DNS records. Send the email (and optionally an ip) as a JSON request body. When an ip is included, the response also carries geolocation and security data for it.
|
|
20
20
|
parameters:
|
|
21
|
-
- name: email
|
|
22
|
-
in: query
|
|
23
|
-
required: true
|
|
24
|
-
schema:
|
|
25
|
-
type: string
|
|
26
|
-
format: email
|
|
27
|
-
description: Email address to check.
|
|
28
21
|
- name: format
|
|
29
22
|
in: query
|
|
30
23
|
required: false
|
|
@@ -37,7 +30,7 @@ paths:
|
|
|
37
30
|
description: Format of the response.
|
|
38
31
|
responses:
|
|
39
32
|
'200':
|
|
40
|
-
description: Successful response with disposable email check result.
|
|
33
|
+
description: Successful response with disposable email check result. ip and address appear only when an ip was sent.
|
|
41
34
|
content:
|
|
42
35
|
application/json:
|
|
43
36
|
schema:
|
|
@@ -148,6 +141,74 @@ paths:
|
|
|
148
141
|
validDomain: false
|
|
149
142
|
account:
|
|
150
143
|
role: false
|
|
144
|
+
withIpAddress:
|
|
145
|
+
summary: Email with ip — location and security data included
|
|
146
|
+
value:
|
|
147
|
+
email: someone@gmail.com
|
|
148
|
+
validSyntax: true
|
|
149
|
+
domain:
|
|
150
|
+
disposable: false
|
|
151
|
+
free: true
|
|
152
|
+
name: gmail.com
|
|
153
|
+
spam: false
|
|
154
|
+
validDomain: true
|
|
155
|
+
account:
|
|
156
|
+
role: false
|
|
157
|
+
dns:
|
|
158
|
+
mxRecord:
|
|
159
|
+
- gmail-smtp-in.l.google.com.
|
|
160
|
+
- alt1.gmail-smtp-in.l.google.com.
|
|
161
|
+
- alt2.gmail-smtp-in.l.google.com.
|
|
162
|
+
- alt3.gmail-smtp-in.l.google.com.
|
|
163
|
+
- alt4.gmail-smtp-in.l.google.com.
|
|
164
|
+
ip: 8.8.8.8
|
|
165
|
+
address:
|
|
166
|
+
validIpAddress: true
|
|
167
|
+
location:
|
|
168
|
+
city: Mountain View
|
|
169
|
+
district: Santa Clara
|
|
170
|
+
zipcode: 94043-1351
|
|
171
|
+
state_prov: California
|
|
172
|
+
country_name: United States
|
|
173
|
+
continent_name: North America
|
|
174
|
+
continent_code: NA
|
|
175
|
+
country_code2: US
|
|
176
|
+
country_code3: USA
|
|
177
|
+
country_name_official: United States of America
|
|
178
|
+
is_eu: false
|
|
179
|
+
security:
|
|
180
|
+
threat_score: 5
|
|
181
|
+
is_tor: false
|
|
182
|
+
is_proxy: false
|
|
183
|
+
is_anonymous: false
|
|
184
|
+
is_known_attacker: false
|
|
185
|
+
is_spam: false
|
|
186
|
+
is_bot: false
|
|
187
|
+
is_cloud_provider: true
|
|
188
|
+
cloud_provider: Google LLC
|
|
189
|
+
invalidIp:
|
|
190
|
+
summary: Invalid or reserved IP — still 200, address.validIpAddress is false
|
|
191
|
+
value:
|
|
192
|
+
email: someone@gmail.com
|
|
193
|
+
validSyntax: true
|
|
194
|
+
domain:
|
|
195
|
+
disposable: false
|
|
196
|
+
free: true
|
|
197
|
+
name: gmail.com
|
|
198
|
+
spam: false
|
|
199
|
+
validDomain: true
|
|
200
|
+
account:
|
|
201
|
+
role: false
|
|
202
|
+
dns:
|
|
203
|
+
mxRecord:
|
|
204
|
+
- gmail-smtp-in.l.google.com.
|
|
205
|
+
- alt1.gmail-smtp-in.l.google.com.
|
|
206
|
+
- alt2.gmail-smtp-in.l.google.com.
|
|
207
|
+
- alt3.gmail-smtp-in.l.google.com.
|
|
208
|
+
- alt4.gmail-smtp-in.l.google.com.
|
|
209
|
+
ip: 10.0.0.1
|
|
210
|
+
address:
|
|
211
|
+
validIpAddress: false
|
|
151
212
|
headers:
|
|
152
213
|
X-AF-Credits-Cost:
|
|
153
214
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
@@ -156,20 +217,12 @@ paths:
|
|
|
156
217
|
X-Concurrent-Threads-Active:
|
|
157
218
|
$ref: '#/components/headers/X-Concurrent-Threads-Active'
|
|
158
219
|
'400':
|
|
159
|
-
description: Bad Request –
|
|
220
|
+
description: Bad Request – Missing API key
|
|
160
221
|
content:
|
|
161
222
|
application/json:
|
|
162
223
|
schema:
|
|
163
224
|
$ref: '#/components/schemas/ErrorResponse'
|
|
164
225
|
examples:
|
|
165
|
-
missingEmail:
|
|
166
|
-
summary: email parameter missing or empty
|
|
167
|
-
value:
|
|
168
|
-
error: Invalid Param Exception
|
|
169
|
-
message: please pass correct parameters
|
|
170
|
-
path: /v1.0/email/disposable
|
|
171
|
-
status: 400
|
|
172
|
-
timestamp: '2026-10-13T10:40:11.892Z'
|
|
173
226
|
missingApiKey:
|
|
174
227
|
summary: apiKey not supplied
|
|
175
228
|
value:
|
|
@@ -213,6 +266,22 @@ paths:
|
|
|
213
266
|
X-AF-Credits-Cost:
|
|
214
267
|
$ref: '#/components/headers/X-AF-Credits-Cost'
|
|
215
268
|
operationId: checkDisposableEmail
|
|
269
|
+
requestBody:
|
|
270
|
+
required: true
|
|
271
|
+
content:
|
|
272
|
+
application/json:
|
|
273
|
+
schema:
|
|
274
|
+
$ref: '#/components/schemas/DisposableEmailCheckRequest'
|
|
275
|
+
examples:
|
|
276
|
+
emailOnly:
|
|
277
|
+
summary: Email only
|
|
278
|
+
value:
|
|
279
|
+
email: test@sogetthis.com
|
|
280
|
+
emailWithIp:
|
|
281
|
+
summary: Email with the signup IP
|
|
282
|
+
value:
|
|
283
|
+
email: someone@gmail.com
|
|
284
|
+
ip: 8.8.8.8
|
|
216
285
|
components:
|
|
217
286
|
securitySchemes:
|
|
218
287
|
ApiKeyAuthHeader:
|
|
@@ -245,6 +314,12 @@ components:
|
|
|
245
314
|
$ref: '#/components/schemas/DisposableAccountObject'
|
|
246
315
|
dns:
|
|
247
316
|
$ref: '#/components/schemas/DisposableDnsObject'
|
|
317
|
+
ip:
|
|
318
|
+
type: string
|
|
319
|
+
format: ip
|
|
320
|
+
description: The IP address that was looked up. Present only when an ip was sent in the request.
|
|
321
|
+
address:
|
|
322
|
+
$ref: '#/components/schemas/AddressObject'
|
|
248
323
|
description: Disposable email check response.
|
|
249
324
|
DisposableDomainObject:
|
|
250
325
|
type: object
|
|
@@ -314,6 +389,123 @@ components:
|
|
|
314
389
|
type: string
|
|
315
390
|
format: date-time
|
|
316
391
|
description: Timestamp when the error occurred (ISO 8601).
|
|
392
|
+
DisposableEmailCheckRequest:
|
|
393
|
+
type: object
|
|
394
|
+
description: Request body for the disposable email check.
|
|
395
|
+
required:
|
|
396
|
+
- email
|
|
397
|
+
properties:
|
|
398
|
+
email:
|
|
399
|
+
type: string
|
|
400
|
+
format: email
|
|
401
|
+
description: The email address to check. A malformed address still returns a normal response, with validSyntax and domain.validDomain set to false.
|
|
402
|
+
ip:
|
|
403
|
+
type: string
|
|
404
|
+
format: ip
|
|
405
|
+
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.
|
|
406
|
+
AddressObject:
|
|
407
|
+
type: object
|
|
408
|
+
properties:
|
|
409
|
+
validIpAddress:
|
|
410
|
+
type: boolean
|
|
411
|
+
description: IP recognized/reachable by the geolocation provider.
|
|
412
|
+
location:
|
|
413
|
+
$ref: '#/components/schemas/EmailLocation'
|
|
414
|
+
security:
|
|
415
|
+
$ref: '#/components/schemas/EmailSecurity'
|
|
416
|
+
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.
|
|
417
|
+
required: []
|
|
418
|
+
EmailLocation:
|
|
419
|
+
type: object
|
|
420
|
+
description: Geolocation data derived from the IP address.
|
|
421
|
+
properties:
|
|
422
|
+
city:
|
|
423
|
+
type: string
|
|
424
|
+
description: Municipal or city name.
|
|
425
|
+
district:
|
|
426
|
+
type: string
|
|
427
|
+
description: District or neighborhood.
|
|
428
|
+
zipcode:
|
|
429
|
+
type: string
|
|
430
|
+
description: Postal or ZIP code.
|
|
431
|
+
state_prov:
|
|
432
|
+
type: string
|
|
433
|
+
description: State or province.
|
|
434
|
+
country_name:
|
|
435
|
+
type: string
|
|
436
|
+
description: Common country name.
|
|
437
|
+
country_name_official:
|
|
438
|
+
type: string
|
|
439
|
+
description: Official country name.
|
|
440
|
+
country_code2:
|
|
441
|
+
type: string
|
|
442
|
+
description: Two-character ISO country code.
|
|
443
|
+
country_code3:
|
|
444
|
+
type: string
|
|
445
|
+
description: Three-character ISO country code.
|
|
446
|
+
continent_name:
|
|
447
|
+
type: string
|
|
448
|
+
description: Continental region name.
|
|
449
|
+
continent_code:
|
|
450
|
+
type: string
|
|
451
|
+
description: Continental region identifier.
|
|
452
|
+
accuracy_radius:
|
|
453
|
+
type: string
|
|
454
|
+
description: Geolocation precision radius. Not included for every IP.
|
|
455
|
+
confidence:
|
|
456
|
+
type: string
|
|
457
|
+
description: Confidence score for geolocation accuracy. Not included for every IP.
|
|
458
|
+
is_eu:
|
|
459
|
+
type: boolean
|
|
460
|
+
description: European Union membership status.
|
|
461
|
+
required: []
|
|
462
|
+
EmailSecurity:
|
|
463
|
+
type: object
|
|
464
|
+
description: Threat and anonymity profile for the IP address.
|
|
465
|
+
required:
|
|
466
|
+
- threat_score
|
|
467
|
+
- is_tor
|
|
468
|
+
- is_proxy
|
|
469
|
+
- is_anonymous
|
|
470
|
+
- is_known_attacker
|
|
471
|
+
- is_spam
|
|
472
|
+
- is_bot
|
|
473
|
+
- is_cloud_provider
|
|
474
|
+
- cloud_provider
|
|
475
|
+
properties:
|
|
476
|
+
threat_score:
|
|
477
|
+
type: integer
|
|
478
|
+
description: Quantitative risk assessment score. Higher values indicate elevated security risk.
|
|
479
|
+
is_tor:
|
|
480
|
+
type: boolean
|
|
481
|
+
description: Detection flag for IP addresses routed through the Tor anonymity network.
|
|
482
|
+
is_proxy:
|
|
483
|
+
type: boolean
|
|
484
|
+
description: Detection flag identifying IP addresses operating as proxy servers.
|
|
485
|
+
proxy_type:
|
|
486
|
+
type: string
|
|
487
|
+
description: Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true.
|
|
488
|
+
proxy_provider:
|
|
489
|
+
type: string
|
|
490
|
+
description: Identified service provider operating the proxy infrastructure. Included only when is_proxy is true.
|
|
491
|
+
is_anonymous:
|
|
492
|
+
type: boolean
|
|
493
|
+
description: Anonymization detection flag for IP addresses using identity obfuscation techniques.
|
|
494
|
+
is_known_attacker:
|
|
495
|
+
type: boolean
|
|
496
|
+
description: Threat intelligence flag for IP addresses documented as confirmed malicious sources.
|
|
497
|
+
is_spam:
|
|
498
|
+
type: boolean
|
|
499
|
+
description: Reputation flag for IP addresses associated with spam transmission.
|
|
500
|
+
is_bot:
|
|
501
|
+
type: boolean
|
|
502
|
+
description: Automated traffic detection flag for IP addresses from bot networks.
|
|
503
|
+
is_cloud_provider:
|
|
504
|
+
type: boolean
|
|
505
|
+
description: Infrastructure classification flag for IP addresses from cloud computing providers.
|
|
506
|
+
cloud_provider:
|
|
507
|
+
type: string
|
|
508
|
+
description: Identified cloud infrastructure or hosting service provider name.
|
|
317
509
|
headers:
|
|
318
510
|
X-AF-Credits-Cost:
|
|
319
511
|
description: Specifies the number of credits consumed by the current request. 15 credits per checked record.
|