@apifreaks/openapi-specs 0.4.15 → 0.4.17
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 +719 -66
- package/dist/index.js +719 -66
- package/dist/specs/email-validation/bulk-disposable-email-checker.yaml +173 -20
- package/dist/specs/email-validation/disposable-email-checker.yaml +217 -19
- package/package.json +1 -1
- package/specs/email-validation/bulk-disposable-email-checker.json +221 -21
- package/specs/email-validation/disposable-email-checker.json +280 -25
|
@@ -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,15 @@ components:
|
|
|
218
244
|
$ref: '#/components/schemas/DisposableAccountObject'
|
|
219
245
|
dns:
|
|
220
246
|
$ref: '#/components/schemas/DisposableDnsObject'
|
|
247
|
+
ip:
|
|
248
|
+
description: The IP address that was looked up.
|
|
249
|
+
anyOf:
|
|
250
|
+
- type: string
|
|
251
|
+
format: ipv4
|
|
252
|
+
- type: string
|
|
253
|
+
format: ipv6
|
|
254
|
+
address:
|
|
255
|
+
$ref: '#/components/schemas/AddressObject'
|
|
221
256
|
description: Disposable email check result for a single item in the bulk request.
|
|
222
257
|
DisposableDomainObject:
|
|
223
258
|
type: object
|
|
@@ -269,15 +304,15 @@ components:
|
|
|
269
304
|
type: object
|
|
270
305
|
description: Request body for bulk disposable email check.
|
|
271
306
|
required:
|
|
272
|
-
-
|
|
307
|
+
- emailData
|
|
273
308
|
properties:
|
|
274
|
-
|
|
309
|
+
emailData:
|
|
275
310
|
type: array
|
|
276
|
-
description:
|
|
311
|
+
description: Entries to check. Maximum 100 per request. Must not be empty, and must not contain null entries or entries without a valid email.
|
|
277
312
|
minItems: 1
|
|
278
313
|
maxItems: 100
|
|
279
314
|
items:
|
|
280
|
-
|
|
315
|
+
$ref: '#/components/schemas/DisposableEmailEntry'
|
|
281
316
|
ErrorResponse:
|
|
282
317
|
type: object
|
|
283
318
|
description: Standard error envelope returned by the API on failed requests.
|
|
@@ -300,6 +335,124 @@ components:
|
|
|
300
335
|
type: string
|
|
301
336
|
format: date-time
|
|
302
337
|
description: Timestamp when the error occurred (ISO 8601).
|
|
338
|
+
DisposableEmailEntry:
|
|
339
|
+
type: object
|
|
340
|
+
required:
|
|
341
|
+
- email
|
|
342
|
+
properties:
|
|
343
|
+
email:
|
|
344
|
+
type: string
|
|
345
|
+
description: The email address to check.
|
|
346
|
+
ip:
|
|
347
|
+
description: Optional IP address to look up for location and security data, such as the IP the signup came from.
|
|
348
|
+
anyOf:
|
|
349
|
+
- type: string
|
|
350
|
+
format: ipv4
|
|
351
|
+
- type: string
|
|
352
|
+
format: ipv6
|
|
353
|
+
AddressObject:
|
|
354
|
+
type: object
|
|
355
|
+
properties:
|
|
356
|
+
validIpAddress:
|
|
357
|
+
type: boolean
|
|
358
|
+
description: IP recognized/reachable by the geolocation provider.
|
|
359
|
+
location:
|
|
360
|
+
$ref: '#/components/schemas/EmailLocation'
|
|
361
|
+
security:
|
|
362
|
+
$ref: '#/components/schemas/EmailSecurity'
|
|
363
|
+
description: Geolocation and security enrichment data for the IP address.
|
|
364
|
+
required: []
|
|
365
|
+
EmailLocation:
|
|
366
|
+
type: object
|
|
367
|
+
description: Geolocation data derived from the IP address.
|
|
368
|
+
properties:
|
|
369
|
+
city:
|
|
370
|
+
type: string
|
|
371
|
+
description: Municipal or city name.
|
|
372
|
+
district:
|
|
373
|
+
type: string
|
|
374
|
+
description: District or neighborhood.
|
|
375
|
+
zipcode:
|
|
376
|
+
type: string
|
|
377
|
+
description: Postal or ZIP code.
|
|
378
|
+
state_prov:
|
|
379
|
+
type: string
|
|
380
|
+
description: State or province.
|
|
381
|
+
country_name:
|
|
382
|
+
type: string
|
|
383
|
+
description: Common country name.
|
|
384
|
+
country_name_official:
|
|
385
|
+
type: string
|
|
386
|
+
description: Official country name.
|
|
387
|
+
country_code2:
|
|
388
|
+
type: string
|
|
389
|
+
description: Two-character ISO country code.
|
|
390
|
+
country_code3:
|
|
391
|
+
type: string
|
|
392
|
+
description: Three-character ISO country code.
|
|
393
|
+
continent_name:
|
|
394
|
+
type: string
|
|
395
|
+
description: Continental region name.
|
|
396
|
+
continent_code:
|
|
397
|
+
type: string
|
|
398
|
+
description: Continental region identifier.
|
|
399
|
+
accuracy_radius:
|
|
400
|
+
type: string
|
|
401
|
+
description: Geolocation precision radius. Not included for every IP.
|
|
402
|
+
confidence:
|
|
403
|
+
type: string
|
|
404
|
+
description: Confidence score for geolocation accuracy. Not included for every IP.
|
|
405
|
+
is_eu:
|
|
406
|
+
type: boolean
|
|
407
|
+
description: European Union membership status.
|
|
408
|
+
required: []
|
|
409
|
+
EmailSecurity:
|
|
410
|
+
type: object
|
|
411
|
+
description: Threat and anonymity profile for the IP address.
|
|
412
|
+
required:
|
|
413
|
+
- threat_score
|
|
414
|
+
- is_tor
|
|
415
|
+
- is_proxy
|
|
416
|
+
- is_anonymous
|
|
417
|
+
- is_known_attacker
|
|
418
|
+
- is_spam
|
|
419
|
+
- is_bot
|
|
420
|
+
- is_cloud_provider
|
|
421
|
+
- cloud_provider
|
|
422
|
+
properties:
|
|
423
|
+
threat_score:
|
|
424
|
+
type: integer
|
|
425
|
+
description: Quantitative risk assessment score. Higher values indicate elevated security risk.
|
|
426
|
+
is_tor:
|
|
427
|
+
type: boolean
|
|
428
|
+
description: Detection flag for IP addresses routed through the Tor anonymity network.
|
|
429
|
+
is_proxy:
|
|
430
|
+
type: boolean
|
|
431
|
+
description: Detection flag identifying IP addresses operating as proxy servers.
|
|
432
|
+
proxy_type:
|
|
433
|
+
type: string
|
|
434
|
+
description: Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true.
|
|
435
|
+
proxy_provider:
|
|
436
|
+
type: string
|
|
437
|
+
description: Identified service provider operating the proxy infrastructure. Included only when is_proxy is true.
|
|
438
|
+
is_anonymous:
|
|
439
|
+
type: boolean
|
|
440
|
+
description: Anonymization detection flag for IP addresses using identity obfuscation techniques.
|
|
441
|
+
is_known_attacker:
|
|
442
|
+
type: boolean
|
|
443
|
+
description: Threat intelligence flag for IP addresses documented as confirmed malicious sources.
|
|
444
|
+
is_spam:
|
|
445
|
+
type: boolean
|
|
446
|
+
description: Reputation flag for IP addresses associated with spam transmission.
|
|
447
|
+
is_bot:
|
|
448
|
+
type: boolean
|
|
449
|
+
description: Automated traffic detection flag for IP addresses from bot networks.
|
|
450
|
+
is_cloud_provider:
|
|
451
|
+
type: boolean
|
|
452
|
+
description: Infrastructure classification flag for IP addresses from cloud computing providers.
|
|
453
|
+
cloud_provider:
|
|
454
|
+
type: string
|
|
455
|
+
description: Identified cloud infrastructure or hosting service provider name.
|
|
303
456
|
headers:
|
|
304
457
|
X-AF-Credits-Cost:
|
|
305
458
|
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
|
|
@@ -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,15 @@ components:
|
|
|
245
314
|
$ref: '#/components/schemas/DisposableAccountObject'
|
|
246
315
|
dns:
|
|
247
316
|
$ref: '#/components/schemas/DisposableDnsObject'
|
|
317
|
+
ip:
|
|
318
|
+
description: The IP address that was looked up.
|
|
319
|
+
anyOf:
|
|
320
|
+
- type: string
|
|
321
|
+
format: ipv4
|
|
322
|
+
- type: string
|
|
323
|
+
format: ipv6
|
|
324
|
+
address:
|
|
325
|
+
$ref: '#/components/schemas/AddressObject'
|
|
248
326
|
description: Disposable email check response.
|
|
249
327
|
DisposableDomainObject:
|
|
250
328
|
type: object
|
|
@@ -314,6 +392,126 @@ components:
|
|
|
314
392
|
type: string
|
|
315
393
|
format: date-time
|
|
316
394
|
description: Timestamp when the error occurred (ISO 8601).
|
|
395
|
+
DisposableEmailCheckRequest:
|
|
396
|
+
type: object
|
|
397
|
+
description: Request body for the disposable email check.
|
|
398
|
+
required:
|
|
399
|
+
- email
|
|
400
|
+
properties:
|
|
401
|
+
email:
|
|
402
|
+
type: string
|
|
403
|
+
format: email
|
|
404
|
+
description: The email address to check.
|
|
405
|
+
ip:
|
|
406
|
+
description: Optional IP address to look up for location and security data, such as the IP the signup came from.
|
|
407
|
+
anyOf:
|
|
408
|
+
- type: string
|
|
409
|
+
format: ipv4
|
|
410
|
+
- type: string
|
|
411
|
+
format: ipv6
|
|
412
|
+
AddressObject:
|
|
413
|
+
type: object
|
|
414
|
+
properties:
|
|
415
|
+
validIpAddress:
|
|
416
|
+
type: boolean
|
|
417
|
+
description: IP recognized/reachable by the geolocation provider.
|
|
418
|
+
location:
|
|
419
|
+
$ref: '#/components/schemas/EmailLocation'
|
|
420
|
+
security:
|
|
421
|
+
$ref: '#/components/schemas/EmailSecurity'
|
|
422
|
+
description: Geolocation and security enrichment data for the IP address.
|
|
423
|
+
required: []
|
|
424
|
+
EmailLocation:
|
|
425
|
+
type: object
|
|
426
|
+
description: Geolocation data derived from the IP address.
|
|
427
|
+
properties:
|
|
428
|
+
city:
|
|
429
|
+
type: string
|
|
430
|
+
description: Municipal or city name.
|
|
431
|
+
district:
|
|
432
|
+
type: string
|
|
433
|
+
description: District or neighborhood.
|
|
434
|
+
zipcode:
|
|
435
|
+
type: string
|
|
436
|
+
description: Postal or ZIP code.
|
|
437
|
+
state_prov:
|
|
438
|
+
type: string
|
|
439
|
+
description: State or province.
|
|
440
|
+
country_name:
|
|
441
|
+
type: string
|
|
442
|
+
description: Common country name.
|
|
443
|
+
country_name_official:
|
|
444
|
+
type: string
|
|
445
|
+
description: Official country name.
|
|
446
|
+
country_code2:
|
|
447
|
+
type: string
|
|
448
|
+
description: Two-character ISO country code.
|
|
449
|
+
country_code3:
|
|
450
|
+
type: string
|
|
451
|
+
description: Three-character ISO country code.
|
|
452
|
+
continent_name:
|
|
453
|
+
type: string
|
|
454
|
+
description: Continental region name.
|
|
455
|
+
continent_code:
|
|
456
|
+
type: string
|
|
457
|
+
description: Continental region identifier.
|
|
458
|
+
accuracy_radius:
|
|
459
|
+
type: string
|
|
460
|
+
description: Geolocation precision radius. Not included for every IP.
|
|
461
|
+
confidence:
|
|
462
|
+
type: string
|
|
463
|
+
description: Confidence score for geolocation accuracy. Not included for every IP.
|
|
464
|
+
is_eu:
|
|
465
|
+
type: boolean
|
|
466
|
+
description: European Union membership status.
|
|
467
|
+
required: []
|
|
468
|
+
EmailSecurity:
|
|
469
|
+
type: object
|
|
470
|
+
description: Threat and anonymity profile for the IP address.
|
|
471
|
+
required:
|
|
472
|
+
- threat_score
|
|
473
|
+
- is_tor
|
|
474
|
+
- is_proxy
|
|
475
|
+
- is_anonymous
|
|
476
|
+
- is_known_attacker
|
|
477
|
+
- is_spam
|
|
478
|
+
- is_bot
|
|
479
|
+
- is_cloud_provider
|
|
480
|
+
- cloud_provider
|
|
481
|
+
properties:
|
|
482
|
+
threat_score:
|
|
483
|
+
type: integer
|
|
484
|
+
description: Quantitative risk assessment score. Higher values indicate elevated security risk.
|
|
485
|
+
is_tor:
|
|
486
|
+
type: boolean
|
|
487
|
+
description: Detection flag for IP addresses routed through the Tor anonymity network.
|
|
488
|
+
is_proxy:
|
|
489
|
+
type: boolean
|
|
490
|
+
description: Detection flag identifying IP addresses operating as proxy servers.
|
|
491
|
+
proxy_type:
|
|
492
|
+
type: string
|
|
493
|
+
description: Classification of detected proxy infrastructure type (e.g. VPN, HTTP, SOCKS). Included only when is_proxy is true.
|
|
494
|
+
proxy_provider:
|
|
495
|
+
type: string
|
|
496
|
+
description: Identified service provider operating the proxy infrastructure. Included only when is_proxy is true.
|
|
497
|
+
is_anonymous:
|
|
498
|
+
type: boolean
|
|
499
|
+
description: Anonymization detection flag for IP addresses using identity obfuscation techniques.
|
|
500
|
+
is_known_attacker:
|
|
501
|
+
type: boolean
|
|
502
|
+
description: Threat intelligence flag for IP addresses documented as confirmed malicious sources.
|
|
503
|
+
is_spam:
|
|
504
|
+
type: boolean
|
|
505
|
+
description: Reputation flag for IP addresses associated with spam transmission.
|
|
506
|
+
is_bot:
|
|
507
|
+
type: boolean
|
|
508
|
+
description: Automated traffic detection flag for IP addresses from bot networks.
|
|
509
|
+
is_cloud_provider:
|
|
510
|
+
type: boolean
|
|
511
|
+
description: Infrastructure classification flag for IP addresses from cloud computing providers.
|
|
512
|
+
cloud_provider:
|
|
513
|
+
type: string
|
|
514
|
+
description: Identified cloud infrastructure or hosting service provider name.
|
|
317
515
|
headers:
|
|
318
516
|
X-AF-Credits-Cost:
|
|
319
517
|
description: Specifies the number of credits consumed by the current request. 15 credits per checked record.
|