TL;DR
ArulJohn.com IP is a lightweight API that takes an IP address and returns its geographic location, ISP, and connection type in clean JSON format. Pass any IPv4 address as a path parameter and get back city, region, country, latitude/longitude, timezone, and organization data. No registration, no API key, no rate limits — just a simple lookup.
Quick start: https://api.aruljohn.com/ip/8.8.8.8
No API key needed — just make a request!
https://api.aruljohn.com/ip/8.8.8.8
How to Use This API
1. Lookup a Specific IP
Replace the IP in the URL path with any public IPv4 address:
https://api.aruljohn.com/ip/8.8.8.8
Returns JSON: city, country, country_code, region, latitude, longitude, isp, org, timezone, and asn.
2. Get Your Own Public IP Info
If you want to check your own public IP, you can also use the /json endpoint:
https://api.aruljohn.com/ip/json
3. JavaScript — Lookup and Display Location
const ip = '8.8.8.8';
fetch(`https://api.aruljohn.com/ip/${ip}`)
.then(res => res.json())
.then(data => {
console.log(`Location: ${data.city}, ${data.country}`);
console.log(`ISP: ${data.isp}`);
console.log(`Coordinates: ${data.latitude}, ${data.longitude}`);
});
4. Python — Batch IP Lookups
import requests
ips = ['8.8.8.8', '1.1.1.1', '208.67.222.222']
for ip in ips:
resp = requests.get(f'https://api.aruljohn.com/ip/{ip}')
data = resp.json()
print(f"{ip} -> {data.get('city', '?')}, {data.get('country', '?')}")
Frequently Asked Questions
- Do I need an API key?
- No. The API is completely public with no authentication required.
- What information does the response include?
- The JSON response includes: ip, city, region, country, country_code, latitude, longitude, isp, org, asn, timezone, and connection type.
- Can I lookup private/internal IPs?
- Private IP addresses (192.168.x.x, 10.x.x.x, 172.16.x.x) will not return useful geolocation data since they are not publicly routable.
- What format does the API return?
- JSON by default. There is also an alternate
/jsonformat endpoint for getting your own public IP information. - Are there any rate limits?
- No documented rate limits. The API is designed for reasonable personal and development use.
- Can I use this in production?
- Yes, but for high-volume production use cases, consider reaching out to the maintainer or using a service with SLA guarantees.
API Details
- API URL
https://api.aruljohn.com/ip/{ip}- Documentation
- api.aruljohn.com
- Category
- Development
- Authentication
- Not Required
- Geographic Coverage
- Global — all public IPv4 addresses
What You Can Build
- Visitor location tracker for analytics dashboards
- IP reputation checker that cross-references with ISP data
- Geographic access control — restrict content by country code
- VPN detection tool comparing reported location with expected regions
- Network diagnostics page showing your public IP and ISP details