vpndetection-fastapi 2.1.25__tar.gz → 2.1.26__tar.gz

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.
@@ -2,6 +2,12 @@
2
2
 
3
3
  What each release changed for you, newest first. Each line is a commit's summary, linked to its full description and diff. Releases before 2.0.5 are described by their release commits.
4
4
 
5
+ ## 2.1.26 - 2026-11-18
6
+
7
+ ### Fixes
8
+
9
+ - Require vpndetection 5.18.0: cap_reached past a paid plan's overage cap ([`66d91f9`](https://github.com/vpndetection-io/sdk-python-fastapi/commit/66d91f9003bd1904aa445be8791b60fb38c7b528))
10
+
5
11
  ## 2.1.25 - 2026-11-17
6
12
 
7
13
  ### Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: vpndetection-fastapi
3
- Version: 2.1.25
3
+ Version: 2.1.26
4
4
  Summary: Official FastAPI and Starlette middleware for the VPNDetection API. Detect VPNs, proxies, Tor, hosting and CDN visitors on every request.
5
5
  Project-URL: Homepage, https://vpndetection.io
6
6
  Project-URL: Source, https://github.com/vpndetection-io/sdk-python-fastapi
@@ -20,7 +20,7 @@ Classifier: Topic :: Security
20
20
  Classifier: Typing :: Typed
21
21
  Requires-Python: >=3.11
22
22
  Requires-Dist: starlette>=0.37
23
- Requires-Dist: vpndetection<6,>=5.17.0
23
+ Requires-Dist: vpndetection<6,>=5.18.0
24
24
  Provides-Extra: dev
25
25
  Requires-Dist: fastapi>=0.115; extra == 'dev'
26
26
  Requires-Dist: mypy>=1.11; extra == 'dev'
@@ -24,7 +24,7 @@ classifiers = [
24
24
  "Topic :: Security",
25
25
  "Typing :: Typed",
26
26
  ]
27
- dependencies = ["vpndetection>=5.17.0,<6", "starlette>=0.37"]
27
+ dependencies = ["vpndetection>=5.18.0,<6", "starlette>=0.37"]
28
28
 
29
29
  [project.urls]
30
30
  Homepage = "https://vpndetection.io"
@@ -45,7 +45,7 @@ __all__ = [
45
45
  "xff_ip_selector",
46
46
  ]
47
47
 
48
- __version__ = "2.1.25"
48
+ __version__ = "2.1.26"
49
49
 
50
50
  # Set on a request ``skip`` claimed, so block_if can tell it from one the middleware
51
51
  # never saw.
@@ -249,6 +249,1141 @@
249
249
  "ip": "192.0.3.0",
250
250
  "expect": false,
251
251
  "why": "first address past 192.0.2.0/24; a mask one bit too wide claims it"
