Please look into how IPInfo could get and show IP range and CIDR data.
An example was given from the feedback received and may be helpful in investigating how to integrate such functionality:
https://whois-referral.toolforge.org/gateway.py?lookup=true&ip=185.225.28.154
Look into if we can find this data using MaxMind and if not, what are potential other options for getting this data. (@STran might have more context here.)