Your own geocoding server on the internet

A machine you rent, one country file, HTTPS and a key. Cloud tools call it like any API; the server, the key and every address it sees are yours.

New Run it yourself Server, Docker

On a machine with Docker

terminalshell
$ curl -fsSL https://raw.githubusercontent.com/gridpin/gridpin/v0.10.0/docker/public/install.sh \
    | sudo sh -s -- us geo.example.com
  • As root on Debian 12+ or Ubuntu 22.04+: installs Docker from the distribution, takes docker/public at the release tag and checks each file's SHA-256.
  • Makes a random key (43 characters) in /opt/gridpin/gridpin.key, readable by root only, and checks that the machine has the memory the country's file wants.
  • Starts the geocoder with --require-key and Caddy, which gets the certificate for your domain from Let's Encrypt. Only Caddy listens outside; it keeps no access log.
  • A new machine at a host that takes user data: paste docker/public/cloud-init.yaml with your country and domain. A machine that already has Docker: ./setup.sh us geo.example.com.

Memory per country

The address file stays in memory, so a plan must hold it and some room. Megabytes the server wants:

  • Australia: 278 MB
  • Brazil: 903 MB
  • Canada: 337 MB
  • France: 546 MB
  • Germany: 421 MB
  • Italy: 411 MB
  • Mexico: 307 MB
  • the Netherlands: 247 MB
  • New Zealand: 162 MB
  • Poland: 250 MB
  • Serbia: 165 MB
  • Spain: 341 MB
  • the United States: 1,790 MB

The key

  • Every request but /health carries Authorization: Bearer <key>; without it the answer is 401 and the engine never sees the request.
  • Send addresses in a POST body, not in the address of a GET: addresses in a URL end up in the logs of every host on the way.
  • One key for the whole server, counting nothing. Several keys, daily limits per key and a log of requests are gridpin-pro serve.
terminalshell
$ curl -H "Authorization: Bearer $(sudo cat /opt/gridpin/gridpin.key)" \
    -H 'Content-Type: application/json' \
    -d '{"queries": ["1600 Pennsylvania Ave NW, Washington, DC"]}' https://geo.example.com/v1/geocode

From Zapier, Make and n8n

  • n8n: node HTTP Request, method POST, Authentication Generic Credential Type → Bearer Auth with the key (kept in n8n's credentials), Send Body on, Body Content Type JSON. The answer is parsed: $json.results[0][0].lat.
  • Make: module HTTP → Make a request, Authentication type API key with a keychain (placement header, name Authorization, key Bearer <key>), body application/JSON as a data structure, Parse response Yes.
  • Zapier: Webhooks by Zapier → Custom Request, method POST, header Authorization, raw JSON in Data. Zapier has no secret store for a webhook step: the key stays visible to anyone who can edit the Zap.
  • These steps follow each vendor's documentation as read on 18 November 2026; they were not run in the tools themselves.

What this is not

  • Not a service we run: the machine, its bill and its uptime are yours, and we see none of your requests.
  • No browser access from other sites by key: a key in a web page is visible to everyone.
  • Kubernetes: the Helm chart in docker/helm; one container on your own network: offline geocoding in Docker.