252
+ },
253
+ {
254
+ "ip": "0.255.255.255",
255
+ "expect": true,
256
+ "why": "last address of 0.0.0.0/8"
257
+ },
258
+ {
259
+ "ip": "1.0.0.0",
260
+ "expect": false,
261
+ "why": "just above 0.0.0.0/8"
262
+ },
263
+ {
264
+ "ip": "10.0.0.0",
265
+ "expect": true,
266
+ "why": "first address of 10.0.0.0/8"
267
+ },
268
+ {
269
+ "ip": "9.255.255.255",
270
+ "expect": false,
271
+ "why": "just below 10.0.0.0/8"
272
+ },
273
+ {
274
+ "ip": "100.64.0.0",
275
+ "expect": true,
276
+ "why": "first address of 100.64.0.0/10"
277
+ },
278
+ {
279
+ "ip": "100.63.255.255",
280
+ "expect": false,
281
+ "why": "just below 100.64.0.0/10"
282
+ },
283
+ {
284
+ "ip": "127.0.0.0",
285
+ "expect": true,
286
+ "why": "first address of 127.0.0.0/8"
287
+ },
288
+ {
289
+ "ip": "127.255.255.255",
290
+ "expect": true,
291
+ "why": "last address of 127.0.0.0/8"
292
+ },
293
+ {
294
+ "ip": "126.255.255.255",
295
+ "expect": false,
296
+ "why": "just below 127.0.0.0/8"
297
+ },
298
+ {
299
+ "ip": "128.0.0.0",
300
+ "expect": false,
301
+ "why": "just above 127.0.0.0/8"
302
+ },
303
+ {
304
+ "ip": "169.254.0.0",
305
+ "expect": true,
306
+ "why": "first address of 169.254.0.0/16"
307
+ },
308
+ {
309
+ "ip": "169.254.255.255",
310
+ "expect": true,
311
+ "why": "last address of 169.254.0.0/16"
312
+ },
313
+ {
314
+ "ip": "169.253.255.255",
315
+ "expect": false,
316
+ "why": "just below 169.254.0.0/16"
317
+ },
318
+ {
319
+ "ip": "169.255.0.0",
320
+ "expect": false,
321
+ "why": "just above 169.254.0.0/16"
322
+ },
323
+ {
324
+ "ip": "172.16.0.0",
325
+ "expect": true,
326
+ "why": "first address of 172.16.0.0/12"
327
+ },
328
+ {
329
+ "ip": "172.15.255.255",
330
+ "expect": false,
331
+ "why": "just below 172.16.0.0/12"
332
+ },
333
+ {
334
+ "ip": "192.0.0.0",
335
+ "expect": true,
336
+ "why": "first address of 192.0.0.0/24"
337
+ },
338
+ {
339
+ "ip": "192.0.0.255",
340
+ "expect": true,
341
+ "why": "last address of 192.0.0.0/24"
342
+ },
343
+ {
344
+ "ip": "191.255.255.255",
345
+ "expect": false,
346
+ "why": "just below 192.0.0.0/24"
347
+ },
348
+ {
349
+ "ip": "192.0.1.0",
350
+ "expect": false,
351
+ "why": "just above 192.0.0.0/24"
352
+ },
353
+ {
354
+ "ip": "192.0.2.0",
355
+ "expect": true,
356
+ "why": "first address of 192.0.2.0/24"
357
+ },
358
+ {
359
+ "ip": "192.0.1.255",
360
+ "expect": false,
361
+ "why": "just below 192.0.2.0/24"
362
+ },
363
+ {
364
+ "ip": "192.88.99.2",
365
+ "expect": true,
366
+ "why": "first address of 192.88.99.2/32"
367
+ },
368
+ {
369
+ "ip": "192.88.99.1",
370
+ "expect": false,
371
+ "why": "just below 192.88.99.2/32"
372
+ },
373
+ {
374
+ "ip": "192.88.99.3",
375
+ "expect": false,
376
+ "why": "just above 192.88.99.2/32"
377
+ },
378
+ {
379
+ "ip": "192.168.0.0",
380
+ "expect": true,
381
+ "why": "first address of 192.168.0.0/16"
382
+ },
383
+ {
384
+ "ip": "192.168.255.255",
385
+ "expect": true,
386
+ "why": "last address of 192.168.0.0/16"
387
+ },
388
+ {
389
+ "ip": "192.167.255.255",
390
+ "expect": false,
391
+ "why": "just below 192.168.0.0/16"
392
+ },
393
+ {
394
+ "ip": "192.169.0.0",
395
+ "expect": false,
396
+ "why": "just above 192.168.0.0/16"
397
+ },
398
+ {
399
+ "ip": "198.18.0.0",
400
+ "expect": true,
401
+ "why": "first address of 198.18.0.0/15"
402
+ },
403
+ {
404
+ "ip": "198.17.255.255",
405
+ "expect": false,
406
+ "why": "just below 198.18.0.0/15"
407
+ },
408
+ {
409
+ "ip": "198.51.100.0",
410
+ "expect": true,
411
+ "why": "first address of 198.51.100.0/24"
412
+ },
413
+ {
414
+ "ip": "198.51.100.255",
415
+ "expect": true,
416
+ "why": "last address of 198.51.100.0/24"
417
+ },
418
+ {
419
+ "ip": "198.51.99.255",
420
+ "expect": false,
421
+ "why": "just below 198.51.100.0/24"
422
+ },
423
+ {
424
+ "ip": "198.51.101.0",
425
+ "expect": false,
426
+ "why": "just above 198.51.100.0/24"
427
+ },
428
+ {
429
+ "ip": "203.0.113.0",
430
+ "expect": true,
431
+ "why": "first address of 203.0.113.0/24"
432
+ },
433
+ {
434
+ "ip": "203.0.113.255",
435
+ "expect": true,
436
+ "why": "last address of 203.0.113.0/24"
437
+ },
438
+ {
439
+ "ip": "203.0.112.255",
440
+ "expect": false,
441
+ "why": "just below 203.0.113.0/24"
442
+ },
443
+ {
444
+ "ip": "203.0.114.0",
445
+ "expect": false,
446
+ "why": "just above 203.0.113.0/24"
447
+ },
448
+ {
449
+ "ip": "224.0.0.0",
450
+ "expect": true,
451
+ "why": "first address of 224.0.0.0/4"
452
+ },
453
+ {
454
+ "ip": "239.255.255.255",
455
+ "expect": true,
456
+ "why": "last address of 224.0.0.0/4"
457
+ },
458
+ {
459
+ "ip": "223.255.255.255",
460
+ "expect": false,
461
+ "why": "just below 224.0.0.0/4"
462
+ },
463
+ {
464
+ "ip": "240.0.0.0",
465
+ "expect": true,
466
+ "why": "just above 224.0.0.0/4"
467
+ },
468
+ {
469
+ "ip": "255.255.255.254",
470
+ "expect": true,
471
+ "why": "just below 255.255.255.255/32"
472
+ },
473
+ {
474
+ "ip": "::",
475
+ "expect": true,
476
+ "why": "first address of ::/128"
477
+ },
478
+ {
479
+ "ip": "::2",
480
+ "expect": true,
481
+ "why": "just above ::1/128"
482
+ },
483
+ {
484
+ "ip": "::fffe:ffff:ffff",
485
+ "expect": true,
486
+ "why": "just below ::ffff:0:0/96"
487
+ },
488
+ {
489
+ "ip": "::1:0:0:0",
490
+ "expect": true,
491
+ "why": "just above ::ffff:0:0/96"
492
+ },
493
+ {
494
+ "ip": "::ffff:ffff",
495
+ "expect": true,
496
+ "why": "last address of ::/96"
497
+ },
498
+ {
499
+ "ip": "::1:0:0",
500
+ "expect": true,
501
+ "why": "just above ::/96"
502
+ },
503
+ {
504
+ "ip": "64:ff9b::",
505
+ "expect": true,
506
+ "why": "first address of 64:ff9b::/96"
507
+ },
508
+ {
509
+ "ip": "64:ff9b::ffff:ffff",
510
+ "expect": true,
511
+ "why": "last address of 64:ff9b::/96"
512
+ },
513
+ {
514
+ "ip": "64:ff9a:ffff:ffff:ffff:ffff:ffff:ffff",
515
+ "expect": true,
516
+ "why": "just below 64:ff9b::/96"
517
+ },
518
+ {
519
+ "ip": "64:ff9b::1:0:0",
520
+ "expect": true,
521
+ "why": "just above 64:ff9b::/96"
522
+ },
523
+ {
524
+ "ip": "64:ff9b:1::",
525
+ "expect": true,
526
+ "why": "first address of 64:ff9b:1::/48"
527
+ },
528
+ {
529
+ "ip": "64:ff9b:1:ffff:ffff:ffff:ffff:ffff",
530
+ "expect": true,
531
+ "why": "last address of 64:ff9b:1::/48"
532
+ },
533
+ {
534
+ "ip": "64:ff9b:0:ffff:ffff:ffff:ffff:ffff",
535
+ "expect": true,
536
+ "why": "just below 64:ff9b:1::/48"
537
+ },
538
+ {
539
+ "ip": "64:ff9b:2::",
540
+ "expect": true,
541
+ "why": "just above 64:ff9b:1::/48"
542
+ },
543
+ {
544
+ "ip": "100::",
545
+ "expect": true,
546
+ "why": "first address of 100::/64"
547
+ },
548
+ {
549
+ "ip": "ff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
550
+ "expect": true,
551
+ "why": "just below 100::/64"
552
+ },
553
+ {
554
+ "ip": "100::1:ffff:ffff:ffff:ffff",
555
+ "expect": true,
556
+ "why": "last address of 100:0:0:1::/64"
557
+ },
558
+ {
559
+ "ip": "100:0:0:2::",
560
+ "expect": true,
561
+ "why": "just above 100:0:0:1::/64"
562
+ },
563
+ {
564
+ "ip": "2001:2::",
565
+ "expect": true,
566
+ "why": "first address of 2001:2::/48"
567
+ },
568
+ {
569
+ "ip": "2001:2:0:ffff:ffff:ffff:ffff:ffff",
570
+ "expect": true,
571
+ "why": "last address of 2001:2::/48"
572
+ },
573
+ {
574
+ "ip": "2001:1:ffff:ffff:ffff:ffff:ffff:ffff",
575
+ "expect": true,
576
+ "why": "just below 2001:2::/48"
577
+ },
578
+ {
579
+ "ip": "2001:2:1::",
580
+ "expect": true,
581
+ "why": "just above 2001:2::/48"
582
+ },
583
+ {
584
+ "ip": "2001:10::",
585
+ "expect": true,
586
+ "why": "first address of 2001:10::/28"
587
+ },
588
+ {
589
+ "ip": "2001:1f:ffff:ffff:ffff:ffff:ffff:ffff",
590
+ "expect": true,
591
+ "why": "last address of 2001:10::/28"
592
+ },
593
+ {
594
+ "ip": "2001:f:ffff:ffff:ffff:ffff:ffff:ffff",
595
+ "expect": true,
596
+ "why": "just below 2001:10::/28"
597
+ },
598
+ {
599
+ "ip": "2001:20::",
600
+ "expect": true,
601
+ "why": "just above 2001:10::/28"
602
+ },
603
+ {
604
+ "ip": "2001:db8::",
605
+ "expect": true,
606
+ "why": "first address of 2001:db8::/32"
607
+ },
608
+ {
609
+ "ip": "2001:db7:ffff:ffff:ffff:ffff:ffff:ffff",
610
+ "expect": false,
611
+ "why": "just below 2001:db8::/32"
612
+ },
613
+ {
614
+ "ip": "3fff::",
615
+ "expect": true,
616
+ "why": "first address of 3fff::/20"
617
+ },
618
+ {
619
+ "ip": "3ffe:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
620
+ "expect": false,
621
+ "why": "just below 3fff::/20"
622
+ },
623
+ {
624
+ "ip": "5f00::",
625
+ "expect": true,
626
+ "why": "first address of 5f00::/16"
627
+ },
628
+ {
629
+ "ip": "5f00:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
630
+ "expect": true,
631
+ "why": "last address of 5f00::/16"
632
+ },
633
+ {
634
+ "ip": "5eff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
635
+ "expect": true,
636
+ "why": "just below 5f00::/16"
637
+ },
638
+ {
639
+ "ip": "5f01::",
640
+ "expect": true,
641
+ "why": "just above 5f00::/16"
642
+ },
643
+ {
644
+ "ip": "fc00::",
645
+ "expect": true,
646
+ "why": "first address of fc00::/7"
647
+ },
648
+ {
649
+ "ip": "fbff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
650
+ "expect": true,
651
+ "why": "just below fc00::/7"
652
+ },
653
+ {
654
+ "ip": "fe80::",
655
+ "expect": true,
656
+ "why": "first address of fe80::/10"
657
+ },
658
+ {
659
+ "ip": "febf:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
660
+ "expect": true,
661
+ "why": "last address of fe80::/10"
662
+ },
663
+ {
664
+ "ip": "fe7f:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
665
+ "expect": true,
666
+ "why": "just below fe80::/10"
667
+ },
668
+ {
669
+ "ip": "fec0::",
670
+ "expect": true,
671
+ "why": "just above fe80::/10"
672
+ },
673
+ {
674
+ "ip": "feff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
675
+ "expect": true,
676
+ "why": "last address of fec0::/10"
677
+ },
678
+ {
679
+ "ip": "ff00::",
680
+ "expect": true,
681
+ "why": "just above fec0::/10"
682
+ },
683
+ {
684
+ "ip": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
685
+ "expect": true,
686
+ "why": "last address of ff00::/8"
687
+ },
688
+ {
689
+ "ip": "2002::",
690
+ "expect": true,
691
+ "why": "first address of 2002::/24"
692
+ },
693
+ {
694
+ "ip": "2002:ff:ffff:ffff:ffff:ffff:ffff:ffff",
695
+ "expect": true,
696
+ "why": "last address of 2002::/24"
697
+ },
698
+ {
699
+ "ip": "2001:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
700
+ "expect": false,
701
+ "why": "just below 2002::/24"
702
+ },
703
+ {
704
+ "ip": "2002:100::",
705
+ "expect": false,
706
+ "why": "just above 2002::/24"
707
+ },
708
+ {
709
+ "ip": "2002:a00::",
710
+ "expect": true,
711
+ "why": "first address of 2002:a00::/24"
712
+ },
713
+ {
714
+ "ip": "2002:aff:ffff:ffff:ffff:ffff:ffff:ffff",
715
+ "expect": true,
716
+ "why": "last address of 2002:a00::/24"
717
+ },
718
+ {
719
+ "ip": "2002:9ff:ffff:ffff:ffff:ffff:ffff:ffff",
720
+ "expect": false,
721
+ "why": "just below 2002:a00::/24"
722
+ },
723
+ {
724
+ "ip": "2002:b00::",
725
+ "expect": false,
726
+ "why": "just above 2002:a00::/24"
727
+ },
728
+ {
729
+ "ip": "2002:6440::",
730
+ "expect": true,
731
+ "why": "first address of 2002:6440::/26"
732
+ },
733
+ {
734
+ "ip": "2002:647f:ffff:ffff:ffff:ffff:ffff:ffff",
735
+ "expect": true,
736
+ "why": "last address of 2002:6440::/26"
737
+ },
738
+ {
739
+ "ip": "2002:643f:ffff:ffff:ffff:ffff:ffff:ffff",
740
+ "expect": false,
741
+ "why": "just below 2002:6440::/26"
742
+ },
743
+ {
744
+ "ip": "2002:6480::",
745
+ "expect": false,
746
+ "why": "just above 2002:6440::/26"
747
+ },
748
+ {
749
+ "ip": "2002:7f00::",
750
+ "expect": true,
751
+ "why": "first address of 2002:7f00::/24"
752
+ },
753
+ {
754
+ "ip": "2002:7fff:ffff:ffff:ffff:ffff:ffff:ffff",
755
+ "expect": true,
756
+ "why": "last address of 2002:7f00::/24"
757
+ },
758
+ {
759
+ "ip": "2002:7eff:ffff:ffff:ffff:ffff:ffff:ffff",
760
+ "expect": false,
761
+ "why": "just below 2002:7f00::/24"
762
+ },
763
+ {
764
+ "ip": "2002:8000::",
765
+ "expect": false,
766
+ "why": "just above 2002:7f00::/24"
767
+ },
768
+ {
769
+ "ip": "2002:a9fe::",
770
+ "expect": true,
771
+ "why": "first address of 2002:a9fe::/32"
772
+ },
773
+ {
774
+ "ip": "2002:a9fd:ffff:ffff:ffff:ffff:ffff:ffff",
775
+ "expect": false,
776
+ "why": "just below 2002:a9fe::/32"
777
+ },
778
+ {
779
+ "ip": "2002:ac10::",
780
+ "expect": true,
781
+ "why": "first address of 2002:ac10::/28"
782
+ },
783
+ {
784
+ "ip": "2002:ac1f:ffff:ffff:ffff:ffff:ffff:ffff",
785
+ "expect": true,
786
+ "why": "last address of 2002:ac10::/28"
787
+ },
788
+ {
789
+ "ip": "2002:ac0f:ffff:ffff:ffff:ffff:ffff:ffff",
790
+ "expect": false,
791
+ "why": "just below 2002:ac10::/28"
792
+ },
793
+ {
794
+ "ip": "2002:ac20::",
795
+ "expect": false,
796
+ "why": "just above 2002:ac10::/28"
797
+ },
798
+ {
799
+ "ip": "2002:c000::",
800
+ "expect": true,
801
+ "why": "first address of 2002:c000::/40"
802
+ },
803
+ {
804
+ "ip": "2002:c000:ff:ffff:ffff:ffff:ffff:ffff",
805
+ "expect": true,
806
+ "why": "last address of 2002:c000::/40"
807
+ },
808
+ {
809
+ "ip": "2002:bfff:ffff:ffff:ffff:ffff:ffff:ffff",
810
+ "expect": false,
811
+ "why": "just below 2002:c000::/40"
812
+ },
813
+ {
814
+ "ip": "2002:c000:100::",
815
+ "expect": false,
816
+ "why": "just above 2002:c000::/40"
817
+ },
818
+ {
819
+ "ip": "2002:c000:200::",
820
+ "expect": true,
821
+ "why": "first address of 2002:c000:200::/40"
822
+ },
823
+ {
824
+ "ip": "2002:c000:2ff:ffff:ffff:ffff:ffff:ffff",
825
+ "expect": true,
826
+ "why": "last address of 2002:c000:200::/40"
827
+ },
828
+ {
829
+ "ip": "2002:c000:1ff:ffff:ffff:ffff:ffff:ffff",
830
+ "expect": false,
831
+ "why": "just below 2002:c000:200::/40"
832
+ },
833
+ {
834
+ "ip": "2002:c000:300::",
835
+ "expect": false,
836
+ "why": "just above 2002:c000:200::/40"
837
+ },
838
+ {
839
+ "ip": "2002:c058:6302::",
840
+ "expect": true,
841
+ "why": "first address of 2002:c058:6302::/48"
842
+ },
843
+ {
844
+ "ip": "2002:c058:6302:ffff:ffff:ffff:ffff:ffff",
845
+ "expect": true,
846
+ "why": "last address of 2002:c058:6302::/48"
847
+ },
848
+ {
849
+ "ip": "2002:c058:6301:ffff:ffff:ffff:ffff:ffff",
850
+ "expect": false,
851
+ "why": "just below 2002:c058:6302::/48"
852
+ },
853
+ {
854
+ "ip": "2002:c058:6303::",
855
+ "expect": false,
856
+ "why": "just above 2002:c058:6302::/48"
857
+ },
858
+ {
859
+ "ip": "2002:c0a8::",
860
+ "expect": true,
861
+ "why": "first address of 2002:c0a8::/32"
862
+ },
863
+ {
864
+ "ip": "2002:c0a8:ffff:ffff:ffff:ffff:ffff:ffff",
865
+ "expect": true,
866
+ "why": "last address of 2002:c0a8::/32"
867
+ },
868
+ {
869
+ "ip": "2002:c0a7:ffff:ffff:ffff:ffff:ffff:ffff",
870
+ "expect": false,
871
+ "why": "just below 2002:c0a8::/32"
872
+ },
873
+ {
874
+ "ip": "2002:c0a9::",
875
+ "expect": false,
876
+ "why": "just above 2002:c0a8::/32"
877
+ },
878
+ {
879
+ "ip": "2002:c612::",
880
+ "expect": true,
881
+ "why": "first address of 2002:c612::/31"
882
+ },
883
+ {
884
+ "ip": "2002:c613:ffff:ffff:ffff:ffff:ffff:ffff",
885
+ "expect": true,
886
+ "why": "last address of 2002:c612::/31"
887
+ },
888
+ {
889
+ "ip": "2002:c611:ffff:ffff:ffff:ffff:ffff:ffff",
890
+ "expect": false,
891
+ "why": "just below 2002:c612::/31"
892
+ },
893
+ {
894
+ "ip": "2002:c614::",
895
+ "expect": false,
896
+ "why": "just above 2002:c612::/31"
897
+ },
898
+ {
899
+ "ip": "2002:c633:6400::",
900
+ "expect": true,
901
+ "why": "first address of 2002:c633:6400::/40"
902
+ },
903
+ {
904
+ "ip": "2002:c633:64ff:ffff:ffff:ffff:ffff:ffff",
905
+ "expect": true,
906
+ "why": "last address of 2002:c633:6400::/40"
907
+ },
908
+ {
909
+ "ip": "2002:c633:63ff:ffff:ffff:ffff:ffff:ffff",
910
+ "expect": false,
911
+ "why": "just below 2002:c633:6400::/40"
912
+ },
913
+ {
914
+ "ip": "2002:c633:6500::",
915
+ "expect": false,
916
+ "why": "just above 2002:c633:6400::/40"
917
+ },
918
+ {
919
+ "ip": "2002:cb00:7100::",
920
+ "expect": true,
921
+ "why": "first address of 2002:cb00:7100::/40"
922
+ },
923
+ {
924
+ "ip": "2002:cb00:71ff:ffff:ffff:ffff:ffff:ffff",
925
+ "expect": true,
926
+ "why": "last address of 2002:cb00:7100::/40"
927
+ },
928
+ {
929
+ "ip": "2002:cb00:70ff:ffff:ffff:ffff:ffff:ffff",
930
+ "expect": false,
931
+ "why": "just below 2002:cb00:7100::/40"
932
+ },
933
+ {
934
+ "ip": "2002:cb00:7200::",
935
+ "expect": false,
936
+ "why": "just above 2002:cb00:7100::/40"
937
+ },
938
+ {
939
+ "ip": "2002:e000::",
940
+ "expect": true,
941
+ "why": "first address of 2002:e000::/20"
942
+ },
943
+ {
944
+ "ip": "2002:efff:ffff:ffff:ffff:ffff:ffff:ffff",
945
+ "expect": true,
946
+ "why": "last address of 2002:e000::/20"
947
+ },
948
+ {
949
+ "ip": "2002:dfff:ffff:ffff:ffff:ffff:ffff:ffff",
950
+ "expect": false,
951
+ "why": "just below 2002:e000::/20"
952
+ },
953
+ {
954
+ "ip": "2002:f000::",
955
+ "expect": true,
956
+ "why": "just above 2002:e000::/20"
957
+ },
958
+ {
959
+ "ip": "2002:ffff:ffff::",
960
+ "expect": true,
961
+ "why": "first address of 2002:ffff:ffff::/48"
962
+ },
963
+ {
964
+ "ip": "2002:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
965
+ "expect": true,
966
+ "why": "last address of 2002:ffff:ffff::/48"
967
+ },
968
+ {
969
+ "ip": "2002:ffff:fffe:ffff:ffff:ffff:ffff:ffff",
970
+ "expect": true,
971
+ "why": "just below 2002:ffff:ffff::/48"
972
+ },
973
+ {
974
+ "ip": "2003::",
975
+ "expect": false,
976
+ "why": "just above 2002:ffff:ffff::/48"
977
+ },
978
+ {
979
+ "ip": "2001::",
980
+ "expect": true,
981
+ "why": "first address of 2001::/40"
982
+ },
983
+ {
984
+ "ip": "2001:0:ff:ffff:ffff:ffff:ffff:ffff",
985
+ "expect": true,
986
+ "why": "last address of 2001::/40"
987
+ },
988
+ {
989
+ "ip": "2000:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
990
+ "expect": false,
991
+ "why": "just below 2001::/40"
992
+ },
993
+ {
994
+ "ip": "2001:0:100::",
995
+ "expect": false,
996
+ "why": "just above 2001::/40"
997
+ },
998
+ {
999
+ "ip": "2001:0:a00::",
1000
+ "expect": true,
1001
+ "why": "first address of 2001:0:a00::/40"
1002
+ },
1003
+ {
1004
+ "ip": "2001:0:aff:ffff:ffff:ffff:ffff:ffff",
1005
+ "expect": true,
1006
+ "why": "last address of 2001:0:a00::/40"
1007
+ },
1008
+ {
1009
+ "ip": "2001:0:9ff:ffff:ffff:ffff:ffff:ffff",
1010
+ "expect": false,
1011
+ "why": "just below 2001:0:a00::/40"
1012
+ },
1013
+ {
1014
+ "ip": "2001:0:b00::",
1015
+ "expect": false,
1016
+ "why": "just above 2001:0:a00::/40"
1017
+ },
1018
+ {
1019
+ "ip": "2001:0:6440::",
1020
+ "expect": true,
1021
+ "why": "first address of 2001:0:6440::/42"
1022
+ },
1023
+ {
1024
+ "ip": "2001:0:647f:ffff:ffff:ffff:ffff:ffff",
1025
+ "expect": true,
1026
+ "why": "last address of 2001:0:6440::/42"
1027
+ },
1028
+ {
1029
+ "ip": "2001:0:643f:ffff:ffff:ffff:ffff:ffff",
1030
+ "expect": false,
1031
+ "why": "just below 2001:0:6440::/42"
1032
+ },
1033
+ {
1034
+ "ip": "2001:0:6480::",
1035
+ "expect": false,
1036
+ "why": "just above 2001:0:6440::/42"
1037
+ },
1038
+ {
1039
+ "ip": "2001:0:7f00::",
1040
+ "expect": true,
1041
+ "why": "first address of 2001:0:7f00::/40"
1042
+ },
1043
+ {
1044
+ "ip": "2001:0:7fff:ffff:ffff:ffff:ffff:ffff",
1045
+ "expect": true,
1046
+ "why": "last address of 2001:0:7f00::/40"
1047
+ },
1048
+ {
1049
+ "ip": "2001:0:7eff:ffff:ffff:ffff:ffff:ffff",
1050
+ "expect": false,
1051
+ "why": "just below 2001:0:7f00::/40"
1052
+ },
1053
+ {
1054
+ "ip": "2001:0:8000::",
1055
+ "expect": false,
1056
+ "why": "just above 2001:0:7f00::/40"
1057
+ },
1058
+ {
1059
+ "ip": "2001:0:a9fe::",
1060
+ "expect": true,
1061
+ "why": "first address of 2001:0:a9fe::/48"
1062
+ },
1063
+ {
1064
+ "ip": "2001:0:a9fe:ffff:ffff:ffff:ffff:ffff",
1065
+ "expect": true,
1066
+ "why": "last address of 2001:0:a9fe::/48"
1067
+ },
1068
+ {
1069
+ "ip": "2001:0:a9fd:ffff:ffff:ffff:ffff:ffff",
1070
+ "expect": false,
1071
+ "why": "just below 2001:0:a9fe::/48"
1072
+ },
1073
+ {
1074
+ "ip": "2001:0:a9ff::",
1075
+ "expect": false,
1076
+ "why": "just above 2001:0:a9fe::/48"
1077
+ },
1078
+ {
1079
+ "ip": "2001:0:ac10::",
1080
+ "expect": true,
1081
+ "why": "first address of 2001:0:ac10::/44"
1082
+ },
1083
+ {
1084
+ "ip": "2001:0:ac1f:ffff:ffff:ffff:ffff:ffff",
1085
+ "expect": true,
1086
+ "why": "last address of 2001:0:ac10::/44"
1087
+ },
1088
+ {
1089
+ "ip": "2001:0:ac0f:ffff:ffff:ffff:ffff:ffff",
1090
+ "expect": false,
1091
+ "why": "just below 2001:0:ac10::/44"
1092
+ },
1093
+ {
1094
+ "ip": "2001:0:ac20::",
1095
+ "expect": false,
1096
+ "why": "just above 2001:0:ac10::/44"
1097
+ },
1098
+ {
1099
+ "ip": "2001:0:c000::",
1100
+ "expect": true,
1101
+ "why": "first address of 2001:0:c000::/56"
1102
+ },
1103
+ {
1104
+ "ip": "2001:0:c000:ff:ffff:ffff:ffff:ffff",
1105
+ "expect": true,
1106
+ "why": "last address of 2001:0:c000::/56"
1107
+ },
1108
+ {
1109
+ "ip": "2001:0:bfff:ffff:ffff:ffff:ffff:ffff",
1110
+ "expect": false,
1111
+ "why": "just below 2001:0:c000::/56"
1112
+ },
1113
+ {
1114
+ "ip": "2001:0:c000:100::",
1115
+ "expect": false,
1116
+ "why": "just above 2001:0:c000::/56"
1117
+ },
1118
+ {
1119
+ "ip": "2001:0:c000:200::",
1120
+ "expect": true,
1121
+ "why": "first address of 2001:0:c000:200::/56"
1122
+ },
1123
+ {
1124
+ "ip": "2001:0:c000:1ff:ffff:ffff:ffff:ffff",
1125
+ "expect": false,
1126
+ "why": "just below 2001:0:c000:200::/56"
1127
+ },
1128
+ {
1129
+ "ip": "2001:0:c058:6302::",
1130
+ "expect": true,
1131
+ "why": "first address of 2001:0:c058:6302::/64"
1132
+ },
1133
+ {
1134
+ "ip": "2001:0:c058:6302:ffff:ffff:ffff:ffff",
1135
+ "expect": true,
1136
+ "why": "last address of 2001:0:c058:6302::/64"
1137
+ },
1138
+ {
1139
+ "ip": "2001:0:c058:6301:ffff:ffff:ffff:ffff",
1140
+ "expect": false,
1141
+ "why": "just below 2001:0:c058:6302::/64"
1142
+ },
1143
+ {
1144
+ "ip": "2001:0:c058:6303::",
1145
+ "expect": false,
1146
+ "why": "just above 2001:0:c058:6302::/64"
1147
+ },
1148
+ {
1149
+ "ip": "2001:0:c0a8::",
1150
+ "expect": true,
1151
+ "why": "first address of 2001:0:c0a8::/48"
1152
+ },
1153
+ {
1154
+ "ip": "2001:0:c0a8:ffff:ffff:ffff:ffff:ffff",
1155
+ "expect": true,
1156
+ "why": "last address of 2001:0:c0a8::/48"
1157
+ },
1158
+ {
1159
+ "ip": "2001:0:c0a7:ffff:ffff:ffff:ffff:ffff",
1160
+ "expect": false,
1161
+ "why": "just below 2001:0:c0a8::/48"
1162
+ },
1163
+ {
1164
+ "ip": "2001:0:c0a9::",
1165
+ "expect": false,
1166
+ "why": "just above 2001:0:c0a8::/48"
1167
+ },
1168
+ {
1169
+ "ip": "2001:0:c612::",
1170
+ "expect": true,
1171
+ "why": "first address of 2001:0:c612::/47"
1172
+ },
1173
+ {
1174
+ "ip": "2001:0:c613:ffff:ffff:ffff:ffff:ffff",
1175
+ "expect": true,
1176
+ "why": "last address of 2001:0:c612::/47"
1177
+ },
1178
+ {
1179
+ "ip": "2001:0:c611:ffff:ffff:ffff:ffff:ffff",
1180
+ "expect": false,
1181
+ "why": "just below 2001:0:c612::/47"
1182
+ },
1183
+ {
1184
+ "ip": "2001:0:c614::",
1185
+ "expect": false,
1186
+ "why": "just above 2001:0:c612::/47"
1187
+ },
1188
+ {
1189
+ "ip": "2001:0:c633:6400::",
1190
+ "expect": true,
1191
+ "why": "first address of 2001:0:c633:6400::/56"
1192
+ },
1193
+ {
1194
+ "ip": "2001:0:c633:64ff:ffff:ffff:ffff:ffff",
1195
+ "expect": true,
1196
+ "why": "last address of 2001:0:c633:6400::/56"
1197
+ },
1198
+ {
1199
+ "ip": "2001:0:c633:63ff:ffff:ffff:ffff:ffff",
1200
+ "expect": false,
1201
+ "why": "just below 2001:0:c633:6400::/56"
1202
+ },
1203
+ {
1204
+ "ip": "2001:0:c633:6500::",
1205
+ "expect": false,
1206
+ "why": "just above 2001:0:c633:6400::/56"
1207
+ },
1208
+ {
1209
+ "ip": "2001:0:cb00:7100::",
1210
+ "expect": true,
1211
+ "why": "first address of 2001:0:cb00:7100::/56"
1212
+ },
1213
+ {
1214
+ "ip": "2001:0:cb00:71ff:ffff:ffff:ffff:ffff",
1215
+ "expect": true,
1216
+ "why": "last address of 2001:0:cb00:7100::/56"
1217
+ },
1218
+ {
1219
+ "ip": "2001:0:cb00:70ff:ffff:ffff:ffff:ffff",
1220
+ "expect": false,
1221
+ "why": "just below 2001:0:cb00:7100::/56"
1222
+ },
1223
+ {
1224
+ "ip": "2001:0:cb00:7200::",
1225
+ "expect": false,
1226
+ "why": "just above 2001:0:cb00:7100::/56"
1227
+ },
1228
+ {
1229
+ "ip": "2001:0:e000::",
1230
+ "expect": true,
1231
+ "why": "first address of 2001:0:e000::/36"
1232
+ },
1233
+ {
1234
+ "ip": "2001:0:efff:ffff:ffff:ffff:ffff:ffff",
1235
+ "expect": true,
1236
+ "why": "last address of 2001:0:e000::/36"
1237
+ },
1238
+ {
1239
+ "ip": "2001:0:dfff:ffff:ffff:ffff:ffff:ffff",
1240
+ "expect": false,
1241
+ "why": "just below 2001:0:e000::/36"
1242
+ },
1243
+ {
1244
+ "ip": "2001:0:f000::",
1245
+ "expect": true,
1246
+ "why": "just above 2001:0:e000::/36"
1247
+ },
1248
+ {
1249
+ "ip": "2001:0:ffff:ffff::",
1250
+ "expect": true,
1251
+ "why": "first address of 2001:0:ffff:ffff::/64"
1252
+ },
1253
+ {
1254
+ "ip": "2001:0:ffff:ffff:ffff:ffff:ffff:ffff",
1255
+ "expect": true,
1256
+ "why": "last address of 2001:0:ffff:ffff::/64"
1257
+ },
1258
+ {
1259
+ "ip": "2001:0:ffff:fffe:ffff:ffff:ffff:ffff",
1260
+ "expect": true,
1261
+ "why": "just below 2001:0:ffff:ffff::/64"
1262
+ },
1263
+ {
1264
+ "ip": "2001:1::",
1265
+ "expect": true,
1266
+ "why": "just above 2001:0:ffff:ffff::/64"
1267
+ },
1268
+ {
1269
+ "ip": "2001:3:ffff:ffff:ffff:ffff:ffff:ffff",
1270
+ "expect": true,
1271
+ "why": "last address of 2001:2::/31"
1272
+ },
1273
+ {
1274
+ "ip": "2001:4::",
1275
+ "expect": true,
1276
+ "why": "just above 2001:2::/31"
1277
+ },
1278
+ {
1279
+ "ip": "2001:7:ffff:ffff:ffff:ffff:ffff:ffff",
1280
+ "expect": true,
1281
+ "why": "last address of 2001:4::/30"
1282
+ },
1283
+ {
1284
+ "ip": "2001:8::",
1285
+ "expect": true,
1286
+ "why": "just above 2001:4::/30"
1287
+ },
1288
+ {
1289
+ "ip": "2001:3f:ffff:ffff:ffff:ffff:ffff:ffff",
1290
+ "expect": true,
1291
+ "why": "last address of 2001:20::/27"
1292
+ },
1293
+ {
1294
+ "ip": "2001:40::",
1295
+ "expect": true,
1296
+ "why": "just above 2001:20::/27"
1297
+ },
1298
+ {
1299
+ "ip": "2001:7f:ffff:ffff:ffff:ffff:ffff:ffff",
1300
+ "expect": true,
1301
+ "why": "last address of 2001:40::/26"
1302
+ },
1303
+ {
1304
+ "ip": "2001:80::",
1305
+ "expect": true,
1306
+ "why": "just above 2001:40::/26"
1307
+ },
1308
+ {
1309
+ "ip": "2001:ff:ffff:ffff:ffff:ffff:ffff:ffff",
1310
+ "expect": true,
1311
+ "why": "last address of 2001:80::/25"
1312
+ },
1313
+ {
1314
+ "ip": "2001:100::",
1315
+ "expect": true,
1316
+ "why": "just above 2001:80::/25"
1317
+ },
1318
+ {
1319
+ "ip": "1fff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
1320
+ "expect": true,
1321
+ "why": "last address of ::/3"
1322
+ },
1323
+ {
1324
+ "ip": "2000::",
1325
+ "expect": false,
1326
+ "why": "just above ::/3"
1327
+ },
1328
+ {
1329
+ "ip": "4000::",
1330
+ "expect": true,
1331
+ "why": "first address of 4000::/3"
1332
+ },
1333
+ {
1334
+ "ip": "5fff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
1335
+ "expect": true,
1336
+ "why": "last address of 4000::/3"
1337
+ },
1338
+ {
1339
+ "ip": "3fff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
1340
+ "expect": false,
1341
+ "why": "just below 4000::/3"
1342
+ },
1343
+ {
1344
+ "ip": "6000::",
1345
+ "expect": true,
1346
+ "why": "just above 4000::/3"
1347
+ },
1348
+ {
1349
+ "ip": "7fff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
1350
+ "expect": true,
1351
+ "why": "last address of 6000::/3"
1352
+ },
1353
+ {
1354
+ "ip": "8000::",
1355
+ "expect": true,
1356
+ "why": "just above 6000::/3"
1357
+ },
1358
+ {
1359
+ "ip": "9fff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
1360
+ "expect": true,
1361
+ "why": "last address of 8000::/3"
1362
+ },
1363
+ {
1364
+ "ip": "a000::",
1365
+ "expect": true,
1366
+ "why": "just above 8000::/3"
1367
+ },
1368
+ {
1369
+ "ip": "bfff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
1370
+ "expect": true,
1371
+ "why": "last address of a000::/3"
1372
+ },
1373
+ {
1374
+ "ip": "c000::",
1375
+ "expect": true,
1376
+ "why": "just above a000::/3"
1377
+ },
1378
+ {
1379
+ "ip": "dfff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
1380
+ "expect": true,
1381
+ "why": "last address of c000::/3"
1382
+ },
1383
+ {
1384
+ "ip": "e000::",
1385
+ "expect": true,
1386
+ "why": "just above c000::/3"
252
1387
  }
