You should cache the cidr ranges and arin responses for a decent amount of time since they seldom change.
Re:Why cats are crazy for catnip
by spiffytech on Thursday January 21, 2021 @08:43AM
(#25858676)
Perfect - looks like this will be my new go-to IP checking tool.
I'll add it into my kitten dev toolbox alongside https://placekitten.com/
Re:Why cats are crazy for catnip
by pantalaimon on Thursday January 21, 2021 @08:49AM
(#25858720)
It only shows IPv4
It simply serves you a random kitten GIF (some of which involve catnip) and provides your IP address alongside some other connection information.
EDIT: The ARIN JSON endpoints have rate-limited me, so ISP information is currently unavailable.