Skip to content
locate-me v0.1.0

Fig. 1.

locate-me

IP address in, location out.

Playground

Checking

Look up any IPv4 or IPv6 address. Leave the field empty to locate yourself.

Try
Use an API key

Sent as X-API-Key to /v1/lookup, kept in this tab only. Without a key the playground uses keyless lookups, limited per client.

Waiting for the first lookup.

Endpoints(8)

Lookups need an API key in a header. Health checks and the playground do not.

Quick Start

  1. Create a key

    The server prints the key once and a config entry that stores only its SHA-256.

    docker run --rm locate-me:latest gen-key --name my-client
  2. Register it and start

    Paste the printed [[api_keys]] block into config.toml. The first start downloads the current DB-IP database.

    docker compose up -d
  3. Look up an address

    Send the key in a header. Keys are never accepted in the URL.

    curl -H "X-API-Key: $LOCATE_ME_KEY" \
      http://localhost:8080/v1/lookup/8.8.8.8

Performance

Lookup and decode960 ns
With JSON encoding1.4 µs
HTTP, p99 latency1.45 ms

Single thread, random addresses, October 2026 database. HTTP: 64 keep-alive connections at about 81,000 requests per second on a 16-core Windows 11 machine.

Esc