capabilities.work

Look up the country of a public IP

One step with IPinfo. We can help you get access.

Look something up

Look up the country of a public IP

with IPinfo
Works with AI assistants

Use IPinfo: its IPinfo.io OpenAPI Specification Single API lets you look up the country of a public IP in a single step (GET /{ip}/country). IPinfo also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I get the country code for a given public IP address?
  • Can I find the country a public IP is geolocated to?
Say it to your AI assistant
  • Look up the country of IP {ip}.
  • Get the country code for {ip}.
For your developer

GET /{ip}/country in IPinfo.io OpenAPI Specification Single API. Full spec on APIs.io.