253
1388
  ],
254
1389
  "ipv4Mapped": [
@@ -474,7 +1609,7 @@
474
1609
  },
475
1610
  {
476
1611
  "name": "max-full-shape",
477
- "why": "Max adds confidence and method on vpn, plus the three proxy families and the public proxy detail. A served answer carries is_bogon, and a detail with a provider carries provider_name, the catalog's name beside its ID.",
1612
+ "why": "Max adds confidence and method on vpn, plus the three proxy families and the public proxy detail. A served answer carries is_bogon, and a detail with a provider carries provider_name, the catalog's name beside its ID. A paid key's answer carries cap_reached, false while the answer has every field.",
478
1613
  "status": 200,
479
1614
  "body": {
480
1615
  "ip": "45.83.91.1",
@@ -526,7 +1661,8 @@
526
1661
  "num_proxies": 2,
527
1662
  "last_seen": "2026-10-17",
528
1663
  "last_usable": ""
529
- }
1664
+ },
1665
+ "cap_reached": false
530
1666
  },
531
1667
  "expect": {
532
1668
  "ip": "45.83.91.1",
@@ -535,7 +1671,8 @@
535
1671
  "is_vpn": true,
536
1672
  "is_dcproxy": true,
537
1673
  "is_resproxy": false,
538
- "is_pubproxy": true
1674
+ "is_pubproxy": true,
1675
+ "cap_reached": false
539
1676
  },
