IP Address Utilities

Ip Info

Retrieves comprehensive IP address details including geolocation, ISP, timezone, and network information. Access via MCP in Cursor or Windsurf for AI-powered network analysis, or call GET /v1/ip/info directly. Returns structured data with country, city, ASN, and threat intelligence. Perfect for security audits and geographical routing decisions.

API Endpoint

GET /v1/ip/info

Code Examples

curl "https://tinyfn.io/v1/ip/info" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/ip/info', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/ip/info',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's ip address tools:

{
  "mcpServers": {
    "tinyfn-ip": {
      "url": "https://tinyfn.io/mcp/ip",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

What information does IP lookup return?

Returns geolocation (country, city, coordinates), ISP details, ASN, timezone, connection type, and security flags like VPN/proxy detection.

How do I get IP info in my MCP-enabled AI agent?

Simply ask your AI assistant to look up an IP address. The MCP tool handles the API call and returns formatted results automatically.

Can I check multiple IP addresses at once?

No, each request handles one IP address. For bulk lookups, make multiple API calls or requests through your AI agent.

Does it detect VPNs and proxies?

Yes, the response includes security flags that identify known VPN services, proxies, Tor exit nodes, and other anonymization services.

What's the difference between IPv4 and IPv6 lookup?

Both IPv4 and IPv6 addresses are supported with identical response formats. IPv6 may have less detailed geolocation data in some regions.

Try Ip Info Now

Get your free API key and start using Ip Info in seconds.

Get Free API Key