internetdata-mcp 3.1.12 → 3.2.0
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 +61 -6
- package/dist/coverage.d.ts +58 -0
- package/dist/coverage.js +95 -0
- package/dist/coverage.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/schema.gen.d.ts +12 -1
- package/dist/schema.gen.js +1594 -1
- package/dist/schema.gen.js.map +1 -1
- package/dist/tools.js +309 -13
- package/dist/tools.js.map +1 -1
- package/package.json +7 -3
package/dist/schema.gen.js
CHANGED
|
@@ -1,11 +1,1495 @@
|
|
|
1
1
|
// Code generated by scripts/gen-schema.mjs from spec/openapi.json. DO NOT EDIT.
|
|
2
|
-
export const
|
|
2
|
+
export const LOOKUP_MEMBERS = [
|
|
3
|
+
'ip',
|
|
4
|
+
'is_bogon',
|
|
5
|
+
'is_vpn',
|
|
6
|
+
'is_tor',
|
|
7
|
+
'is_relay',
|
|
8
|
+
'is_resproxy',
|
|
9
|
+
'is_dcproxy',
|
|
10
|
+
'is_mobproxy',
|
|
11
|
+
'is_pubproxy',
|
|
12
|
+
'is_hosting',
|
|
13
|
+
'is_cdn',
|
|
14
|
+
'is_anycast',
|
|
15
|
+
'is_carrier',
|
|
16
|
+
'is_satellite',
|
|
17
|
+
'is_ssh',
|
|
18
|
+
'is_smtp',
|
|
19
|
+
'is_web',
|
|
20
|
+
'is_dns_resolver',
|
|
21
|
+
'is_bittorrent',
|
|
22
|
+
'vpn',
|
|
23
|
+
'tor',
|
|
24
|
+
'relay',
|
|
25
|
+
'resproxy',
|
|
26
|
+
'dcproxy',
|
|
27
|
+
'mobproxy',
|
|
28
|
+
'pubproxy',
|
|
29
|
+
'hosting',
|
|
30
|
+
'cdn',
|
|
31
|
+
'carrier',
|
|
32
|
+
'satellite',
|
|
33
|
+
'ssh',
|
|
34
|
+
'smtp',
|
|
35
|
+
'web',
|
|
36
|
+
'dns_resolver',
|
|
37
|
+
'bittorrent',
|
|
38
|
+
'location',
|
|
39
|
+
'asn',
|
|
40
|
+
'company',
|
|
41
|
+
'hostname',
|
|
42
|
+
'abuse',
|
|
43
|
+
'whois',
|
|
44
|
+
'rwhois',
|
|
45
|
+
'hosted_domains',
|
|
46
|
+
'location.region',
|
|
47
|
+
'location.region_code',
|
|
48
|
+
'location.city',
|
|
49
|
+
'location.postal_code',
|
|
50
|
+
'location.latitude',
|
|
51
|
+
'location.longitude',
|
|
52
|
+
'location.accuracy_radius',
|
|
53
|
+
'location.geoname_id',
|
|
54
|
+
'location.dma_code',
|
|
55
|
+
'location.last_changed',
|
|
56
|
+
'asn.country',
|
|
57
|
+
'asn.rpki_status',
|
|
58
|
+
'company.type',
|
|
59
|
+
'company.country',
|
|
60
|
+
'abuse.name',
|
|
61
|
+
'abuse.phone',
|
|
62
|
+
'abuse.address',
|
|
63
|
+
'abuse.country',
|
|
64
|
+
'abuse.network',
|
|
65
|
+
'abuse.validated',
|
|
66
|
+
'abuse.unvalidated_since',
|
|
67
|
+
];
|
|
68
|
+
export const LOOKUP_GATED_MEMBERS = [
|
|
69
|
+
'is_vpn',
|
|
70
|
+
'is_resproxy',
|
|
71
|
+
'is_dcproxy',
|
|
72
|
+
'is_mobproxy',
|
|
73
|
+
'is_pubproxy',
|
|
74
|
+
'is_hosting',
|
|
75
|
+
'is_cdn',
|
|
76
|
+
'vpn',
|
|
77
|
+
'resproxy',
|
|
78
|
+
'dcproxy',
|
|
79
|
+
'mobproxy',
|
|
80
|
+
'pubproxy',
|
|
81
|
+
'hosting',
|
|
82
|
+
'cdn',
|
|
83
|
+
'carrier',
|
|
84
|
+
'satellite',
|
|
85
|
+
'ssh',
|
|
86
|
+
'smtp',
|
|
87
|
+
'web',
|
|
88
|
+
'dns_resolver',
|
|
89
|
+
'bittorrent',
|
|
90
|
+
'whois',
|
|
91
|
+
'rwhois',
|
|
92
|
+
'hosted_domains',
|
|
93
|
+
'location.region',
|
|
94
|
+
'location.region_code',
|
|
95
|
+
'location.city',
|
|
96
|
+
'location.postal_code',
|
|
97
|
+
'location.latitude',
|
|
98
|
+
'location.longitude',
|
|
99
|
+
'location.accuracy_radius',
|
|
100
|
+
'location.geoname_id',
|
|
101
|
+
'location.dma_code',
|
|
102
|
+
'location.last_changed',
|
|
103
|
+
'asn.country',
|
|
104
|
+
'asn.rpki_status',
|
|
105
|
+
'company.type',
|
|
106
|
+
'company.country',
|
|
107
|
+
'abuse.name',
|
|
108
|
+
'abuse.phone',
|
|
109
|
+
'abuse.address',
|
|
110
|
+
'abuse.country',
|
|
111
|
+
'abuse.network',
|
|
112
|
+
'abuse.validated',
|
|
113
|
+
'abuse.unvalidated_since',
|
|
114
|
+
];
|
|
115
|
+
export const ASN_LOOKUP_MEMBERS = [
|
|
116
|
+
'asn',
|
|
117
|
+
'name',
|
|
118
|
+
'country',
|
|
119
|
+
'registry',
|
|
120
|
+
'allocated',
|
|
121
|
+
'domain',
|
|
122
|
+
'type',
|
|
123
|
+
'num_ips',
|
|
124
|
+
'num_prefixes4',
|
|
125
|
+
'num_prefixes6',
|
|
126
|
+
'rpki_valid',
|
|
127
|
+
'rpki_invalid',
|
|
128
|
+
'rpki_not_found',
|
|
129
|
+
'whois',
|
|
130
|
+
'prefixes',
|
|
131
|
+
];
|
|
132
|
+
export const ASN_LOOKUP_GATED_MEMBERS = [
|
|
133
|
+
'type',
|
|
134
|
+
'num_ips',
|
|
135
|
+
'num_prefixes4',
|
|
136
|
+
'num_prefixes6',
|
|
137
|
+
'rpki_valid',
|
|
138
|
+
'rpki_invalid',
|
|
139
|
+
'rpki_not_found',
|
|
140
|
+
'whois',
|
|
141
|
+
'prefixes',
|
|
142
|
+
];
|
|
143
|
+
export const DOMAIN_LOOKUP_MEMBERS = [
|
|
144
|
+
'domain',
|
|
145
|
+
'is_registered',
|
|
146
|
+
'is_disposable',
|
|
147
|
+
'has_a',
|
|
148
|
+
'has_aaaa',
|
|
149
|
+
'has_mx',
|
|
150
|
+
'has_ns',
|
|
151
|
+
'has_cname',
|
|
152
|
+
'dns',
|
|
153
|
+
'ip_ranges',
|
|
154
|
+
'disposable',
|
|
155
|
+
];
|
|
156
|
+
export const DOMAIN_LOOKUP_GATED_MEMBERS = [
|
|
157
|
+
'is_disposable',
|
|
158
|
+
'dns',
|
|
159
|
+
'ip_ranges',
|
|
160
|
+
'disposable',
|
|
161
|
+
];
|
|
162
|
+
export const LOOKUP_MARKERS = [
|
|
163
|
+
'trial_expired',
|
|
164
|
+
];
|
|
165
|
+
export const SPEC_VERSION = '2026.11.13';
|
|
3
166
|
/** The most history rows `list_downloads` may ask for. The API clamps to the same. */
|
|
4
167
|
export const DOWNLOADS_LIMIT = 200;
|
|
5
168
|
/** The fewest it may ask for. */
|
|
6
169
|
export const DOWNLOADS_LIMIT_MIN = 1;
|
|
7
170
|
/** What the API returns when `list_downloads` names no limit. */
|
|
8
171
|
export const DOWNLOADS_LIMIT_DEFAULT = 50;
|
|
172
|
+
export const LOOKUP_RESULT_SCHEMA = {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"properties": {
|
|
175
|
+
"ip": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "The address looked up, as parsed: `::ffff:a.b.c.d` answers as `a.b.c.d`."
|
|
178
|
+
},
|
|
179
|
+
"is_bogon": {
|
|
180
|
+
"type": "boolean",
|
|
181
|
+
"description": "Reserved space, answered from the address alone."
|
|
182
|
+
},
|
|
183
|
+
"is_vpn": {
|
|
184
|
+
"type": "boolean",
|
|
185
|
+
"description": "In VPN IP: a VPN service's server. Paid plans and the trial."
|
|
186
|
+
},
|
|
187
|
+
"is_tor": {
|
|
188
|
+
"type": "boolean",
|
|
189
|
+
"description": "In Tor IP: a Tor exit."
|
|
190
|
+
},
|
|
191
|
+
"is_relay": {
|
|
192
|
+
"type": "boolean",
|
|
193
|
+
"description": "In Relay IP: an anonymizing relay such as iCloud Private Relay."
|
|
194
|
+
},
|
|
195
|
+
"is_resproxy": {
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"description": "In Residential Proxy IP's 90-day window: a residential proxy exit. Paid plans and the trial."
|
|
198
|
+
},
|
|
199
|
+
"is_dcproxy": {
|
|
200
|
+
"type": "boolean",
|
|
201
|
+
"description": "In Datacenter Proxy IP's 90-day window. Paid plans and the trial."
|
|
202
|
+
},
|
|
203
|
+
"is_mobproxy": {
|
|
204
|
+
"type": "boolean",
|
|
205
|
+
"description": "In Mobile Proxy IP's 90-day window. Paid plans and the trial."
|
|
206
|
+
},
|
|
207
|
+
"is_pubproxy": {
|
|
208
|
+
"type": "boolean",
|
|
209
|
+
"description": "In Public Proxy IP: a public proxy listens here, or its traffic left from here. Paid plans and the trial."
|
|
210
|
+
},
|
|
211
|
+
"is_hosting": {
|
|
212
|
+
"type": "boolean",
|
|
213
|
+
"description": "In Hosting IP: a hosting or cloud network. Paid plans and the trial."
|
|
214
|
+
},
|
|
215
|
+
"is_cdn": {
|
|
216
|
+
"type": "boolean",
|
|
217
|
+
"description": "In CDN IP: a content delivery network. Paid plans and the trial."
|
|
218
|
+
},
|
|
219
|
+
"is_anycast": {
|
|
220
|
+
"type": "boolean",
|
|
221
|
+
"description": "In Anycast IP: announced from many places at once."
|
|
222
|
+
},
|
|
223
|
+
"is_carrier": {
|
|
224
|
+
"type": "boolean",
|
|
225
|
+
"description": "In Carrier IP: a mobile carrier's address space."
|
|
226
|
+
},
|
|
227
|
+
"is_satellite": {
|
|
228
|
+
"type": "boolean",
|
|
229
|
+
"description": "In Satellite IP: a satellite operator's address space."
|
|
230
|
+
},
|
|
231
|
+
"is_ssh": {
|
|
232
|
+
"type": "boolean",
|
|
233
|
+
"description": "In SSH IP: an SSH server answered here."
|
|
234
|
+
},
|
|
235
|
+
"is_smtp": {
|
|
236
|
+
"type": "boolean",
|
|
237
|
+
"description": "In SMTP IP: a mail server answered here."
|
|
238
|
+
},
|
|
239
|
+
"is_web": {
|
|
240
|
+
"type": "boolean",
|
|
241
|
+
"description": "In Web IP: a web server answered here on port 80 or 443."
|
|
242
|
+
},
|
|
243
|
+
"is_dns_resolver": {
|
|
244
|
+
"type": "boolean",
|
|
245
|
+
"description": "In DNS Resolver IP: an open DNS resolver answered here."
|
|
246
|
+
},
|
|
247
|
+
"is_bittorrent": {
|
|
248
|
+
"type": "boolean",
|
|
249
|
+
"description": "In BitTorrent IP: a BitTorrent client was seen here in the last 90 days."
|
|
250
|
+
},
|
|
251
|
+
"vpn": {
|
|
252
|
+
"type": "object",
|
|
253
|
+
"properties": {
|
|
254
|
+
"provider": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"description": "The provider's ID in its catalog; empty for an unattributed range, and on Tor."
|
|
257
|
+
},
|
|
258
|
+
"provider_name": {
|
|
259
|
+
"type": "string",
|
|
260
|
+
"description": "The name the catalog gives the provider, empty where it names none."
|
|
261
|
+
},
|
|
262
|
+
"confidence": {
|
|
263
|
+
"type": "string",
|
|
264
|
+
"description": "`high`, `medium` or `low`: how sure we are the range is what the flag says."
|
|
265
|
+
},
|
|
266
|
+
"last_seen": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"description": "The last day the range was seen as such."
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"description": "VPN IP's row, `{}` when `is_vpn` is false. Paid plans and the trial."
|
|
272
|
+
},
|
|
273
|
+
"tor": {
|
|
274
|
+
"type": "object",
|
|
275
|
+
"properties": {
|
|
276
|
+
"provider": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"description": "The provider's ID in its catalog; empty for an unattributed range, and on Tor."
|
|
279
|
+
},
|
|
280
|
+
"provider_name": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"description": "The name the catalog gives the provider, empty where it names none."
|
|
283
|
+
},
|
|
284
|
+
"confidence": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"description": "`high`, `medium` or `low`: how sure we are the range is what the flag says."
|
|
287
|
+
},
|
|
288
|
+
"last_seen": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"description": "The last day the range was seen as such."
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"description": "Tor IP's row, `{}` when `is_tor` is false."
|
|
294
|
+
},
|
|
295
|
+
"relay": {
|
|
296
|
+
"type": "object",
|
|
297
|
+
"properties": {
|
|
298
|
+
"provider": {
|
|
299
|
+
"type": "string",
|
|
300
|
+
"description": "The provider's ID in its catalog; empty for an unattributed range, and on Tor."
|
|
301
|
+
},
|
|
302
|
+
"provider_name": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"description": "The name the catalog gives the provider, empty where it names none."
|
|
305
|
+
},
|
|
306
|
+
"confidence": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"description": "`high`, `medium` or `low`: how sure we are the range is what the flag says."
|
|
309
|
+
},
|
|
310
|
+
"last_seen": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"description": "The last day the range was seen as such."
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"description": "Relay IP's row, `{}` when `is_relay` is false."
|
|
316
|
+
},
|
|
317
|
+
"resproxy": {
|
|
318
|
+
"type": "object",
|
|
319
|
+
"properties": {
|
|
320
|
+
"provider": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"description": "The proxy pool's ID in its catalog, empty where unattributed."
|
|
323
|
+
},
|
|
324
|
+
"provider_name": {
|
|
325
|
+
"type": "string",
|
|
326
|
+
"description": "The name the catalog gives it."
|
|
327
|
+
},
|
|
328
|
+
"first_seen": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"description": "The first day of the window the address was seen as an exit."
|
|
331
|
+
},
|
|
332
|
+
"last_seen": {
|
|
333
|
+
"type": "string",
|
|
334
|
+
"description": "The last day it was."
|
|
335
|
+
},
|
|
336
|
+
"hits": {
|
|
337
|
+
"type": "integer",
|
|
338
|
+
"description": "How many times it was seen in the window."
|
|
339
|
+
},
|
|
340
|
+
"hits_days_pct": {
|
|
341
|
+
"type": "integer",
|
|
342
|
+
"description": "On what share of the window's days, in percent."
|
|
343
|
+
},
|
|
344
|
+
"providers_num": {
|
|
345
|
+
"type": "integer",
|
|
346
|
+
"description": "How many pools it was seen in."
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"description": "`{}` when `is_resproxy` is false. Paid plans and the trial."
|
|
350
|
+
},
|
|
351
|
+
"dcproxy": {
|
|
352
|
+
"type": "object",
|
|
353
|
+
"properties": {
|
|
354
|
+
"provider": {
|
|
355
|
+
"type": "string",
|
|
356
|
+
"description": "The proxy pool's ID in its catalog, empty where unattributed."
|
|
357
|
+
},
|
|
358
|
+
"provider_name": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"description": "The name the catalog gives it."
|
|
361
|
+
},
|
|
362
|
+
"first_seen": {
|
|
363
|
+
"type": "string",
|
|
364
|
+
"description": "The first day of the window the address was seen as an exit."
|
|
365
|
+
},
|
|
366
|
+
"last_seen": {
|
|
367
|
+
"type": "string",
|
|
368
|
+
"description": "The last day it was."
|
|
369
|
+
},
|
|
370
|
+
"hits": {
|
|
371
|
+
"type": "integer",
|
|
372
|
+
"description": "How many times it was seen in the window."
|
|
373
|
+
},
|
|
374
|
+
"hits_days_pct": {
|
|
375
|
+
"type": "integer",
|
|
376
|
+
"description": "On what share of the window's days, in percent."
|
|
377
|
+
},
|
|
378
|
+
"providers_num": {
|
|
379
|
+
"type": "integer",
|
|
380
|
+
"description": "How many pools it was seen in."
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"description": "`{}` when `is_dcproxy` is false. Paid plans and the trial."
|
|
384
|
+
},
|
|
385
|
+
"mobproxy": {
|
|
386
|
+
"type": "object",
|
|
387
|
+
"properties": {
|
|
388
|
+
"provider": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"description": "The proxy pool's ID in its catalog, empty where unattributed."
|
|
391
|
+
},
|
|
392
|
+
"provider_name": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"description": "The name the catalog gives it."
|
|
395
|
+
},
|
|
396
|
+
"first_seen": {
|
|
397
|
+
"type": "string",
|
|
398
|
+
"description": "The first day of the window the address was seen as an exit."
|
|
399
|
+
},
|
|
400
|
+
"last_seen": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"description": "The last day it was."
|
|
403
|
+
},
|
|
404
|
+
"hits": {
|
|
405
|
+
"type": "integer",
|
|
406
|
+
"description": "How many times it was seen in the window."
|
|
407
|
+
},
|
|
408
|
+
"hits_days_pct": {
|
|
409
|
+
"type": "integer",
|
|
410
|
+
"description": "On what share of the window's days, in percent."
|
|
411
|
+
},
|
|
412
|
+
"providers_num": {
|
|
413
|
+
"type": "integer",
|
|
414
|
+
"description": "How many pools it was seen in."
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"description": "`{}` when `is_mobproxy` is false. Paid plans and the trial."
|
|
418
|
+
},
|
|
419
|
+
"pubproxy": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"properties": {
|
|
422
|
+
"entry": {
|
|
423
|
+
"type": "boolean",
|
|
424
|
+
"description": "A public proxy listens here."
|
|
425
|
+
},
|
|
426
|
+
"exit": {
|
|
427
|
+
"type": "boolean",
|
|
428
|
+
"description": "Public proxies' traffic leaves from here."
|
|
429
|
+
},
|
|
430
|
+
"protocols": {
|
|
431
|
+
"type": "array",
|
|
432
|
+
"items": {
|
|
433
|
+
"type": "string"
|
|
434
|
+
},
|
|
435
|
+
"description": "The protocols at either end, `[]` when unknown."
|
|
436
|
+
},
|
|
437
|
+
"num_ports": {
|
|
438
|
+
"type": "integer",
|
|
439
|
+
"description": "How many ports a proxy listens on here."
|
|
440
|
+
},
|
|
441
|
+
"num_proxies": {
|
|
442
|
+
"type": "integer",
|
|
443
|
+
"description": "How many proxies' traffic left from here."
|
|
444
|
+
},
|
|
445
|
+
"last_seen": {
|
|
446
|
+
"type": "string",
|
|
447
|
+
"description": "The last day one was seen."
|
|
448
|
+
},
|
|
449
|
+
"last_usable": {
|
|
450
|
+
"type": "string",
|
|
451
|
+
"description": "The last day one answered a request, empty when none did."
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"description": "`{}` when `is_pubproxy` is false. Paid plans and the trial."
|
|
455
|
+
},
|
|
456
|
+
"hosting": {
|
|
457
|
+
"type": "object",
|
|
458
|
+
"properties": {
|
|
459
|
+
"provider": {
|
|
460
|
+
"type": "string",
|
|
461
|
+
"description": "The provider's ID in its catalog; empty for an unattributed range, and on Tor."
|
|
462
|
+
},
|
|
463
|
+
"provider_name": {
|
|
464
|
+
"type": "string",
|
|
465
|
+
"description": "The name the catalog gives the provider, empty where it names none."
|
|
466
|
+
},
|
|
467
|
+
"confidence": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"description": "`high`, `medium` or `low`: how sure we are the range is what the flag says."
|
|
470
|
+
},
|
|
471
|
+
"last_seen": {
|
|
472
|
+
"type": "string",
|
|
473
|
+
"description": "The last day the range was seen as such."
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"description": "`{}` when `is_hosting` is false. Paid plans and the trial."
|
|
477
|
+
},
|
|
478
|
+
"cdn": {
|
|
479
|
+
"type": "object",
|
|
480
|
+
"properties": {
|
|
481
|
+
"provider": {
|
|
482
|
+
"type": "string",
|
|
483
|
+
"description": "The provider's ID in its catalog; empty for an unattributed range, and on Tor."
|
|
484
|
+
},
|
|
485
|
+
"provider_name": {
|
|
486
|
+
"type": "string",
|
|
487
|
+
"description": "The name the catalog gives the provider, empty where it names none."
|
|
488
|
+
},
|
|
489
|
+
"confidence": {
|
|
490
|
+
"type": "string",
|
|
491
|
+
"description": "`high`, `medium` or `low`: how sure we are the range is what the flag says."
|
|
492
|
+
},
|
|
493
|
+
"last_seen": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"description": "The last day the range was seen as such."
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"description": "`{}` when `is_cdn` is false. Paid plans and the trial."
|
|
499
|
+
},
|
|
500
|
+
"carrier": {
|
|
501
|
+
"type": "object",
|
|
502
|
+
"properties": {
|
|
503
|
+
"name": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"description": "The mobile carrier."
|
|
506
|
+
},
|
|
507
|
+
"mcc": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"description": "Its mobile country code."
|
|
510
|
+
},
|
|
511
|
+
"mnc": {
|
|
512
|
+
"type": "string",
|
|
513
|
+
"description": "Its mobile network code."
|
|
514
|
+
},
|
|
515
|
+
"country": {
|
|
516
|
+
"type": "string",
|
|
517
|
+
"description": "ISO 3166 country code."
|
|
518
|
+
},
|
|
519
|
+
"confidence": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"description": "`high`, `medium` or `low`."
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"description": "`{}` when `is_carrier` is false. Paid plans and the trial."
|
|
525
|
+
},
|
|
526
|
+
"satellite": {
|
|
527
|
+
"type": "object",
|
|
528
|
+
"properties": {
|
|
529
|
+
"provider": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"description": "The operator's ID in Satellite IP Provider."
|
|
532
|
+
},
|
|
533
|
+
"provider_name": {
|
|
534
|
+
"type": "string",
|
|
535
|
+
"description": "The operator's name."
|
|
536
|
+
},
|
|
537
|
+
"orbit": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"description": "The orbit: `leo`, `meo` or `geo`."
|
|
540
|
+
},
|
|
541
|
+
"segment": {
|
|
542
|
+
"type": "string",
|
|
543
|
+
"description": "Who the space serves, such as consumer or maritime."
|
|
544
|
+
},
|
|
545
|
+
"country": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"description": "ISO 3166 country code."
|
|
548
|
+
},
|
|
549
|
+
"asn": {
|
|
550
|
+
"type": "integer",
|
|
551
|
+
"description": "The AS the operator announces it from."
|
|
552
|
+
},
|
|
553
|
+
"confidence": {
|
|
554
|
+
"type": "string",
|
|
555
|
+
"description": "`high`, `medium` or `low`."
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"description": "`{}` when `is_satellite` is false. Paid plans and the trial."
|
|
559
|
+
},
|
|
560
|
+
"ssh": {
|
|
561
|
+
"type": "object",
|
|
562
|
+
"properties": {
|
|
563
|
+
"port": {
|
|
564
|
+
"type": "integer",
|
|
565
|
+
"description": "The port the server answered on."
|
|
566
|
+
},
|
|
567
|
+
"banner": {
|
|
568
|
+
"type": "string",
|
|
569
|
+
"description": "Its banner."
|
|
570
|
+
},
|
|
571
|
+
"host_key_fp": {
|
|
572
|
+
"type": "string",
|
|
573
|
+
"description": "Its host key's fingerprint."
|
|
574
|
+
},
|
|
575
|
+
"session_ok": {
|
|
576
|
+
"type": "boolean",
|
|
577
|
+
"description": "A session was set up."
|
|
578
|
+
},
|
|
579
|
+
"first_seen": {
|
|
580
|
+
"type": "string",
|
|
581
|
+
"description": "The first day it answered."
|
|
582
|
+
},
|
|
583
|
+
"last_seen": {
|
|
584
|
+
"type": "string",
|
|
585
|
+
"description": "The last day it did."
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
"description": "`{}` when `is_ssh` is false. Paid plans and the trial."
|
|
589
|
+
},
|
|
590
|
+
"smtp": {
|
|
591
|
+
"type": "object",
|
|
592
|
+
"properties": {
|
|
593
|
+
"port": {
|
|
594
|
+
"type": "integer",
|
|
595
|
+
"description": "The port the server answered on."
|
|
596
|
+
},
|
|
597
|
+
"banner": {
|
|
598
|
+
"type": "string",
|
|
599
|
+
"description": "Its banner."
|
|
600
|
+
},
|
|
601
|
+
"session_ok": {
|
|
602
|
+
"type": "boolean",
|
|
603
|
+
"description": "A session was set up."
|
|
604
|
+
},
|
|
605
|
+
"first_seen": {
|
|
606
|
+
"type": "string",
|
|
607
|
+
"description": "The first day it answered."
|
|
608
|
+
},
|
|
609
|
+
"last_seen": {
|
|
610
|
+
"type": "string",
|
|
611
|
+
"description": "The last day it did."
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"description": "`{}` when `is_smtp` is false. Paid plans and the trial."
|
|
615
|
+
},
|
|
616
|
+
"web": {
|
|
617
|
+
"type": "array",
|
|
618
|
+
"items": {
|
|
619
|
+
"type": "object",
|
|
620
|
+
"properties": {
|
|
621
|
+
"port": {
|
|
622
|
+
"type": "integer",
|
|
623
|
+
"description": "80 or 443."
|
|
624
|
+
},
|
|
625
|
+
"tls_ok": {
|
|
626
|
+
"type": "boolean",
|
|
627
|
+
"description": "A TLS handshake completed."
|
|
628
|
+
},
|
|
629
|
+
"session_ok": {
|
|
630
|
+
"type": "boolean",
|
|
631
|
+
"description": "An HTTP response came back."
|
|
632
|
+
},
|
|
633
|
+
"status_code": {
|
|
634
|
+
"type": "integer",
|
|
635
|
+
"description": "Its status, 0 where none came."
|
|
636
|
+
},
|
|
637
|
+
"server": {
|
|
638
|
+
"type": "string",
|
|
639
|
+
"description": "Its `Server` header."
|
|
640
|
+
},
|
|
641
|
+
"location": {
|
|
642
|
+
"type": "string",
|
|
643
|
+
"description": "Where it redirected."
|
|
644
|
+
},
|
|
645
|
+
"title": {
|
|
646
|
+
"type": "string",
|
|
647
|
+
"description": "The page's title."
|
|
648
|
+
},
|
|
649
|
+
"cert_subject_cn": {
|
|
650
|
+
"type": "string",
|
|
651
|
+
"description": "The certificate's subject common name."
|
|
652
|
+
},
|
|
653
|
+
"cert_subject_o": {
|
|
654
|
+
"type": "string",
|
|
655
|
+
"description": "Its subject organization."
|
|
656
|
+
},
|
|
657
|
+
"cert_issuer_dn": {
|
|
658
|
+
"type": "string",
|
|
659
|
+
"description": "Its issuer."
|
|
660
|
+
},
|
|
661
|
+
"cert_browser_trusted": {
|
|
662
|
+
"type": "boolean",
|
|
663
|
+
"description": "Browsers trust it."
|
|
664
|
+
},
|
|
665
|
+
"tls_version": {
|
|
666
|
+
"type": "string",
|
|
667
|
+
"description": "The TLS version negotiated, empty without TLS."
|
|
668
|
+
},
|
|
669
|
+
"first_seen": {
|
|
670
|
+
"type": "string",
|
|
671
|
+
"description": "The first day the port was open."
|
|
672
|
+
},
|
|
673
|
+
"last_seen": {
|
|
674
|
+
"type": "string",
|
|
675
|
+
"description": "The last day it was."
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
"required": [
|
|
679
|
+
"port",
|
|
680
|
+
"tls_ok",
|
|
681
|
+
"session_ok",
|
|
682
|
+
"status_code",
|
|
683
|
+
"server",
|
|
684
|
+
"location",
|
|
685
|
+
"title",
|
|
686
|
+
"cert_subject_cn",
|
|
687
|
+
"cert_subject_o",
|
|
688
|
+
"cert_issuer_dn",
|
|
689
|
+
"cert_browser_trusted",
|
|
690
|
+
"tls_version",
|
|
691
|
+
"first_seen",
|
|
692
|
+
"last_seen"
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
"description": "A row per port that answered, lowest first; `[]` when `is_web` is false. Paid plans and the trial."
|
|
696
|
+
},
|
|
697
|
+
"dns_resolver": {
|
|
698
|
+
"type": "object",
|
|
699
|
+
"properties": {
|
|
700
|
+
"port": {
|
|
701
|
+
"type": "integer",
|
|
702
|
+
"description": "The port it answered on."
|
|
703
|
+
},
|
|
704
|
+
"recursion_available": {
|
|
705
|
+
"type": "boolean",
|
|
706
|
+
"description": "It offered recursion."
|
|
707
|
+
},
|
|
708
|
+
"rcode": {
|
|
709
|
+
"type": "integer",
|
|
710
|
+
"description": "Its answer's response code."
|
|
711
|
+
},
|
|
712
|
+
"answer_correct": {
|
|
713
|
+
"type": "boolean",
|
|
714
|
+
"description": "Its answer was right."
|
|
715
|
+
},
|
|
716
|
+
"first_seen": {
|
|
717
|
+
"type": "string",
|
|
718
|
+
"description": "The first day it answered."
|
|
719
|
+
},
|
|
720
|
+
"last_seen": {
|
|
721
|
+
"type": "string",
|
|
722
|
+
"description": "The last day it did."
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"description": "`{}` when `is_dns_resolver` is false. Paid plans and the trial."
|
|
726
|
+
},
|
|
727
|
+
"bittorrent": {
|
|
728
|
+
"type": "object",
|
|
729
|
+
"properties": {
|
|
730
|
+
"verified": {
|
|
731
|
+
"type": "boolean",
|
|
732
|
+
"description": "A client here answered, or two or more reported it at once."
|
|
733
|
+
},
|
|
734
|
+
"id_matches_ip": {
|
|
735
|
+
"type": "boolean",
|
|
736
|
+
"description": "A client here derived its node ID from the address (BEP 42)."
|
|
737
|
+
},
|
|
738
|
+
"first_seen": {
|
|
739
|
+
"type": "string",
|
|
740
|
+
"description": "The first day a client was seen here."
|
|
741
|
+
},
|
|
742
|
+
"last_seen": {
|
|
743
|
+
"type": "string",
|
|
744
|
+
"description": "The last day."
|
|
745
|
+
},
|
|
746
|
+
"last_reachable": {
|
|
747
|
+
"type": "string",
|
|
748
|
+
"description": "The last day one answered, empty when none did."
|
|
749
|
+
},
|
|
750
|
+
"days_seen": {
|
|
751
|
+
"type": "integer",
|
|
752
|
+
"description": "On how many days."
|
|
753
|
+
},
|
|
754
|
+
"num_ports": {
|
|
755
|
+
"type": "integer",
|
|
756
|
+
"description": "Distinct ports over the window."
|
|
757
|
+
},
|
|
758
|
+
"peak_num_ports": {
|
|
759
|
+
"type": "integer",
|
|
760
|
+
"description": "The most on one day."
|
|
761
|
+
},
|
|
762
|
+
"indexer": {
|
|
763
|
+
"type": "boolean",
|
|
764
|
+
"description": "A DHT indexer rather than people."
|
|
765
|
+
},
|
|
766
|
+
"clients": {
|
|
767
|
+
"type": "array",
|
|
768
|
+
"items": {
|
|
769
|
+
"type": "string"
|
|
770
|
+
},
|
|
771
|
+
"description": "The two-letter codes its clients name themselves by."
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
"description": "`{}` when `is_bittorrent` is false. Paid plans and the trial."
|
|
775
|
+
},
|
|
776
|
+
"location": {
|
|
777
|
+
"type": "object",
|
|
778
|
+
"properties": {
|
|
779
|
+
"continent": {
|
|
780
|
+
"type": "string",
|
|
781
|
+
"description": "Continent code."
|
|
782
|
+
},
|
|
783
|
+
"continent_name": {
|
|
784
|
+
"type": "string",
|
|
785
|
+
"description": "Continent name."
|
|
786
|
+
},
|
|
787
|
+
"country": {
|
|
788
|
+
"type": "string",
|
|
789
|
+
"description": "ISO 3166-1 alpha-2 country code."
|
|
790
|
+
},
|
|
791
|
+
"country_name": {
|
|
792
|
+
"type": "string",
|
|
793
|
+
"description": "Country name."
|
|
794
|
+
},
|
|
795
|
+
"timezone": {
|
|
796
|
+
"type": "string",
|
|
797
|
+
"description": "IANA timezone."
|
|
798
|
+
},
|
|
799
|
+
"currency_code": {
|
|
800
|
+
"type": "string",
|
|
801
|
+
"description": "ISO 4217 code."
|
|
802
|
+
},
|
|
803
|
+
"currency_name": {
|
|
804
|
+
"type": "string",
|
|
805
|
+
"description": "Currency name."
|
|
806
|
+
},
|
|
807
|
+
"currency_symbol": {
|
|
808
|
+
"type": "string",
|
|
809
|
+
"description": "Currency symbol."
|
|
810
|
+
},
|
|
811
|
+
"flag_emoji": {
|
|
812
|
+
"type": "string",
|
|
813
|
+
"description": "The country's flag."
|
|
814
|
+
},
|
|
815
|
+
"flag_unicode": {
|
|
816
|
+
"type": "string",
|
|
817
|
+
"description": "Its code points, `U+1F1E6 U+1F1F9`."
|
|
818
|
+
},
|
|
819
|
+
"region": {
|
|
820
|
+
"type": "string",
|
|
821
|
+
"description": "Region (state or province). Paid plans and the trial."
|
|
822
|
+
},
|
|
823
|
+
"region_code": {
|
|
824
|
+
"type": "string",
|
|
825
|
+
"description": "ISO 3166-2 region code. Paid plans and the trial."
|
|
826
|
+
},
|
|
827
|
+
"city": {
|
|
828
|
+
"type": "string",
|
|
829
|
+
"description": "City. Paid plans and the trial."
|
|
830
|
+
},
|
|
831
|
+
"postal_code": {
|
|
832
|
+
"type": "string",
|
|
833
|
+
"description": "Postal code. Paid plans and the trial."
|
|
834
|
+
},
|
|
835
|
+
"latitude": {
|
|
836
|
+
"type": "number",
|
|
837
|
+
"description": "Latitude of the city. Paid plans and the trial."
|
|
838
|
+
},
|
|
839
|
+
"longitude": {
|
|
840
|
+
"type": "number",
|
|
841
|
+
"description": "Longitude of the city. Paid plans and the trial."
|
|
842
|
+
},
|
|
843
|
+
"accuracy_radius": {
|
|
844
|
+
"type": "integer",
|
|
845
|
+
"description": "Radius in km holding the true location with 67% confidence. Paid plans and the trial."
|
|
846
|
+
},
|
|
847
|
+
"geoname_id": {
|
|
848
|
+
"type": "string",
|
|
849
|
+
"description": "GeoNames ID of the city. Paid plans and the trial."
|
|
850
|
+
},
|
|
851
|
+
"dma_code": {
|
|
852
|
+
"type": "string",
|
|
853
|
+
"description": "US TV market (DMA) code. Paid plans and the trial."
|
|
854
|
+
},
|
|
855
|
+
"last_changed": {
|
|
856
|
+
"type": "string",
|
|
857
|
+
"description": "The day the range's location last changed. Paid plans and the trial."
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
"required": [
|
|
861
|
+
"continent",
|
|
862
|
+
"continent_name",
|
|
863
|
+
"country",
|
|
864
|
+
"country_name",
|
|
865
|
+
"timezone",
|
|
866
|
+
"currency_code",
|
|
867
|
+
"currency_name",
|
|
868
|
+
"currency_symbol",
|
|
869
|
+
"flag_emoji",
|
|
870
|
+
"flag_unicode"
|
|
871
|
+
],
|
|
872
|
+
"description": "Where the address is."
|
|
873
|
+
},
|
|
874
|
+
"asn": {
|
|
875
|
+
"type": "object",
|
|
876
|
+
"properties": {
|
|
877
|
+
"asn": {
|
|
878
|
+
"type": "integer",
|
|
879
|
+
"description": "The AS announcing the address, 0 where none does."
|
|
880
|
+
},
|
|
881
|
+
"name": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"description": "Its operator."
|
|
884
|
+
},
|
|
885
|
+
"domain": {
|
|
886
|
+
"type": "string",
|
|
887
|
+
"description": "Its operator's domain."
|
|
888
|
+
},
|
|
889
|
+
"type": {
|
|
890
|
+
"type": "string",
|
|
891
|
+
"description": "The kind of network it runs."
|
|
892
|
+
},
|
|
893
|
+
"prefix": {
|
|
894
|
+
"type": "string",
|
|
895
|
+
"description": "The announced prefix covering the address."
|
|
896
|
+
},
|
|
897
|
+
"country": {
|
|
898
|
+
"type": "string",
|
|
899
|
+
"description": "The country its registry assigned it to. Paid plans and the trial."
|
|
900
|
+
},
|
|
901
|
+
"rpki_status": {
|
|
902
|
+
"type": "string",
|
|
903
|
+
"description": "The announcement's RPKI status. Paid plans and the trial."
|
|
904
|
+
}
|
|
905
|
+
},
|
|
906
|
+
"required": [
|
|
907
|
+
"asn",
|
|
908
|
+
"name",
|
|
909
|
+
"domain",
|
|
910
|
+
"type",
|
|
911
|
+
"prefix"
|
|
912
|
+
],
|
|
913
|
+
"description": "The network announcing the address, from IP ASN."
|
|
914
|
+
},
|
|
915
|
+
"company": {
|
|
916
|
+
"type": "object",
|
|
917
|
+
"properties": {
|
|
918
|
+
"name": {
|
|
919
|
+
"type": "string",
|
|
920
|
+
"description": "Who uses the address."
|
|
921
|
+
},
|
|
922
|
+
"domain": {
|
|
923
|
+
"type": "string",
|
|
924
|
+
"description": "Their domain."
|
|
925
|
+
},
|
|
926
|
+
"type": {
|
|
927
|
+
"type": "string",
|
|
928
|
+
"description": "What kind of organization: hosting, isp, business, education, government. Paid plans and the trial."
|
|
929
|
+
},
|
|
930
|
+
"country": {
|
|
931
|
+
"type": "string",
|
|
932
|
+
"description": "ISO 3166 country code. Paid plans and the trial."
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
"required": [
|
|
936
|
+
"name",
|
|
937
|
+
"domain"
|
|
938
|
+
],
|
|
939
|
+
"description": "Who uses the address, from IP Company."
|
|
940
|
+
},
|
|
941
|
+
"hostname": {
|
|
942
|
+
"type": "string",
|
|
943
|
+
"description": "The name the address's reverse DNS (PTR) record points to in IP RDNS, empty when it has none."
|
|
944
|
+
},
|
|
945
|
+
"abuse": {
|
|
946
|
+
"type": "object",
|
|
947
|
+
"properties": {
|
|
948
|
+
"email": {
|
|
949
|
+
"type": "string",
|
|
950
|
+
"description": "Where to report abuse from the address."
|
|
951
|
+
},
|
|
952
|
+
"name": {
|
|
953
|
+
"type": "string",
|
|
954
|
+
"description": "The contact. Paid plans and the trial."
|
|
955
|
+
},
|
|
956
|
+
"phone": {
|
|
957
|
+
"type": "string",
|
|
958
|
+
"description": "Its phone number. Paid plans and the trial."
|
|
959
|
+
},
|
|
960
|
+
"address": {
|
|
961
|
+
"type": "string",
|
|
962
|
+
"description": "Its postal address. Paid plans and the trial."
|
|
963
|
+
},
|
|
964
|
+
"country": {
|
|
965
|
+
"type": "string",
|
|
966
|
+
"description": "ISO 3166 country code. Paid plans and the trial."
|
|
967
|
+
},
|
|
968
|
+
"network": {
|
|
969
|
+
"type": "string",
|
|
970
|
+
"description": "The registry block it was derived from. Paid plans and the trial."
|
|
971
|
+
},
|
|
972
|
+
"validated": {
|
|
973
|
+
"type": "boolean",
|
|
974
|
+
"description": "ARIN reports the contact answered its yearly validation. Paid plans and the trial."
|
|
975
|
+
},
|
|
976
|
+
"unvalidated_since": {
|
|
977
|
+
"type": "string",
|
|
978
|
+
"description": "Since when it has not. Paid plans and the trial."
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
"required": [
|
|
982
|
+
"email"
|
|
983
|
+
],
|
|
984
|
+
"description": "Where to report abuse, from IP Abuse Contact."
|
|
985
|
+
},
|
|
986
|
+
"whois": {
|
|
987
|
+
"type": "object",
|
|
988
|
+
"properties": {
|
|
989
|
+
"id": {
|
|
990
|
+
"type": "string",
|
|
991
|
+
"description": "Network name of the most specific record covering the address."
|
|
992
|
+
},
|
|
993
|
+
"name": {
|
|
994
|
+
"type": "string",
|
|
995
|
+
"description": "Its holder."
|
|
996
|
+
},
|
|
997
|
+
"org": {
|
|
998
|
+
"type": "string",
|
|
999
|
+
"description": "The registry's handle for the holder."
|
|
1000
|
+
},
|
|
1001
|
+
"country": {
|
|
1002
|
+
"type": "string",
|
|
1003
|
+
"description": "ISO 3166 country code."
|
|
1004
|
+
},
|
|
1005
|
+
"status": {
|
|
1006
|
+
"type": "string",
|
|
1007
|
+
"description": "The registry's assignment status."
|
|
1008
|
+
},
|
|
1009
|
+
"source": {
|
|
1010
|
+
"type": "string",
|
|
1011
|
+
"description": "The registry, or rwhois."
|
|
1012
|
+
},
|
|
1013
|
+
"domain": {
|
|
1014
|
+
"type": "string",
|
|
1015
|
+
"description": "The holder's domain."
|
|
1016
|
+
},
|
|
1017
|
+
"abuse_email": {
|
|
1018
|
+
"type": "string",
|
|
1019
|
+
"description": "The record's abuse contact."
|
|
1020
|
+
},
|
|
1021
|
+
"asn": {
|
|
1022
|
+
"type": "integer",
|
|
1023
|
+
"description": "The AS announcing the record's start address."
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
"required": [
|
|
1027
|
+
"id",
|
|
1028
|
+
"name",
|
|
1029
|
+
"org",
|
|
1030
|
+
"country",
|
|
1031
|
+
"status",
|
|
1032
|
+
"source",
|
|
1033
|
+
"domain",
|
|
1034
|
+
"abuse_email",
|
|
1035
|
+
"asn"
|
|
1036
|
+
],
|
|
1037
|
+
"description": "IP Whois's most specific record covering the address. Paid plans and the trial."
|
|
1038
|
+
},
|
|
1039
|
+
"rwhois": {
|
|
1040
|
+
"type": "object",
|
|
1041
|
+
"properties": {
|
|
1042
|
+
"id": {
|
|
1043
|
+
"type": "string",
|
|
1044
|
+
"description": "The network's identifier on the operator's RWHOIS server."
|
|
1045
|
+
},
|
|
1046
|
+
"name": {
|
|
1047
|
+
"type": "string",
|
|
1048
|
+
"description": "Its assignee."
|
|
1049
|
+
},
|
|
1050
|
+
"country": {
|
|
1051
|
+
"type": "string",
|
|
1052
|
+
"description": "ISO 3166 country code."
|
|
1053
|
+
},
|
|
1054
|
+
"source": {
|
|
1055
|
+
"type": "string",
|
|
1056
|
+
"description": "The operator that published it."
|
|
1057
|
+
},
|
|
1058
|
+
"domain": {
|
|
1059
|
+
"type": "string",
|
|
1060
|
+
"description": "The contact emails' domain."
|
|
1061
|
+
},
|
|
1062
|
+
"abuse_email": {
|
|
1063
|
+
"type": "string",
|
|
1064
|
+
"description": "Its abuse contact."
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"required": [
|
|
1068
|
+
"id",
|
|
1069
|
+
"name",
|
|
1070
|
+
"country",
|
|
1071
|
+
"source",
|
|
1072
|
+
"domain",
|
|
1073
|
+
"abuse_email"
|
|
1074
|
+
],
|
|
1075
|
+
"description": "IP RWHOIS's most specific network covering the address. Paid plans and the trial."
|
|
1076
|
+
},
|
|
1077
|
+
"hosted_domains": {
|
|
1078
|
+
"type": "object",
|
|
1079
|
+
"properties": {
|
|
1080
|
+
"total": {
|
|
1081
|
+
"type": "integer",
|
|
1082
|
+
"description": "How many registered domains resolve to the address."
|
|
1083
|
+
}
|
|
1084
|
+
},
|
|
1085
|
+
"required": [
|
|
1086
|
+
"total"
|
|
1087
|
+
],
|
|
1088
|
+
"description": "From IP Hosted Domains: a count, never the list. Paid plans and the trial."
|
|
1089
|
+
},
|
|
1090
|
+
"trial_expired": {
|
|
1091
|
+
"type": "boolean",
|
|
1092
|
+
"description": "On every answer to a key on the free plan, and on no other: `false` while the day's trial of every field lasts, `true` once the answer has Unlimited's fields."
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
"required": [
|
|
1096
|
+
"ip",
|
|
1097
|
+
"is_bogon",
|
|
1098
|
+
"is_tor",
|
|
1099
|
+
"is_relay",
|
|
1100
|
+
"is_anycast",
|
|
1101
|
+
"is_carrier",
|
|
1102
|
+
"is_satellite",
|
|
1103
|
+
"is_ssh",
|
|
1104
|
+
"is_smtp",
|
|
1105
|
+
"is_web",
|
|
1106
|
+
"is_dns_resolver",
|
|
1107
|
+
"is_bittorrent",
|
|
1108
|
+
"tor",
|
|
1109
|
+
"relay",
|
|
1110
|
+
"location",
|
|
1111
|
+
"asn",
|
|
1112
|
+
"company",
|
|
1113
|
+
"hostname",
|
|
1114
|
+
"abuse"
|
|
1115
|
+
],
|
|
1116
|
+
"description": "What every database says about one address."
|
|
1117
|
+
};
|
|
1118
|
+
export const ASN_LOOKUP_RESULT_SCHEMA = {
|
|
1119
|
+
"type": "object",
|
|
1120
|
+
"properties": {
|
|
1121
|
+
"asn": {
|
|
1122
|
+
"type": "integer",
|
|
1123
|
+
"description": "The AS number."
|
|
1124
|
+
},
|
|
1125
|
+
"name": {
|
|
1126
|
+
"type": "string",
|
|
1127
|
+
"description": "Its operator."
|
|
1128
|
+
},
|
|
1129
|
+
"country": {
|
|
1130
|
+
"type": "string",
|
|
1131
|
+
"description": "The country its registry assigned it to."
|
|
1132
|
+
},
|
|
1133
|
+
"registry": {
|
|
1134
|
+
"type": "string",
|
|
1135
|
+
"description": "The registry that allocated it."
|
|
1136
|
+
},
|
|
1137
|
+
"allocated": {
|
|
1138
|
+
"type": "string",
|
|
1139
|
+
"description": "When."
|
|
1140
|
+
},
|
|
1141
|
+
"domain": {
|
|
1142
|
+
"type": "string",
|
|
1143
|
+
"description": "Its operator's domain."
|
|
1144
|
+
},
|
|
1145
|
+
"type": {
|
|
1146
|
+
"type": "string",
|
|
1147
|
+
"description": "The kind of network it runs. Paid plans and the trial."
|
|
1148
|
+
},
|
|
1149
|
+
"num_ips": {
|
|
1150
|
+
"type": "integer",
|
|
1151
|
+
"description": "IPv4 addresses it announces. Paid plans and the trial."
|
|
1152
|
+
},
|
|
1153
|
+
"num_prefixes4": {
|
|
1154
|
+
"type": "integer",
|
|
1155
|
+
"description": "IPv4 prefixes it announces. Paid plans and the trial."
|
|
1156
|
+
},
|
|
1157
|
+
"num_prefixes6": {
|
|
1158
|
+
"type": "integer",
|
|
1159
|
+
"description": "IPv6 prefixes it announces. Paid plans and the trial."
|
|
1160
|
+
},
|
|
1161
|
+
"rpki_valid": {
|
|
1162
|
+
"type": "integer",
|
|
1163
|
+
"description": "Its announcements RPKI calls valid. Paid plans and the trial."
|
|
1164
|
+
},
|
|
1165
|
+
"rpki_invalid": {
|
|
1166
|
+
"type": "integer",
|
|
1167
|
+
"description": "Invalid. Paid plans and the trial."
|
|
1168
|
+
},
|
|
1169
|
+
"rpki_not_found": {
|
|
1170
|
+
"type": "integer",
|
|
1171
|
+
"description": "With no RPKI record. Paid plans and the trial."
|
|
1172
|
+
},
|
|
1173
|
+
"whois": {
|
|
1174
|
+
"type": "object",
|
|
1175
|
+
"additionalProperties": {
|
|
1176
|
+
"type": "string"
|
|
1177
|
+
},
|
|
1178
|
+
"description": "Its ASN Whois record, every column, empty where the registry states nothing. Paid plans and the trial."
|
|
1179
|
+
},
|
|
1180
|
+
"prefixes": {
|
|
1181
|
+
"type": "array",
|
|
1182
|
+
"items": {
|
|
1183
|
+
"type": "object",
|
|
1184
|
+
"properties": {
|
|
1185
|
+
"prefix": {
|
|
1186
|
+
"type": "string",
|
|
1187
|
+
"description": "The announced prefix."
|
|
1188
|
+
},
|
|
1189
|
+
"peer_count": {
|
|
1190
|
+
"type": "integer",
|
|
1191
|
+
"description": "How many peers saw it."
|
|
1192
|
+
},
|
|
1193
|
+
"rpki_status": {
|
|
1194
|
+
"type": "string",
|
|
1195
|
+
"description": "Its RPKI status."
|
|
1196
|
+
},
|
|
1197
|
+
"first_seen": {
|
|
1198
|
+
"type": "string",
|
|
1199
|
+
"description": "The first day BGP Route saw it."
|
|
1200
|
+
},
|
|
1201
|
+
"country": {
|
|
1202
|
+
"type": "string",
|
|
1203
|
+
"description": "Where its first address is."
|
|
1204
|
+
},
|
|
1205
|
+
"size": {
|
|
1206
|
+
"type": "integer",
|
|
1207
|
+
"description": "IPv4 addresses it covers; 0 for IPv6."
|
|
1208
|
+
},
|
|
1209
|
+
"other_origins": {
|
|
1210
|
+
"type": "array",
|
|
1211
|
+
"items": {
|
|
1212
|
+
"type": "integer"
|
|
1213
|
+
},
|
|
1214
|
+
"description": "Every other AS announcing it."
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
"required": [
|
|
1218
|
+
"prefix",
|
|
1219
|
+
"peer_count",
|
|
1220
|
+
"rpki_status",
|
|
1221
|
+
"first_seen",
|
|
1222
|
+
"country",
|
|
1223
|
+
"size",
|
|
1224
|
+
"other_origins"
|
|
1225
|
+
]
|
|
1226
|
+
},
|
|
1227
|
+
"description": "What it announces, IPv4 then IPv6, up to 20000 a family. Paid plans and the trial."
|
|
1228
|
+
},
|
|
1229
|
+
"trial_expired": {
|
|
1230
|
+
"type": "boolean",
|
|
1231
|
+
"description": "On every answer to a key on the free plan, and on no other: `false` while the day's trial of every field lasts, `true` once the answer has Unlimited's fields."
|
|
1232
|
+
}
|
|
1233
|
+
},
|
|
1234
|
+
"required": [
|
|
1235
|
+
"asn",
|
|
1236
|
+
"name",
|
|
1237
|
+
"country",
|
|
1238
|
+
"registry",
|
|
1239
|
+
"allocated",
|
|
1240
|
+
"domain"
|
|
1241
|
+
],
|
|
1242
|
+
"description": "What every database says about one AS."
|
|
1243
|
+
};
|
|
1244
|
+
export const DOMAIN_LOOKUP_RESULT_SCHEMA = {
|
|
1245
|
+
"type": "object",
|
|
1246
|
+
"properties": {
|
|
1247
|
+
"domain": {
|
|
1248
|
+
"type": "string",
|
|
1249
|
+
"description": "The domain, lowercase and in punycode."
|
|
1250
|
+
},
|
|
1251
|
+
"is_registered": {
|
|
1252
|
+
"type": "boolean",
|
|
1253
|
+
"description": "In Domain List: a registered domain."
|
|
1254
|
+
},
|
|
1255
|
+
"is_disposable": {
|
|
1256
|
+
"type": "boolean",
|
|
1257
|
+
"description": "In Disposable Domain. Paid plans and the trial."
|
|
1258
|
+
},
|
|
1259
|
+
"has_a": {
|
|
1260
|
+
"type": "boolean",
|
|
1261
|
+
"description": "It has A records."
|
|
1262
|
+
},
|
|
1263
|
+
"has_aaaa": {
|
|
1264
|
+
"type": "boolean",
|
|
1265
|
+
"description": "AAAA records."
|
|
1266
|
+
},
|
|
1267
|
+
"has_mx": {
|
|
1268
|
+
"type": "boolean",
|
|
1269
|
+
"description": "MX records."
|
|
1270
|
+
},
|
|
1271
|
+
"has_ns": {
|
|
1272
|
+
"type": "boolean",
|
|
1273
|
+
"description": "NS records."
|
|
1274
|
+
},
|
|
1275
|
+
"has_cname": {
|
|
1276
|
+
"type": "boolean",
|
|
1277
|
+
"description": "A CNAME record."
|
|
1278
|
+
},
|
|
1279
|
+
"dns": {
|
|
1280
|
+
"type": "object",
|
|
1281
|
+
"properties": {
|
|
1282
|
+
"a": {
|
|
1283
|
+
"type": "array",
|
|
1284
|
+
"items": {
|
|
1285
|
+
"type": "object",
|
|
1286
|
+
"properties": {
|
|
1287
|
+
"ip": {
|
|
1288
|
+
"type": "string",
|
|
1289
|
+
"description": "The address."
|
|
1290
|
+
},
|
|
1291
|
+
"last_seen": {
|
|
1292
|
+
"type": "string",
|
|
1293
|
+
"description": "The last day the snapshot saw it."
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
"required": [
|
|
1297
|
+
"ip",
|
|
1298
|
+
"last_seen"
|
|
1299
|
+
]
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
"aaaa": {
|
|
1303
|
+
"type": "array",
|
|
1304
|
+
"items": {
|
|
1305
|
+
"type": "object",
|
|
1306
|
+
"properties": {
|
|
1307
|
+
"ip": {
|
|
1308
|
+
"type": "string",
|
|
1309
|
+
"description": "The address."
|
|
1310
|
+
},
|
|
1311
|
+
"last_seen": {
|
|
1312
|
+
"type": "string",
|
|
1313
|
+
"description": "The last day the snapshot saw it."
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
"required": [
|
|
1317
|
+
"ip",
|
|
1318
|
+
"last_seen"
|
|
1319
|
+
]
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
"mx": {
|
|
1323
|
+
"type": "array",
|
|
1324
|
+
"items": {
|
|
1325
|
+
"type": "object",
|
|
1326
|
+
"properties": {
|
|
1327
|
+
"priority": {
|
|
1328
|
+
"type": "integer",
|
|
1329
|
+
"description": "Its priority."
|
|
1330
|
+
},
|
|
1331
|
+
"host": {
|
|
1332
|
+
"type": "string",
|
|
1333
|
+
"description": "The mail host."
|
|
1334
|
+
},
|
|
1335
|
+
"last_seen": {
|
|
1336
|
+
"type": "string",
|
|
1337
|
+
"description": "The last day seen."
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
"required": [
|
|
1341
|
+
"priority",
|
|
1342
|
+
"host",
|
|
1343
|
+
"last_seen"
|
|
1344
|
+
]
|
|
1345
|
+
}
|
|
1346
|
+
},
|
|
1347
|
+
"ns": {
|
|
1348
|
+
"type": "array",
|
|
1349
|
+
"items": {
|
|
1350
|
+
"type": "object",
|
|
1351
|
+
"properties": {
|
|
1352
|
+
"host": {
|
|
1353
|
+
"type": "string",
|
|
1354
|
+
"description": "The name server."
|
|
1355
|
+
},
|
|
1356
|
+
"last_seen": {
|
|
1357
|
+
"type": "string",
|
|
1358
|
+
"description": "The last day seen."
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1361
|
+
"required": [
|
|
1362
|
+
"host",
|
|
1363
|
+
"last_seen"
|
|
1364
|
+
]
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
"cname": {
|
|
1368
|
+
"type": "array",
|
|
1369
|
+
"items": {
|
|
1370
|
+
"type": "object",
|
|
1371
|
+
"properties": {
|
|
1372
|
+
"target": {
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"description": "Where it points."
|
|
1375
|
+
},
|
|
1376
|
+
"last_seen": {
|
|
1377
|
+
"type": "string",
|
|
1378
|
+
"description": "The last day seen."
|
|
1379
|
+
}
|
|
1380
|
+
},
|
|
1381
|
+
"required": [
|
|
1382
|
+
"target",
|
|
1383
|
+
"last_seen"
|
|
1384
|
+
]
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
},
|
|
1388
|
+
"required": [
|
|
1389
|
+
"a",
|
|
1390
|
+
"aaaa",
|
|
1391
|
+
"mx",
|
|
1392
|
+
"ns",
|
|
1393
|
+
"cname"
|
|
1394
|
+
],
|
|
1395
|
+
"description": "Its records in Domain DNS, up to 100 a type. Paid plans and the trial."
|
|
1396
|
+
},
|
|
1397
|
+
"ip_ranges": {
|
|
1398
|
+
"type": "object",
|
|
1399
|
+
"properties": {
|
|
1400
|
+
"domain": {
|
|
1401
|
+
"type": "string",
|
|
1402
|
+
"description": "The organization's domain."
|
|
1403
|
+
},
|
|
1404
|
+
"redirects_to": {
|
|
1405
|
+
"type": "string",
|
|
1406
|
+
"description": "Where its home page redirects, when that is how it was reached."
|
|
1407
|
+
},
|
|
1408
|
+
"total": {
|
|
1409
|
+
"type": "integer",
|
|
1410
|
+
"description": "How many ranges it holds."
|
|
1411
|
+
},
|
|
1412
|
+
"ipv4": {
|
|
1413
|
+
"type": "integer",
|
|
1414
|
+
"description": "IPv4 addresses across them."
|
|
1415
|
+
},
|
|
1416
|
+
"ranges": {
|
|
1417
|
+
"type": "array",
|
|
1418
|
+
"items": {
|
|
1419
|
+
"type": "object",
|
|
1420
|
+
"properties": {
|
|
1421
|
+
"range": {
|
|
1422
|
+
"type": "string",
|
|
1423
|
+
"description": "The range."
|
|
1424
|
+
},
|
|
1425
|
+
"name": {
|
|
1426
|
+
"type": "string",
|
|
1427
|
+
"description": "Its registry name."
|
|
1428
|
+
},
|
|
1429
|
+
"country": {
|
|
1430
|
+
"type": "string",
|
|
1431
|
+
"description": "ISO 3166 country code."
|
|
1432
|
+
}
|
|
1433
|
+
},
|
|
1434
|
+
"required": [
|
|
1435
|
+
"range",
|
|
1436
|
+
"name",
|
|
1437
|
+
"country"
|
|
1438
|
+
]
|
|
1439
|
+
},
|
|
1440
|
+
"description": "The first 1000, IPv4 before IPv6, the largest first."
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1443
|
+
"required": [
|
|
1444
|
+
"domain",
|
|
1445
|
+
"redirects_to",
|
|
1446
|
+
"total",
|
|
1447
|
+
"ipv4",
|
|
1448
|
+
"ranges"
|
|
1449
|
+
],
|
|
1450
|
+
"description": "The organization's IP ranges, from Domain IP Ranges. Paid plans and the trial."
|
|
1451
|
+
},
|
|
1452
|
+
"disposable": {
|
|
1453
|
+
"type": "object",
|
|
1454
|
+
"properties": {
|
|
1455
|
+
"confidence": {
|
|
1456
|
+
"type": "string",
|
|
1457
|
+
"description": "`high`, `medium` or `low`."
|
|
1458
|
+
},
|
|
1459
|
+
"providers": {
|
|
1460
|
+
"type": "array",
|
|
1461
|
+
"items": {
|
|
1462
|
+
"type": "string"
|
|
1463
|
+
},
|
|
1464
|
+
"description": "The providers behind it."
|
|
1465
|
+
},
|
|
1466
|
+
"first_seen": {
|
|
1467
|
+
"type": "string",
|
|
1468
|
+
"description": "The first day seen in use."
|
|
1469
|
+
},
|
|
1470
|
+
"last_seen": {
|
|
1471
|
+
"type": "string",
|
|
1472
|
+
"description": "The last day."
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
"description": "`{}` when `is_disposable` is false. Paid plans and the trial."
|
|
1476
|
+
},
|
|
1477
|
+
"trial_expired": {
|
|
1478
|
+
"type": "boolean",
|
|
1479
|
+
"description": "On every answer to a key on the free plan, and on no other: `false` while the day's trial of every field lasts, `true` once the answer has Unlimited's fields."
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
"required": [
|
|
1483
|
+
"domain",
|
|
1484
|
+
"is_registered",
|
|
1485
|
+
"has_a",
|
|
1486
|
+
"has_aaaa",
|
|
1487
|
+
"has_mx",
|
|
1488
|
+
"has_ns",
|
|
1489
|
+
"has_cname"
|
|
1490
|
+
],
|
|
1491
|
+
"description": "What every database says about one domain."
|
|
1492
|
+
};
|
|
9
1493
|
export const DATABASE_SCHEMA = {
|
|
10
1494
|
"type": "object",
|
|
11
1495
|
"description": "One database FAMILY, with your organization's license beside it. A\nlicense covers the family, while a download names a specific version,\nso the IDs passed to `download` and `checksum` come from `versions`.\n",
|
|
@@ -335,4 +1819,113 @@ export const DOWNLOAD_SCHEMA = {
|
|
|
335
1819
|
}
|
|
336
1820
|
}
|
|
337
1821
|
};
|
|
1822
|
+
export const ENTITLEMENT_SCHEMA = {
|
|
1823
|
+
"type": "object",
|
|
1824
|
+
"required": [
|
|
1825
|
+
"org_id",
|
|
1826
|
+
"apikey",
|
|
1827
|
+
"plan",
|
|
1828
|
+
"usage"
|
|
1829
|
+
],
|
|
1830
|
+
"properties": {
|
|
1831
|
+
"org_id": {
|
|
1832
|
+
"type": "string",
|
|
1833
|
+
"format": "uuid",
|
|
1834
|
+
"description": "The organization the key belongs to."
|
|
1835
|
+
},
|
|
1836
|
+
"apikey": {
|
|
1837
|
+
"type": "object",
|
|
1838
|
+
"description": "The credential itself. The key is never echoed - only its ID, which is\nwhat the console shows and what you can act on.\n",
|
|
1839
|
+
"required": [
|
|
1840
|
+
"id",
|
|
1841
|
+
"expires",
|
|
1842
|
+
"allowed_cidrs"
|
|
1843
|
+
],
|
|
1844
|
+
"properties": {
|
|
1845
|
+
"id": {
|
|
1846
|
+
"type": "string",
|
|
1847
|
+
"format": "uuid"
|
|
1848
|
+
},
|
|
1849
|
+
"expires": {
|
|
1850
|
+
"type": [
|
|
1851
|
+
"string",
|
|
1852
|
+
"null"
|
|
1853
|
+
],
|
|
1854
|
+
"format": "date-time",
|
|
1855
|
+
"description": "Null for a key with no end date, which is the normal case."
|
|
1856
|
+
},
|
|
1857
|
+
"allowed_cidrs": {
|
|
1858
|
+
"type": "array",
|
|
1859
|
+
"items": {
|
|
1860
|
+
"type": "string"
|
|
1861
|
+
},
|
|
1862
|
+
"description": "The source addresses this key may be used from. EMPTY means\nunrestricted, never \"deny all\".\n"
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
"plan": {
|
|
1867
|
+
"type": "object",
|
|
1868
|
+
"required": [
|
|
1869
|
+
"key",
|
|
1870
|
+
"tier"
|
|
1871
|
+
],
|
|
1872
|
+
"properties": {
|
|
1873
|
+
"key": {
|
|
1874
|
+
"type": "string",
|
|
1875
|
+
"description": "The plan the organization is on: `free` for the free plan,\nUnlimited, or a paid plan's key. On `free`, usage counts the\nday's lookups answered with every field, its daily trial.\n"
|
|
1876
|
+
},
|
|
1877
|
+
"tier": {
|
|
1878
|
+
"type": "string",
|
|
1879
|
+
"enum": [
|
|
1880
|
+
"free",
|
|
1881
|
+
"starter",
|
|
1882
|
+
"scale",
|
|
1883
|
+
"max"
|
|
1884
|
+
],
|
|
1885
|
+
"description": "The field tier, which decides how much of a lookup answer comes\nback; `free` is the free plan's. What each tier includes is documented\non the lookup endpoint rather than repeated here, so there is one\nplace it can be wrong.\n"
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
},
|
|
1889
|
+
"usage": {
|
|
1890
|
+
"type": "object",
|
|
1891
|
+
"required": [
|
|
1892
|
+
"requests",
|
|
1893
|
+
"quota",
|
|
1894
|
+
"hard_limit",
|
|
1895
|
+
"window_start",
|
|
1896
|
+
"window_end"
|
|
1897
|
+
],
|
|
1898
|
+
"properties": {
|
|
1899
|
+
"requests": {
|
|
1900
|
+
"type": "integer",
|
|
1901
|
+
"format": "int64",
|
|
1902
|
+
"description": "Requests counted in the current window. The same number the lookup\nAPI gates on, and it can lag by a few seconds.\n"
|
|
1903
|
+
},
|
|
1904
|
+
"quota": {
|
|
1905
|
+
"type": "integer",
|
|
1906
|
+
"format": "int64",
|
|
1907
|
+
"description": "What the plan includes. Zero on a plan that includes none."
|
|
1908
|
+
},
|
|
1909
|
+
"hard_limit": {
|
|
1910
|
+
"type": [
|
|
1911
|
+
"integer",
|
|
1912
|
+
"null"
|
|
1913
|
+
],
|
|
1914
|
+
"format": "int64",
|
|
1915
|
+
"description": "Where we stop serving. NULL means never, which is the normal state\nof an uncapped paid plan and is not the same as zero. Above the\nquota and below this, requests are served and billed as overage.\n"
|
|
1916
|
+
},
|
|
1917
|
+
"window_start": {
|
|
1918
|
+
"type": "string",
|
|
1919
|
+
"format": "date-time",
|
|
1920
|
+
"description": "When the current allowance period began."
|
|
1921
|
+
},
|
|
1922
|
+
"window_end": {
|
|
1923
|
+
"type": "string",
|
|
1924
|
+
"format": "date-time",
|
|
1925
|
+
"description": "When the allowance next resets."
|
|
1926
|
+
}
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
};
|
|
338
1931
|
//# sourceMappingURL=schema.gen.js.map
|