The IP API The IP API
// BLOG

Guides & insights

Tutorials, deep-dives, and practical tips on IP geolocation, ASNs, and networking - from the team behind The IP API.

Guide // 7 min read

How to Detect VPNs, Proxies, and Datacenter IPs

How to detect a VPN by IP address using known provider ranges and ASN ownership, what the limits are, and how to act on is_vpn and is_datacenter flags.

Read →
Explainer // 7 min read

How Accurate Is IP Geolocation Really?

Country-level IP geolocation is highly reliable. City-level is an estimate. Here is why, what the coordinates actually mean, and how to use each safely.

Read →
Guide // 7 min read

IP Geolocation in Go: A Practical Guide

Build a Golang IP geolocation client with net/http and typed structs, add context timeouts, and enrich incoming requests with country data via middleware.

Read →
Guide // 7 min read

How to Get a User's Location from an IP Address in Python

Look up a user's country, city, and timezone from an IP address in Python with requests, a FastAPI endpoint, proper error handling, and batch lookups.

Read →
Educational // 6 min read

IP Reputation and Email Deliverability: Why Your Sending IP Matters

The IP address your application sends mail from carries a reputation that can quietly land your signup, OTP, and password-reset emails in spam. Here is how sending-IP reputation, ASNs, and blocklists work, how to inspect them, and how to test that your email actually arrives.

Read →
Guide // 4 min read

IP Lookup Skill: Claude Code, Codex, and OpenCode

Install one SKILL.md file to give Claude Code, Codex, and OpenCode IP geolocation, ASN ownership, batch lookup, and VPN/datacenter detection.

Read →