Apiip API

Geocoding / API Key Intermediate HTTPS CORS
Varies by plan (check documentation)

Overview

Apiip is an IP geolocation API that returns detailed location data including city, country, timezone, and currency for any IP address. It offers a free tier of 1,000 requests per month with a simple API key setup. It is a solid choice for personalizing user experiences or implementing geo-based restrictions in web apps.

💡

Beginner Tip

Sign up at apiip.net to get your free API key, then include it as ?accessKey=YOUR_API_KEY in every request. You can also look up multiple IPs in one call using the ?ip=IP1,IP2 format.

Available Data

IP address information
geographic location
ASN and ISP data

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Apiip",
    "description": "Get location information by IP address",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

ip The IP address that was looked up.
countryName Full name of the country for the IP address.
city City name associated with the IP address.
timeZone IANA timezone identifier for the location (e.g., America/New_York).
currency Currency details for the country, including code and symbol.
connection ISP and ASN information for the IP address.

Implementation Example

const url = "https://apiip.net/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
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.

Common Errors & Troubleshooting

401 Unauthorized The accessKey parameter is missing or the key is invalid.
Log into apiip.net, copy your API key, and add it as ?accessKey=YOUR_KEY to the request URL.
Rate limit exceeded You have made more than 1,000 requests on the free plan in one month.
Monitor your usage in the apiip.net dashboard and upgrade to a paid plan if you need more requests.
Null fields in response Geolocation data is unavailable for private, reserved, or unregistered IP addresses.
Always query a valid public IP and add null checks to your code before accessing nested fields.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 17/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Geocoding
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →