@internetdata/internetdata 2.19.0 → 2.21.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 +14 -12
- package/dist/client.d.ts +8 -6
- package/dist/client.js +5 -5
- package/dist/client.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +5 -5
- package/dist/generated/sdk.gen.js +5 -5
- package/dist/generated/types.gen.d.ts +130 -116
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/middleware/condition.d.ts +5 -4
- package/dist/middleware/condition.js +24 -12
- package/dist/middleware/condition.js.map +1 -1
- package/dist/middleware/core.d.ts +15 -5
- package/dist/middleware/core.js +55 -7
- package/dist/middleware/core.js.map +1 -1
- package/dist/middleware/crawlers.gen.d.ts +2 -0
- package/dist/middleware/crawlers.gen.js +68 -0
- package/dist/middleware/crawlers.gen.js.map +1 -0
- package/dist/middleware/index.d.ts +1 -1
- package/dist/middleware/index.js +1 -1
- package/dist/middleware/index.js.map +1 -1
- package/dist/shapes.d.ts +2 -2
- package/dist/shapes.js +5 -4
- package/dist/shapes.js.map +1 -1
- package/dist/types.d.ts +28 -15
- package/dist/types.js +19 -2
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -537,7 +537,7 @@ export type LookupResponse = {
|
|
|
537
537
|
*/
|
|
538
538
|
is_bogon: boolean;
|
|
539
539
|
/**
|
|
540
|
-
* In VPN IP: a VPN service's server. On a paid plan or
|
|
540
|
+
* In VPN IP: a VPN service's server. On a paid plan or a free key's full answers.
|
|
541
541
|
*/
|
|
542
542
|
is_vpn?: boolean;
|
|
543
543
|
/**
|
|
@@ -549,31 +549,31 @@ export type LookupResponse = {
|
|
|
549
549
|
*/
|
|
550
550
|
is_relay: boolean;
|
|
551
551
|
/**
|
|
552
|
-
* In Residential Proxy IP's 90-day window: a residential proxy exit. On a paid plan or
|
|
552
|
+
* In Residential Proxy IP's 90-day window: a residential proxy exit. On a paid plan or a free key's full answers.
|
|
553
553
|
*/
|
|
554
554
|
is_resproxy?: boolean;
|
|
555
555
|
/**
|
|
556
|
-
* In Datacenter Proxy IP's 90-day window. On a paid plan or
|
|
556
|
+
* In Datacenter Proxy IP's 90-day window. On a paid plan or a free key's full answers.
|
|
557
557
|
*/
|
|
558
558
|
is_dcproxy?: boolean;
|
|
559
559
|
/**
|
|
560
|
-
* In Mobile Proxy IP's 90-day window. On a paid plan or
|
|
560
|
+
* In Mobile Proxy IP's 90-day window. On a paid plan or a free key's full answers.
|
|
561
561
|
*/
|
|
562
562
|
is_mobproxy?: boolean;
|
|
563
563
|
/**
|
|
564
|
-
* In Public Proxy IP: a public proxy listens here, or its traffic left from here. On a paid plan or
|
|
564
|
+
* In Public Proxy IP: a public proxy listens here, or its traffic left from here. On a paid plan or a free key's full answers.
|
|
565
565
|
*/
|
|
566
566
|
is_pubproxy?: boolean;
|
|
567
567
|
/**
|
|
568
|
-
* In Hosting IP: a hosting or cloud network. On a paid plan or
|
|
568
|
+
* In Hosting IP: a hosting or cloud network. On a paid plan or a free key's full answers.
|
|
569
569
|
*/
|
|
570
570
|
is_hosting?: boolean;
|
|
571
571
|
/**
|
|
572
|
-
* In CDN IP: a content delivery network. On a paid plan or
|
|
572
|
+
* In CDN IP: a content delivery network. On a paid plan or a free key's full answers.
|
|
573
573
|
*/
|
|
574
574
|
is_cdn?: boolean;
|
|
575
575
|
/**
|
|
576
|
-
* In Bot IP: an automated client's address, such as a search engine's or an AI company's crawler, an uptime monitor, an internet scanner or a webhook sender. `bot` says whose, what it does and whether its operator vouches for the address. On a paid plan or
|
|
576
|
+
* In Bot IP: an automated client's address, such as a search engine's or an AI company's crawler, an uptime monitor, an internet scanner or a webhook sender. `bot` says whose, what it does and whether its operator vouches for the address. On a paid plan or a free key's full answers.
|
|
577
577
|
*/
|
|
578
578
|
is_bot?: boolean;
|
|
579
579
|
/**
|
|
@@ -581,35 +581,35 @@ export type LookupResponse = {
|
|
|
581
581
|
*/
|
|
582
582
|
is_anycast: boolean;
|
|
583
583
|
/**
|
|
584
|
-
* In Carrier IP: a mobile carrier's address space. On a paid plan or
|
|
584
|
+
* In Carrier IP: a mobile carrier's address space. On a paid plan or a free key's full answers.
|
|
585
585
|
*/
|
|
586
586
|
is_carrier?: boolean;
|
|
587
587
|
/**
|
|
588
|
-
* In Satellite IP: a satellite operator's address space. On a paid plan or
|
|
588
|
+
* In Satellite IP: a satellite operator's address space. On a paid plan or a free key's full answers.
|
|
589
589
|
*/
|
|
590
590
|
is_satellite?: boolean;
|
|
591
591
|
/**
|
|
592
|
-
* In SSH IP: an SSH server answered here. On a paid plan or
|
|
592
|
+
* In SSH IP: an SSH server answered here. On a paid plan or a free key's full answers.
|
|
593
593
|
*/
|
|
594
594
|
is_ssh?: boolean;
|
|
595
595
|
/**
|
|
596
|
-
* In SMTP IP: a mail server answered here. On a paid plan or
|
|
596
|
+
* In SMTP IP: a mail server answered here. On a paid plan or a free key's full answers.
|
|
597
597
|
*/
|
|
598
598
|
is_smtp?: boolean;
|
|
599
599
|
/**
|
|
600
|
-
* In Web IP: a web server answered here on port 80 or 443. On a paid plan or
|
|
600
|
+
* In Web IP: a web server answered here on port 80 or 443. On a paid plan or a free key's full answers.
|
|
601
601
|
*/
|
|
602
602
|
is_web?: boolean;
|
|
603
603
|
/**
|
|
604
|
-
* In DNS Resolver IP: an open DNS resolver answered here. On a paid plan or
|
|
604
|
+
* In DNS Resolver IP: an open DNS resolver answered here. On a paid plan or a free key's full answers.
|
|
605
605
|
*/
|
|
606
606
|
is_dns_resolver?: boolean;
|
|
607
607
|
/**
|
|
608
|
-
* In BitTorrent IP: a BitTorrent client was seen here in the last 90 days. On a paid plan or
|
|
608
|
+
* In BitTorrent IP: a BitTorrent client was seen here in the last 90 days. On a paid plan or a free key's full answers.
|
|
609
609
|
*/
|
|
610
610
|
is_bittorrent?: boolean;
|
|
611
611
|
/**
|
|
612
|
-
* VPN IP's row, `{}` when `is_vpn` is false. On a paid plan or
|
|
612
|
+
* VPN IP's row, `{}` when `is_vpn` is false. On a paid plan or a free key's full answers.
|
|
613
613
|
*/
|
|
614
614
|
vpn?: ClassDetail;
|
|
615
615
|
/**
|
|
@@ -621,69 +621,69 @@ export type LookupResponse = {
|
|
|
621
621
|
*/
|
|
622
622
|
relay: ClassDetail;
|
|
623
623
|
/**
|
|
624
|
-
* `{}` when `is_resproxy` is false. On a paid plan or
|
|
624
|
+
* `{}` when `is_resproxy` is false. On a paid plan or a free key's full answers.
|
|
625
625
|
*/
|
|
626
626
|
resproxy?: ProxyDetail;
|
|
627
627
|
/**
|
|
628
|
-
* `{}` when `is_dcproxy` is false. On a paid plan or
|
|
628
|
+
* `{}` when `is_dcproxy` is false. On a paid plan or a free key's full answers.
|
|
629
629
|
*/
|
|
630
630
|
dcproxy?: ProxyDetail;
|
|
631
631
|
/**
|
|
632
|
-
* `{}` when `is_mobproxy` is false. On a paid plan or
|
|
632
|
+
* `{}` when `is_mobproxy` is false. On a paid plan or a free key's full answers.
|
|
633
633
|
*/
|
|
634
634
|
mobproxy?: ProxyDetail;
|
|
635
635
|
/**
|
|
636
|
-
* `{}` when `is_pubproxy` is false. On a paid plan or
|
|
636
|
+
* `{}` when `is_pubproxy` is false. On a paid plan or a free key's full answers.
|
|
637
637
|
*/
|
|
638
638
|
pubproxy?: PubproxyDetail;
|
|
639
639
|
/**
|
|
640
|
-
* `{}` when `is_hosting` is false. On a paid plan or
|
|
640
|
+
* `{}` when `is_hosting` is false. On a paid plan or a free key's full answers.
|
|
641
641
|
*/
|
|
642
642
|
hosting?: ClassDetail;
|
|
643
643
|
/**
|
|
644
|
-
* `{}` when `is_cdn` is false. On a paid plan or
|
|
644
|
+
* `{}` when `is_cdn` is false. On a paid plan or a free key's full answers.
|
|
645
645
|
*/
|
|
646
646
|
cdn?: ClassDetail;
|
|
647
647
|
/**
|
|
648
|
-
* `{}` when `is_bot` is false. On a paid plan or
|
|
648
|
+
* `{}` when `is_bot` is false. On a paid plan or a free key's full answers.
|
|
649
649
|
*/
|
|
650
650
|
bot?: BotDetail;
|
|
651
651
|
/**
|
|
652
|
-
* `{}` when `is_carrier` is false. On a paid plan or
|
|
652
|
+
* `{}` when `is_carrier` is false. On a paid plan or a free key's full answers.
|
|
653
653
|
*/
|
|
654
654
|
carrier?: CarrierDetail;
|
|
655
655
|
/**
|
|
656
|
-
* `{}` when `is_satellite` is false. On a paid plan or
|
|
656
|
+
* `{}` when `is_satellite` is false. On a paid plan or a free key's full answers.
|
|
657
657
|
*/
|
|
658
658
|
satellite?: SatelliteDetail;
|
|
659
659
|
/**
|
|
660
|
-
* `{}` when `is_ssh` is false. On a paid plan or
|
|
660
|
+
* `{}` when `is_ssh` is false. On a paid plan or a free key's full answers.
|
|
661
661
|
*/
|
|
662
662
|
ssh?: SshDetail;
|
|
663
663
|
/**
|
|
664
|
-
* `{}` when `is_smtp` is false. On a paid plan or
|
|
664
|
+
* `{}` when `is_smtp` is false. On a paid plan or a free key's full answers.
|
|
665
665
|
*/
|
|
666
666
|
smtp?: SmtpDetail;
|
|
667
667
|
/**
|
|
668
|
-
* A row per port that answered, lowest first; `[]` when `is_web` is false. On a paid plan or
|
|
668
|
+
* A row per port that answered, lowest first; `[]` when `is_web` is false. On a paid plan or a free key's full answers.
|
|
669
669
|
*/
|
|
670
670
|
web?: Array<WebDetail>;
|
|
671
671
|
/**
|
|
672
|
-
* `{}` when `is_dns_resolver` is false. On a paid plan or
|
|
672
|
+
* `{}` when `is_dns_resolver` is false. On a paid plan or a free key's full answers.
|
|
673
673
|
*/
|
|
674
674
|
dns_resolver?: DnsResolverDetail;
|
|
675
675
|
/**
|
|
676
|
-
* `{}` when `is_bittorrent` is false. On a paid plan or
|
|
676
|
+
* `{}` when `is_bittorrent` is false. On a paid plan or a free key's full answers.
|
|
677
677
|
*/
|
|
678
678
|
bittorrent?: BitTorrentDetail;
|
|
679
679
|
location: Location;
|
|
680
680
|
asn: Asn;
|
|
681
|
-
company
|
|
681
|
+
company?: Company;
|
|
682
682
|
/**
|
|
683
683
|
* The name the address's reverse DNS (PTR) record points to in IP RDNS, empty when it has none.
|
|
684
684
|
*/
|
|
685
685
|
hostname: string;
|
|
686
|
-
abuse
|
|
686
|
+
abuse?: AbuseContact;
|
|
687
687
|
whois?: Whois;
|
|
688
688
|
rwhois?: Rwhois;
|
|
689
689
|
hosted_domains?: HostedDomains;
|
|
@@ -692,11 +692,11 @@ export type LookupResponse = {
|
|
|
692
692
|
*/
|
|
693
693
|
user_agent?: UserAgentVerdict;
|
|
694
694
|
/**
|
|
695
|
-
* On every answer to a key on the free plan, and on no other: `false` while its organization's
|
|
695
|
+
* On every answer to a key on the free plan, and on no other: `false` while its organization's lookups of the UTC day answer every field, `true` once those are used up and the answer has the basics.
|
|
696
696
|
*/
|
|
697
697
|
trial_expired?: boolean;
|
|
698
698
|
/**
|
|
699
|
-
* On every answer to a key on a paid plan, and on no other: `false` while the answer has every field, `true` once its organization's overage cap is reached and the answer has
|
|
699
|
+
* On every answer to a key on a paid plan, and on no other: `false` while the answer has every field, `true` once its organization's overage cap is reached and the answer has the basics. Lookups answered past the cap are not billed; raising or removing the cap in Billing turns it `false` again.
|
|
700
700
|
*/
|
|
701
701
|
cap_reached?: boolean;
|
|
702
702
|
};
|
|
@@ -740,7 +740,10 @@ export type ProxyDetail = {
|
|
|
740
740
|
*/
|
|
741
741
|
hits?: number;
|
|
742
742
|
/**
|
|
743
|
-
*
|
|
743
|
+
* The highest share of the window's days, in percent, on which any one proxy pool saw
|
|
744
|
+
* it: an address several pools share reads its busiest pool's share, not the days they
|
|
745
|
+
* saw it on together.
|
|
746
|
+
*
|
|
744
747
|
*/
|
|
745
748
|
hits_days_pct?: number;
|
|
746
749
|
/**
|
|
@@ -1105,43 +1108,43 @@ export type Location = {
|
|
|
1105
1108
|
*/
|
|
1106
1109
|
flag_unicode: string;
|
|
1107
1110
|
/**
|
|
1108
|
-
* Region (state or province). On a paid plan or
|
|
1111
|
+
* Region (state or province). On a paid plan or a free key's full answers.
|
|
1109
1112
|
*/
|
|
1110
1113
|
region?: string;
|
|
1111
1114
|
/**
|
|
1112
|
-
* ISO 3166-2 region code. On a paid plan or
|
|
1115
|
+
* ISO 3166-2 region code. On a paid plan or a free key's full answers.
|
|
1113
1116
|
*/
|
|
1114
1117
|
region_code?: string;
|
|
1115
1118
|
/**
|
|
1116
|
-
* City. On a paid plan or
|
|
1119
|
+
* City. On a paid plan or a free key's full answers.
|
|
1117
1120
|
*/
|
|
1118
1121
|
city?: string;
|
|
1119
1122
|
/**
|
|
1120
|
-
* Postal code. On a paid plan or
|
|
1123
|
+
* Postal code. On a paid plan or a free key's full answers.
|
|
1121
1124
|
*/
|
|
1122
1125
|
postal_code?: string;
|
|
1123
1126
|
/**
|
|
1124
|
-
* Latitude of the city. On a paid plan or
|
|
1127
|
+
* Latitude of the city. On a paid plan or a free key's full answers.
|
|
1125
1128
|
*/
|
|
1126
1129
|
latitude?: number;
|
|
1127
1130
|
/**
|
|
1128
|
-
* Longitude of the city. On a paid plan or
|
|
1131
|
+
* Longitude of the city. On a paid plan or a free key's full answers.
|
|
1129
1132
|
*/
|
|
1130
1133
|
longitude?: number;
|
|
1131
1134
|
/**
|
|
1132
|
-
* Radius in km holding the true location with 67% confidence. On a paid plan or
|
|
1135
|
+
* Radius in km holding the true location with 67% confidence. On a paid plan or a free key's full answers.
|
|
1133
1136
|
*/
|
|
1134
1137
|
accuracy_radius?: number;
|
|
1135
1138
|
/**
|
|
1136
|
-
* GeoNames ID of the city. On a paid plan or
|
|
1139
|
+
* GeoNames ID of the city. On a paid plan or a free key's full answers.
|
|
1137
1140
|
*/
|
|
1138
1141
|
geoname_id?: string;
|
|
1139
1142
|
/**
|
|
1140
|
-
* US TV market (DMA) code. On a paid plan or
|
|
1143
|
+
* US TV market (DMA) code. On a paid plan or a free key's full answers.
|
|
1141
1144
|
*/
|
|
1142
1145
|
dma_code?: string;
|
|
1143
1146
|
/**
|
|
1144
|
-
* The day the range's location last changed. On a paid plan or
|
|
1147
|
+
* The day the range's location last changed. On a paid plan or a free key's full answers.
|
|
1145
1148
|
*/
|
|
1146
1149
|
last_changed?: string;
|
|
1147
1150
|
};
|
|
@@ -1162,7 +1165,7 @@ export type Asn = {
|
|
|
1162
1165
|
*/
|
|
1163
1166
|
domain: string;
|
|
1164
1167
|
/**
|
|
1165
|
-
* The kind of network it runs. On a paid plan or
|
|
1168
|
+
* The kind of network it runs. On a paid plan or a free key's full answers.
|
|
1166
1169
|
*/
|
|
1167
1170
|
type?: string;
|
|
1168
1171
|
/**
|
|
@@ -1183,7 +1186,7 @@ export type Asn = {
|
|
|
1183
1186
|
*/
|
|
1184
1187
|
export type Company = {
|
|
1185
1188
|
/**
|
|
1186
|
-
* Who uses the address.
|
|
1189
|
+
* Who uses the address. On a paid plan or a free key's full answers.
|
|
1187
1190
|
*/
|
|
1188
1191
|
name: string;
|
|
1189
1192
|
/**
|
|
@@ -1191,11 +1194,11 @@ export type Company = {
|
|
|
1191
1194
|
*/
|
|
1192
1195
|
domain: string;
|
|
1193
1196
|
/**
|
|
1194
|
-
* What kind of organization: hosting, isp, business, education, government. On a paid plan or
|
|
1197
|
+
* What kind of organization: hosting, isp, business, education, government. On a paid plan or a free key's full answers.
|
|
1195
1198
|
*/
|
|
1196
1199
|
type?: string;
|
|
1197
1200
|
/**
|
|
1198
|
-
* ISO 3166 country code. On a paid plan or
|
|
1201
|
+
* ISO 3166 country code. On a paid plan or a free key's full answers.
|
|
1199
1202
|
*/
|
|
1200
1203
|
country?: string;
|
|
1201
1204
|
};
|
|
@@ -1204,40 +1207,40 @@ export type Company = {
|
|
|
1204
1207
|
*/
|
|
1205
1208
|
export type AbuseContact = {
|
|
1206
1209
|
/**
|
|
1207
|
-
* Where to report abuse from the address.
|
|
1210
|
+
* Where to report abuse from the address. On a paid plan or a free key's full answers.
|
|
1208
1211
|
*/
|
|
1209
1212
|
email: string;
|
|
1210
1213
|
/**
|
|
1211
|
-
* The contact. On a paid plan or
|
|
1214
|
+
* The contact. On a paid plan or a free key's full answers.
|
|
1212
1215
|
*/
|
|
1213
1216
|
name?: string;
|
|
1214
1217
|
/**
|
|
1215
|
-
* Its phone number. On a paid plan or
|
|
1218
|
+
* Its phone number. On a paid plan or a free key's full answers.
|
|
1216
1219
|
*/
|
|
1217
1220
|
phone?: string;
|
|
1218
1221
|
/**
|
|
1219
|
-
* Its postal address. On a paid plan or
|
|
1222
|
+
* Its postal address. On a paid plan or a free key's full answers.
|
|
1220
1223
|
*/
|
|
1221
1224
|
address?: string;
|
|
1222
1225
|
/**
|
|
1223
|
-
* ISO 3166 country code. On a paid plan or
|
|
1226
|
+
* ISO 3166 country code. On a paid plan or a free key's full answers.
|
|
1224
1227
|
*/
|
|
1225
1228
|
country?: string;
|
|
1226
1229
|
/**
|
|
1227
|
-
* The registry block it was derived from. On a paid plan or
|
|
1230
|
+
* The registry block it was derived from. On a paid plan or a free key's full answers.
|
|
1228
1231
|
*/
|
|
1229
1232
|
network?: string;
|
|
1230
1233
|
/**
|
|
1231
|
-
* ARIN reports the contact answered its yearly validation. On a paid plan or
|
|
1234
|
+
* ARIN reports the contact answered its yearly validation. On a paid plan or a free key's full answers.
|
|
1232
1235
|
*/
|
|
1233
1236
|
validated?: boolean;
|
|
1234
1237
|
/**
|
|
1235
|
-
* Since when it has not. On a paid plan or
|
|
1238
|
+
* Since when it has not. On a paid plan or a free key's full answers.
|
|
1236
1239
|
*/
|
|
1237
1240
|
unvalidated_since?: string;
|
|
1238
1241
|
};
|
|
1239
1242
|
/**
|
|
1240
|
-
* IP Whois's most specific record covering the address. On a paid plan or
|
|
1243
|
+
* IP Whois's most specific record covering the address. On a paid plan or a free key's full answers.
|
|
1241
1244
|
*/
|
|
1242
1245
|
export type Whois = {
|
|
1243
1246
|
/**
|
|
@@ -1278,7 +1281,7 @@ export type Whois = {
|
|
|
1278
1281
|
asn: number;
|
|
1279
1282
|
};
|
|
1280
1283
|
/**
|
|
1281
|
-
* IP RWHOIS's most specific network covering the address. On a paid plan or
|
|
1284
|
+
* IP RWHOIS's most specific network covering the address. On a paid plan or a free key's full answers.
|
|
1282
1285
|
*/
|
|
1283
1286
|
export type Rwhois = {
|
|
1284
1287
|
/**
|
|
@@ -1307,7 +1310,7 @@ export type Rwhois = {
|
|
|
1307
1310
|
abuse_email: string;
|
|
1308
1311
|
};
|
|
1309
1312
|
/**
|
|
1310
|
-
* From IP Hosted Domains: how many registered domains resolve to the address, and the 10 most popular. Its database lists up to 1,000 an address. On a paid plan or
|
|
1313
|
+
* From IP Hosted Domains: how many registered domains resolve to the address, and the 10 most popular. Its database lists up to 1,000 an address. On a paid plan or a free key's full answers.
|
|
1311
1314
|
*/
|
|
1312
1315
|
export type HostedDomains = {
|
|
1313
1316
|
/**
|
|
@@ -1320,7 +1323,7 @@ export type HostedDomains = {
|
|
|
1320
1323
|
domains?: Array<string>;
|
|
1321
1324
|
};
|
|
1322
1325
|
/**
|
|
1323
|
-
* From ASN Hosted Domains: how many registered domains the AS hosts, and the 10 most popular. Its database lists up to 1,000 an AS. On a paid plan or
|
|
1326
|
+
* From ASN Hosted Domains: how many registered domains the AS hosts, and the 10 most popular. Its database lists up to 1,000 an AS. On a paid plan or a free key's full answers.
|
|
1324
1327
|
*/
|
|
1325
1328
|
export type AsnHostedDomains = {
|
|
1326
1329
|
/**
|
|
@@ -1361,82 +1364,82 @@ export type AsnLookupResponse = {
|
|
|
1361
1364
|
*/
|
|
1362
1365
|
domain: string;
|
|
1363
1366
|
/**
|
|
1364
|
-
* The kind of network it runs. On a paid plan or
|
|
1367
|
+
* The kind of network it runs. On a paid plan or a free key's full answers.
|
|
1365
1368
|
*/
|
|
1366
1369
|
type?: string;
|
|
1367
1370
|
/**
|
|
1368
|
-
* IPv4 addresses it announces. On a paid plan or
|
|
1371
|
+
* IPv4 addresses it announces. On a paid plan or a free key's full answers.
|
|
1369
1372
|
*/
|
|
1370
1373
|
num_ips?: number;
|
|
1371
1374
|
/**
|
|
1372
|
-
* IPv4 prefixes it announces. On a paid plan or
|
|
1375
|
+
* IPv4 prefixes it announces. On a paid plan or a free key's full answers.
|
|
1373
1376
|
*/
|
|
1374
1377
|
num_prefixes4?: number;
|
|
1375
1378
|
/**
|
|
1376
|
-
* IPv6 prefixes it announces. On a paid plan or
|
|
1379
|
+
* IPv6 prefixes it announces. On a paid plan or a free key's full answers.
|
|
1377
1380
|
*/
|
|
1378
1381
|
num_prefixes6?: number;
|
|
1379
1382
|
/**
|
|
1380
|
-
* Its announcements RPKI calls valid. On a paid plan or
|
|
1383
|
+
* Its announcements RPKI calls valid. On a paid plan or a free key's full answers.
|
|
1381
1384
|
*/
|
|
1382
1385
|
rpki_valid?: number;
|
|
1383
1386
|
/**
|
|
1384
|
-
* Invalid. On a paid plan or
|
|
1387
|
+
* Invalid. On a paid plan or a free key's full answers.
|
|
1385
1388
|
*/
|
|
1386
1389
|
rpki_invalid?: number;
|
|
1387
1390
|
/**
|
|
1388
|
-
* With no RPKI record. On a paid plan or
|
|
1391
|
+
* With no RPKI record. On a paid plan or a free key's full answers.
|
|
1389
1392
|
*/
|
|
1390
1393
|
rpki_not_found?: number;
|
|
1391
1394
|
/**
|
|
1392
|
-
* Its ASN Whois record, every column, empty where the registry states nothing. On a paid plan or
|
|
1395
|
+
* Its ASN Whois record, every column, empty where the registry states nothing. On a paid plan or a free key's full answers.
|
|
1393
1396
|
*/
|
|
1394
1397
|
whois?: {
|
|
1395
1398
|
[key: string]: string;
|
|
1396
1399
|
};
|
|
1397
1400
|
/**
|
|
1398
|
-
* What it announces, IPv4 then IPv6, up to 20000 a family. On a paid plan or
|
|
1401
|
+
* What it announces, IPv4 then IPv6, up to 20000 a family. On a paid plan or a free key's full answers.
|
|
1399
1402
|
*/
|
|
1400
1403
|
prefixes?: Array<AsnPrefix>;
|
|
1401
1404
|
/**
|
|
1402
|
-
* Its rank in ASN Extended, by customer cone, 1 the largest; `0` for an AS seen in no AS path. On a paid plan or
|
|
1405
|
+
* Its rank in ASN Extended, by customer cone, 1 the largest; `0` for an AS seen in no AS path. On a paid plan or a free key's full answers.
|
|
1403
1406
|
*/
|
|
1404
1407
|
rank?: number;
|
|
1405
1408
|
/**
|
|
1406
|
-
* Whether it is one of the transit-free networks at the top of the hierarchy, which get transit from no one and peer with each other. On a paid plan or
|
|
1409
|
+
* Whether it is one of the transit-free networks at the top of the hierarchy, which get transit from no one and peer with each other. On a paid plan or a free key's full answers.
|
|
1407
1410
|
*/
|
|
1408
1411
|
tier1?: boolean;
|
|
1409
1412
|
/**
|
|
1410
|
-
* How many AS numbers it gets transit from. On a paid plan or
|
|
1413
|
+
* How many AS numbers it gets transit from. On a paid plan or a free key's full answers.
|
|
1411
1414
|
*/
|
|
1412
1415
|
num_upstreams?: number;
|
|
1413
1416
|
/**
|
|
1414
|
-
* Those AS numbers, ascending, up to 20000. On a paid plan or
|
|
1417
|
+
* Those AS numbers, ascending, up to 20000. On a paid plan or a free key's full answers.
|
|
1415
1418
|
*/
|
|
1416
1419
|
upstreams?: Array<number>;
|
|
1417
1420
|
/**
|
|
1418
|
-
* How many AS numbers it exchanges its own and its customers' routes with. On a paid plan or
|
|
1421
|
+
* How many AS numbers it exchanges its own and its customers' routes with. On a paid plan or a free key's full answers.
|
|
1419
1422
|
*/
|
|
1420
1423
|
num_peers?: number;
|
|
1421
1424
|
/**
|
|
1422
|
-
* Those AS numbers, ascending, up to 20000. On a paid plan or
|
|
1425
|
+
* Those AS numbers, ascending, up to 20000. On a paid plan or a free key's full answers.
|
|
1423
1426
|
*/
|
|
1424
1427
|
peers?: Array<number>;
|
|
1425
1428
|
/**
|
|
1426
|
-
* How many AS numbers it provides transit to. On a paid plan or
|
|
1429
|
+
* How many AS numbers it provides transit to. On a paid plan or a free key's full answers.
|
|
1427
1430
|
*/
|
|
1428
1431
|
num_downstreams?: number;
|
|
1429
1432
|
/**
|
|
1430
|
-
* Those AS numbers, ascending, up to 20000. On a paid plan or
|
|
1433
|
+
* Those AS numbers, ascending, up to 20000. On a paid plan or a free key's full answers.
|
|
1431
1434
|
*/
|
|
1432
1435
|
downstreams?: Array<number>;
|
|
1433
1436
|
hosted_domains?: AsnHostedDomains;
|
|
1434
1437
|
/**
|
|
1435
|
-
* On every answer to a key on the free plan, and on no other: `false` while its organization's
|
|
1438
|
+
* On every answer to a key on the free plan, and on no other: `false` while its organization's lookups of the UTC day answer every field, `true` once those are used up and the answer has the basics.
|
|
1436
1439
|
*/
|
|
1437
1440
|
trial_expired?: boolean;
|
|
1438
1441
|
/**
|
|
1439
|
-
* On every answer to a key on a paid plan, and on no other: `false` while the answer has every field, `true` once its organization's overage cap is reached and the answer has
|
|
1442
|
+
* On every answer to a key on a paid plan, and on no other: `false` while the answer has every field, `true` once its organization's overage cap is reached and the answer has the basics. Lookups answered past the cap are not billed; raising or removing the cap in Billing turns it `false` again.
|
|
1440
1443
|
*/
|
|
1441
1444
|
cap_reached?: boolean;
|
|
1442
1445
|
};
|
|
@@ -1483,7 +1486,7 @@ export type DomainLookupResponse = {
|
|
|
1483
1486
|
*/
|
|
1484
1487
|
is_registered: boolean;
|
|
1485
1488
|
/**
|
|
1486
|
-
* In Disposable Domain. On a paid plan or
|
|
1489
|
+
* In Disposable Domain. On a paid plan or a free key's full answers.
|
|
1487
1490
|
*/
|
|
1488
1491
|
is_disposable?: boolean;
|
|
1489
1492
|
/**
|
|
@@ -1508,24 +1511,24 @@ export type DomainLookupResponse = {
|
|
|
1508
1511
|
has_cname: boolean;
|
|
1509
1512
|
dns?: DomainDns;
|
|
1510
1513
|
/**
|
|
1511
|
-
* The network announcing each address in `dns.a` and then `dns.aaaa`, from IP ASN; `[]` where it resolves to none. On a paid plan or
|
|
1514
|
+
* The network announcing each address in `dns.a` and then `dns.aaaa`, from IP ASN; `[]` where it resolves to none. On a paid plan or a free key's full answers.
|
|
1512
1515
|
*/
|
|
1513
1516
|
hosting?: Array<DomainHost>;
|
|
1514
1517
|
cohosted_domains?: CohostedDomains;
|
|
1515
1518
|
ip_ranges?: DomainIpRanges;
|
|
1516
1519
|
/**
|
|
1517
|
-
* `{}` when `is_disposable` is false. On a paid plan or
|
|
1520
|
+
* `{}` when `is_disposable` is false. On a paid plan or a free key's full answers.
|
|
1518
1521
|
*/
|
|
1519
1522
|
disposable?: DisposableDetail;
|
|
1520
1523
|
web?: DomainWeb;
|
|
1521
1524
|
redirects?: DomainRedirects;
|
|
1522
1525
|
backlinks?: DomainBacklinks;
|
|
1523
1526
|
/**
|
|
1524
|
-
* On every answer to a key on the free plan, and on no other: `false` while its organization's
|
|
1527
|
+
* On every answer to a key on the free plan, and on no other: `false` while its organization's lookups of the UTC day answer every field, `true` once those are used up and the answer has the basics.
|
|
1525
1528
|
*/
|
|
1526
1529
|
trial_expired?: boolean;
|
|
1527
1530
|
/**
|
|
1528
|
-
* On every answer to a key on a paid plan, and on no other: `false` while the answer has every field, `true` once its organization's overage cap is reached and the answer has
|
|
1531
|
+
* On every answer to a key on a paid plan, and on no other: `false` while the answer has every field, `true` once its organization's overage cap is reached and the answer has the basics. Lookups answered past the cap are not billed; raising or removing the cap in Billing turns it `false` again.
|
|
1529
1532
|
*/
|
|
1530
1533
|
cap_reached?: boolean;
|
|
1531
1534
|
};
|
|
@@ -1543,7 +1546,7 @@ export type DomainHost = {
|
|
|
1543
1546
|
asn: Asn;
|
|
1544
1547
|
};
|
|
1545
1548
|
/**
|
|
1546
|
-
* From IP Hosted Domains: the other registered domains on the domain's first IPv4 address, how many and the 10 most popular. On a paid plan or
|
|
1549
|
+
* From IP Hosted Domains: the other registered domains on the domain's first IPv4 address, how many and the 10 most popular. On a paid plan or a free key's full answers.
|
|
1547
1550
|
*/
|
|
1548
1551
|
export type CohostedDomains = {
|
|
1549
1552
|
/**
|
|
@@ -1560,7 +1563,7 @@ export type CohostedDomains = {
|
|
|
1560
1563
|
domains: Array<string>;
|
|
1561
1564
|
};
|
|
1562
1565
|
/**
|
|
1563
|
-
* What our crawl last read of the domain's own home page, every member empty where it holds none. On a paid plan or
|
|
1566
|
+
* What our crawl last read of the domain's own home page, every member empty where it holds none. On a paid plan or a free key's full answers.
|
|
1564
1567
|
*/
|
|
1565
1568
|
export type DomainWeb = {
|
|
1566
1569
|
/**
|
|
@@ -1595,7 +1598,7 @@ export type DomainWebLinks = {
|
|
|
1595
1598
|
hosts: Array<string>;
|
|
1596
1599
|
};
|
|
1597
1600
|
/**
|
|
1598
|
-
* The registered domains whose home page redirects to this one, how many and the 10 most popular. On a paid plan or
|
|
1601
|
+
* The registered domains whose home page redirects to this one, how many and the 10 most popular. On a paid plan or a free key's full answers.
|
|
1599
1602
|
*/
|
|
1600
1603
|
export type DomainRedirects = {
|
|
1601
1604
|
/**
|
|
@@ -1608,7 +1611,7 @@ export type DomainRedirects = {
|
|
|
1608
1611
|
domains: Array<string>;
|
|
1609
1612
|
};
|
|
1610
1613
|
/**
|
|
1611
|
-
* The registered domains whose home page links to this one, how many and the 10 most popular. On a paid plan or
|
|
1614
|
+
* The registered domains whose home page links to this one, how many and the 10 most popular. On a paid plan or a free key's full answers.
|
|
1612
1615
|
*/
|
|
1613
1616
|
export type DomainBacklinks = {
|
|
1614
1617
|
/**
|
|
@@ -1621,7 +1624,7 @@ export type DomainBacklinks = {
|
|
|
1621
1624
|
domains: Array<string>;
|
|
1622
1625
|
};
|
|
1623
1626
|
/**
|
|
1624
|
-
* Its records in Domain DNS, up to 100 a type. On a paid plan or
|
|
1627
|
+
* Its records in Domain DNS, up to 100 a type. On a paid plan or a free key's full answers.
|
|
1625
1628
|
*/
|
|
1626
1629
|
export type DomainDns = {
|
|
1627
1630
|
a: Array<DnsAddressRecord>;
|
|
@@ -1675,7 +1678,7 @@ export type DnsCnameRecord = {
|
|
|
1675
1678
|
last_seen: string;
|
|
1676
1679
|
};
|
|
1677
1680
|
/**
|
|
1678
|
-
* The organization's IP ranges, from Domain IP Ranges. On a paid plan or
|
|
1681
|
+
* The organization's IP ranges, from Domain IP Ranges. On a paid plan or a free key's full answers.
|
|
1679
1682
|
*/
|
|
1680
1683
|
export type DomainIpRanges = {
|
|
1681
1684
|
/**
|
|
@@ -1815,14 +1818,14 @@ export type EntitlementPlan = {
|
|
|
1815
1818
|
/**
|
|
1816
1819
|
* The plan the organization is on, as an identifier that is never
|
|
1817
1820
|
* renamed or reused: `free` for the free plan, or a paid plan's key.
|
|
1818
|
-
* Compare against it and show `name`. On `free`, usage counts
|
|
1819
|
-
*
|
|
1820
|
-
* per quota
|
|
1821
|
+
* Compare against it and show `name`. On `free`, usage counts the UTC
|
|
1822
|
+
* day's lookups answered with every field. The Data plan is a key
|
|
1823
|
+
* per quota (`data_1`, `data_2` and on), each named Data.
|
|
1821
1824
|
*
|
|
1822
1825
|
*/
|
|
1823
1826
|
key: string;
|
|
1824
1827
|
/**
|
|
1825
|
-
* The plan's name, as the site and console show it: `
|
|
1828
|
+
* The plan's name, as the site and console show it: `Free` for
|
|
1826
1829
|
* the free plan. Show this rather than a name built from `key`: a
|
|
1827
1830
|
* plan's name can change, and its key never does.
|
|
1828
1831
|
*
|
|
@@ -1851,7 +1854,7 @@ export type EntitlementUsage = {
|
|
|
1851
1854
|
quota: number;
|
|
1852
1855
|
/**
|
|
1853
1856
|
* Where full answers stop: past it, a paid key is answered with
|
|
1854
|
-
*
|
|
1857
|
+
* the basics and `cap_reached: true`, uncharged, until the
|
|
1855
1858
|
* window ends or the cap is raised. `null` means never, which is the
|
|
1856
1859
|
* normal state of an uncapped paid plan and is not the same as zero.
|
|
1857
1860
|
* Above the quota and below this, requests are served and billed as
|
|
@@ -1860,14 +1863,14 @@ export type EntitlementUsage = {
|
|
|
1860
1863
|
*/
|
|
1861
1864
|
hard_limit: number | null;
|
|
1862
1865
|
/**
|
|
1863
|
-
* When the current allowance period began. On the free plan,
|
|
1864
|
-
*
|
|
1866
|
+
* When the current allowance period began. On the free plan, the
|
|
1867
|
+
* start of the UTC day.
|
|
1865
1868
|
*
|
|
1866
1869
|
*/
|
|
1867
1870
|
window_start: string;
|
|
1868
1871
|
/**
|
|
1869
|
-
* When the allowance next resets. On the free plan,
|
|
1870
|
-
*
|
|
1872
|
+
* When the allowance next resets. On the free plan, the start of the
|
|
1873
|
+
* next UTC day.
|
|
1871
1874
|
*
|
|
1872
1875
|
*/
|
|
1873
1876
|
window_end: string;
|
|
@@ -2699,7 +2702,7 @@ export type LookupIpData = {
|
|
|
2699
2702
|
};
|
|
2700
2703
|
query?: {
|
|
2701
2704
|
/**
|
|
2702
|
-
* The `User-Agent` header of the request you are deciding on. With every field, on a paid plan or
|
|
2705
|
+
* The `User-Agent` header of the request you are deciding on. With every field, on a paid plan or a free key's full answers, the answer then carries `user_agent`, the agent it names and whether this address bears that out. Never kept, and nothing sent with a lookup feeds our data.
|
|
2703
2706
|
*/
|
|
2704
2707
|
user_agent?: string;
|
|
2705
2708
|
};
|
|
@@ -2721,9 +2724,10 @@ export type LookupIpErrors = {
|
|
|
2721
2724
|
*/
|
|
2722
2725
|
403: LookupError;
|
|
2723
2726
|
/**
|
|
2724
|
-
* A rate limit
|
|
2725
|
-
*
|
|
2726
|
-
*
|
|
2727
|
+
* A rate limit with `Retry-After`: this API protecting itself, or a burst of free lookups. Without
|
|
2728
|
+
* it, a lookup with no key past its address's daily allowance, which a free API key answers past.
|
|
2729
|
+
* A paid plan's overage cap is never a `429` by itself: it answers `200` with the basics and
|
|
2730
|
+
* `cap_reached` `true`, and a burst past it pays the free plan's rate limit.
|
|
2727
2731
|
*
|
|
2728
2732
|
*/
|
|
2729
2733
|
429: LookupError;
|
|
@@ -2745,7 +2749,7 @@ export type LookupMyIpData = {
|
|
|
2745
2749
|
path?: never;
|
|
2746
2750
|
query?: {
|
|
2747
2751
|
/**
|
|
2748
|
-
* The `User-Agent` header of the request you are deciding on. With every field, on a paid plan or
|
|
2752
|
+
* The `User-Agent` header of the request you are deciding on. With every field, on a paid plan or a free key's full answers, the answer then carries `user_agent`, the agent it names and whether this address bears that out. Never kept, and nothing sent with a lookup feeds our data.
|
|
2749
2753
|
*/
|
|
2750
2754
|
user_agent?: string;
|
|
2751
2755
|
};
|
|
@@ -2763,9 +2767,10 @@ export type LookupMyIpErrors = {
|
|
|
2763
2767
|
*/
|
|
2764
2768
|
403: LookupError;
|
|
2765
2769
|
/**
|
|
2766
|
-
* A rate limit
|
|
2767
|
-
*
|
|
2768
|
-
*
|
|
2770
|
+
* A rate limit with `Retry-After`: this API protecting itself, or a burst of free lookups. Without
|
|
2771
|
+
* it, a lookup with no key past its address's daily allowance, which a free API key answers past.
|
|
2772
|
+
* A paid plan's overage cap is never a `429` by itself: it answers `200` with the basics and
|
|
2773
|
+
* `cap_reached` `true`, and a burst past it pays the free plan's rate limit.
|
|
2769
2774
|
*
|
|
2770
2775
|
*/
|
|
2771
2776
|
429: LookupError;
|
|
@@ -2809,9 +2814,10 @@ export type LookupAsnErrors = {
|
|
|
2809
2814
|
*/
|
|
2810
2815
|
403: LookupError;
|
|
2811
2816
|
/**
|
|
2812
|
-
* A rate limit
|
|
2813
|
-
*
|
|
2814
|
-
*
|
|
2817
|
+
* A rate limit with `Retry-After`: this API protecting itself, or a burst of free lookups. Without
|
|
2818
|
+
* it, a lookup with no key past its address's daily allowance, which a free API key answers past.
|
|
2819
|
+
* A paid plan's overage cap is never a `429` by itself: it answers `200` with the basics and
|
|
2820
|
+
* `cap_reached` `true`, and a burst past it pays the free plan's rate limit.
|
|
2815
2821
|
*
|
|
2816
2822
|
*/
|
|
2817
2823
|
429: LookupError;
|
|
@@ -2855,9 +2861,10 @@ export type LookupDomainErrors = {
|
|
|
2855
2861
|
*/
|
|
2856
2862
|
403: LookupError;
|
|
2857
2863
|
/**
|
|
2858
|
-
* A rate limit
|
|
2859
|
-
*
|
|
2860
|
-
*
|
|
2864
|
+
* A rate limit with `Retry-After`: this API protecting itself, or a burst of free lookups. Without
|
|
2865
|
+
* it, a lookup with no key past its address's daily allowance, which a free API key answers past.
|
|
2866
|
+
* A paid plan's overage cap is never a `429` by itself: it answers `200` with the basics and
|
|
2867
|
+
* `cap_reached` `true`, and a burst past it pays the free plan's rate limit.
|
|
2861
2868
|
*
|
|
2862
2869
|
*/
|
|
2863
2870
|
429: LookupError;
|
|
@@ -2904,7 +2911,9 @@ export type LookupBatchErrors = {
|
|
|
2904
2911
|
*/
|
|
2905
2912
|
413: LookupError;
|
|
2906
2913
|
/**
|
|
2907
|
-
* A rate limit; retry after `Retry-After`.
|
|
2914
|
+
* A rate limit refused the whole call; retry after `Retry-After`. Without it, a batch of one item
|
|
2915
|
+
* with no key is past its address's daily allowance, which a free API key answers past.
|
|
2916
|
+
*
|
|
2908
2917
|
*/
|
|
2909
2918
|
429: LookupError;
|
|
2910
2919
|
};
|
|
@@ -2945,7 +2954,12 @@ export type MyEntitlementErrors = {
|
|
|
2945
2954
|
export type MyEntitlementError = MyEntitlementErrors[keyof MyEntitlementErrors];
|
|
2946
2955
|
export type MyEntitlementResponses = {
|
|
2947
2956
|
/**
|
|
2948
|
-
* The key's entitlements and consumption.
|
|
2957
|
+
* The key's entitlements and consumption. On the free plan, Free,
|
|
2958
|
+
* usage is the UTC day's lookups answered with every field, against
|
|
2959
|
+
* its daily limit, and no hard limit, since nothing stops a lookup past
|
|
2960
|
+
* it: the basics have no cap. The daily limit is on the pricing
|
|
2961
|
+
* page, never fixed here.
|
|
2962
|
+
*
|
|
2949
2963
|
*/
|
|
2950
2964
|
200: Entitlement;
|
|
2951
2965
|
};
|