540
1677
  "absent": [],
541
1678
  "vpn": {
@@ -1003,6 +2140,88 @@
1003
2140
  "prefix": "146.70.116.0/24"
1004
2141
  }
1005
2142
  }
2143
+ },
2144
+ {
2145
+ "name": "cap-reached-answer",
2146
+ "why": "A paid-plan key past its organization's overage cap: Unlimited's answer, not billed, and cap_reached true. What the cap no longer answers is absent, never false.",
2147
+ "status": 200,
2148
+ "body": {
2149
+ "ip": "146.70.116.130",
2150
+ "is_vpn": true,
2151
+ "is_relay": false,
2152
+ "is_tor": false,
2153
+ "relay": {},
2154
+ "tor": {},
2155
+ "location": {
2156
+ "continent": "EU",
2157
+ "continent_name": "Europe",
2158
+ "country": "AT",
2159
+ "country_name": "Austria",
2160
+ "timezone": "Europe/Vienna",
2161
+ "currency_code": "EUR",
2162
+ "currency_name": "Euro",
2163
+ "currency_symbol": "€",
2164
+ "flag_emoji": "🇦🇹",
2165
+ "flag_unicode": "U+1F1E6 U+1F1F9"
2166
+ },
2167
+ "asn": {
2168
+ "asn": 9009,
2169
+ "name": "M247 Europe SRL",
2170
+ "domain": "m247global.com",
2171
+ "type": "hosting",
2172
+ "prefix": "146.70.116.0/24"
2173
+ },
2174
+ "is_bogon": false,
2175
+ "cap_reached": true
2176
+ },
2177
+ "expect": {
2178
+ "ip": "146.70.116.130",
2179
+ "isBogon": false,
2180
+ "present": {
2181
+ "is_vpn": true,
2182
+ "is_relay": false,
2183
+ "is_tor": false,
2184
+ "cap_reached": true
2185
+ },
2186
+ "absent": [
2187
+ "is_hosting",
2188
+ "is_cdn",
2189
+ "is_resproxy",
2190
+ "is_dcproxy",
2191
+ "is_mobproxy",
2192
+ "is_pubproxy",
2193
+ "vpn",
2194
+ "hosting",
2195
+ "cdn",
2196
+ "resproxy",
2197
+ "dcproxy",
2198
+ "mobproxy",
2199
+ "pubproxy"
2200
+ ],
2201
+ "emptyPresent": [
2202
+ "relay",
2203
+ "tor"
2204
+ ],
2205
+ "location": {
2206
+ "continent": "EU",
2207
+ "continent_name": "Europe",
2208
+ "country": "AT",
2209
+ "country_name": "Austria",
2210
+ "timezone": "Europe/Vienna",
2211
+ "currency_code": "EUR",
2212
+ "currency_name": "Euro",
2213
+ "currency_symbol": "€",
2214
+ "flag_emoji": "🇦🇹",
2215
+ "flag_unicode": "U+1F1E6 U+1F1F9"
2216
+ },
2217
+ "asn": {
2218
+ "asn": 9009,
2219
+ "name": "M247 Europe SRL",
2220
+ "domain": "m247global.com",
2221
+ "type": "hosting",
2222
+ "prefix": "146.70.116.0/24"
2223
+ }
2224
+ }
1006
2225
  }
1007
2226
  ],
1008
2227
  "errors": [