IPGEO API

Beginner's Pick Geocoding / No Auth Required Beginner HTTPS
Free to Use
92 A+
Measured Score 0 50 100 Speed 29/30 Consistency 20/20 Security 20/20 Browser access 15/15 Transparency 8/15 TESTED 2026-08-10

Overview

IPGEO is a free, no-authentication IP geolocation API that returns detailed information about any IP address, including country, region, city, and ISP. It imposes no strict rate limits on free usage, making it suitable for learning and small projects. Simply pass an IP in the URL to get a JSON response instantly.

Beginner Tip

You can embed the IP directly in the URL path with no API key required. This makes it one of the fastest APIs to test during development.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://api.techniknews.net/ipgeo/8.8.8.8
Result
HTTP 200 · application/json · 415 bytes · compressed
Response time
34 ms (median of 3) · fastest 33 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
Browser CORS
Allowed — Access-Control-Allow-Origin: *
Served by
cloudflare
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
status string success
continent string North America
country string United States
countryCode string US
regionName string Virginia
city string Ashburn
zip string 20149
lat number 39.03
lon number -77.5
timezone string America/New_York
currency string USD
isp string Google LLC
org string Google Public DNS
as string AS15169 Google LLC

Captured Response

Captured from a real request to https://api.techniknews.net/ipgeo/8.8.8.8 on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "status": "success",
  "continent": "North America",
  "country": "United States",
  "countryCode": "US",
  "regionName": "Virginia",
  "city": "Ashburn",
  "zip": "20149",
  "lat": 39.03,
  "lon": -77.5,
  "timezone": "America/New_York",
  "currency": "USD",
  "isp": "Google LLC",
  "org": "Google Public DNS",
  "as": "AS15169 Google LLC",
  "…": "(7 more fields)"
}

Field Reference

status success if the lookup succeeded, otherwise an error message.
country Full country name for the IP address.
countryCode Two-letter ISO country code, e.g. DE for Germany.
regionName State or region name where the IP is located.
city City name associated with the IP address.
isp Name of the Internet Service Provider for the IP.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://api.techniknews.net/ipgeo/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 400 Requesting a path that does not exist application/json
{
  "error": "invalid ip"
}

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

Empty or error JSON An invalid or private IP address was passed in the URL.
Use a valid public IPv4 address such as 8.8.8.8 or 1.1.1.1 for testing.
CORS error in browser Browser security blocks direct calls to this API from some origins.
Make the request from a backend server or Node.js script instead of directly from a browser.
Timeout or no response The free service may have intermittent availability.
Retry the request or switch to a backup IP geolocation API like ipapi.co for production use.

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 29/30
Consistency 20/20
Security 20/20
Browser access 15/15
Transparency 8/15
Endpoint Response Time 34ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Geocoding
Difficulty Beginner
Endpoint last called: 2026-08-10

Related Tags

Similar APIs

View All →