Hi HN! I built mioip.info out of personal frustration. I manage several servers and constantly needed a reliable way to check my exit IPs and ASNs via curl, but got tired of the strict rate limits of free APIs or hitting sites loaded with ads.
Instead of relying on external services, I wrote a minimal PHP wrapper around the MaxMind .mmdb C extension. The database sits locally on my VPS, meaning I can handle massive spikes of requests with sub-millisecond response times, zero dependencies, and zero rate limits.
It supports both IPv4 and IPv6 out of the box. You can try it from the browser or simply run:
curl -4 mioip.info or curl -6 mioip.info
It's very simple, but it solves my problem perfectly. Let me know if you find it useful or if I should expose a raw JSON endpoint!