What's My IP Address?

Instantly discover your public IP address, geolocation, timezone, and network details. Fast, free, and privacy-friendly.

IP Address
216.73.217.142
Country
United States (US)
Continent
NA
Region
Ohio (OH)
City
Columbus
Coordinates
39.96118, -82.99879
Timezone
America/New_York
ASN
AS16509 · Anthropic, PBC
Datacenter
CMH · Metro 535

What is an IP Address?

Your IP address is 216.73.217.142. An IP (Internet Protocol) address is a unique numerical label assigned to every device connected to the internet. It serves two main purposes: identifying your device and providing its location on the network.

When you visit a website, send an email, or stream a video, your IP address tells servers where to send the data back. Think of it like a return address on a letter—without it, the internet wouldn't know where to deliver your requested information.

This tool helps you instantly discover your public IP address—the one visible to websites and services you connect to—along with related information like your approximate location, timezone, and internet service provider.

How to Use the IP Echo API

Access your IP address and connection details programmatically. No registration or API key required. Perfect for scripts, monitoring tools, and automated workflows.

Command Line (curl)
# Get your IP address only
curl https://echo.tinyandbeautiful.com/ip

# Get detailed JSON response
curl https://echo.tinyandbeautiful.com/json

# Get specific information
curl https://echo.tinyandbeautiful.com/country
curl https://echo.tinyandbeautiful.com/city
Python
import requests

# Get IP address only
response = requests.get('https://echo.tinyandbeautiful.com/ip')
print(f"Your IP: {response.text.strip()}")

# Get full details as JSON
response = requests.get('https://echo.tinyandbeautiful.com/json')
data = response.json()
print(f"IP: {data['ip']}")
print(f"Location: {data['city']}, {data['country']}")
print(f"Timezone: {data['timezone']}")
JavaScript (Node.js)
// Using fetch API
const response = await fetch('https://echo.tinyandbeautiful.com/json');
const data = await response.json();
console.log(`Your IP: ${data.ip}`);
console.log(`Location: ${data.city}, ${data.country}`);

// Using axios
const axios = require('axios');
const { data } = await axios.get('https://echo.tinyandbeautiful.com/json');
console.log(data);
Go
package main

import (
    "encoding/json"
    "fmt"
    "io"
    "net/http"
)

type IPInfo struct {
    IP       string `json:"ip"`
    City     string `json:"city"`
    Country  string `json:"country"`
    Timezone string `json:"timezone"`
}

func main() {
    resp, _ := http.Get("https://echo.tinyandbeautiful.com/json")
    defer resp.Body.Close()
    body, _ := io.ReadAll(resp.Body)

    var info IPInfo
    json.Unmarshal(body, &info)
    fmt.Printf("IP: %s, Location: %s, %s\n",
        info.IP, info.City, info.Country)
}

API Endpoints

All endpoints support both IPv4 and IPv6. Use curl -4 or curl -6 to force a specific protocol.

GET / - HTML homepage for browsers, AI agents, and search engines
GET /ip - Plain text IP only
GET /json - JSON with all information
GET /all - Plain text with all information
GET /country - Country code
GET /city - City name
GET /timezone - Timezone
GET /asn - ASN number

Frequently Asked Questions

Why should I check my IP address?

Checking your IP address helps with troubleshooting network issues, verifying VPN connections, configuring remote access, testing geolocation services, and understanding how websites see your location. It's also useful for developers testing location-based features.

What's the difference between IPv4 and IPv6?

IPv4 addresses look like 203.0.113.42 (four numbers separated by dots), while IPv6 addresses look like 2001:db8::1 (hexadecimal separated by colons). IPv6 was created to solve the IPv4 address shortage and supports many more unique addresses.

Is this service free to use?

Yes, this service is completely free. Both the web interface and API endpoints are available without registration or API keys.

How accurate is the geolocation data?

IP geolocation is typically accurate to the city level, but can vary by provider and region. The data shows your ISP's location, which may differ from your exact physical location by a few kilometers or more.

What are the API rate limits?

For automated requests, please limit to 1 request per minute. Excessive requests may receive a 429 status code. If you need higher limits, please reach out.

Can I force IPv4 or IPv6?

Yes, use your client's protocol flags. For example, curl -4 https://echo.tinyandbeautiful.com/ forces IPv4, and curl -6 https://echo.tinyandbeautiful.com/ forces IPv6.