Service operational

Erpli Geo API

A small, private IP-to-region lookup service that powers anonymous location insights across Erpli products. Country, state and city only. Nothing is stored.

Built for privacy

1

No IPs stored

Addresses are resolved in memory and discarded. No logs, no history.

2

Region-level only

Returns country, state and city. Never coordinates, never GPS.

3

Self-hosted data

Lookups run against a local DB-IP Lite database. No third-party calls.

Usage

Request

POST /geo/
X-Geo-Key: <XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX>
Content-Type: application/json

{ "ip": "203.0.113.42" }

Response

{
  "country": "IN",
  "state": "Delhi",
  "city": "New Delhi"
}

Status codes

CodeMeaning
200Lookup succeeded. Fields may be empty if the IP isn't in the database.
400Missing or malformed IP address.
401Missing or invalid X-Geo-Key header.
405Only POST is accepted.