Geo Engine Docs

Getting started

Setup and authentication

Application management is a repository CLI backed by the configured database. It is not an HTTP API and does not create credentials through a browser request.

Run the app commands

From the repository root, with dependencies installed and the database configured, use the script to create or manage consuming-app credentials:

# Create an application and issue its first key
npm run app -- create "rider-bff" "Rider BFF" web

# Issue another key for an existing application
npm run app -- issue "rider-bff"

# Expire a key by credential ID
npm run app -- expire "<credential-id>"

# Revoke a key by credential ID
npm run app -- revoke "<credential-id>"

# Seed local development apps (NODE_ENV=development only)
npm run app -- seed-dev

create and issue print the API key once. Save it securely. The seed-dev command is for local development and is rejected outside development mode.

Add an optional expiry with --expires-at "2027-01-01T00:00:00Z" to create or issue. With Make, pass the same timestamp as expires_at="2027-01-01T00:00:00Z".

Use the Makefile shortcuts

The repository already includes a Makefile. If GNU Make is installed, run these targets from the repository root:

make app_create slug=rider-bff name="Rider BFF" client_type=web
make app_issue slug=rider-bff
make app_expire credential_id="<credential-id>"
make app_revoke credential_id="<credential-id>"
make app_seed_dev

A Makefile is a command list, not something you install. Install the GNU Make program to run it. Windows users can install MSYS2 and then run pacman -S make in its terminal. See the MSYS2 make package or the GNU Make project for downloads and documentation.

The Makefile recipes call npm run app -- ... for you.

Request headers

API requests use your registered app credentials. Keep them in a trusted backend or serverless function and proxy browser requests through your BFF.

x-app-id: <your-app-slug>
x-api-key: <credential-id>.<secret>

Always send x-app-id and x-api-key. Use the slug of the registered app for x-app-id and the full issued credential for x-api-key.

x-provider-key is optional and module-specific

Only send x-provider-key when an API module accepts a provider selector. For Geocoding, supported values are self-hosted, photon-komoot (also accepted as maplibre), and geoapify. If omitted, forward, reverse, and full-address autocomplete use the configured self-hosted data and may fall back to Photon. IP and timezone use Geoapify. This header contains a provider name, not a provider API key.

The Address, Distance, and Geofencing APIs do not need a provider selector. The Maps API selects catalog styles by style ID. Mapbox and Google Maps are planned providers and are not currently selectable.

Geoapify credentials for server-side requests stay in GEOAPIFY_API_KEY. For a consuming app's own provider key, use that module's documented BYOK flow and keep the secret on your server.

Serverless hosting

The web app and Geo Engine can be deployed separately. Configure the web app’s server environment with the deployed Geo Engine URL and a dedicated demo app credential. Keep app keys and provider BYOK keys server-side. Credential create/issue/expire/revoke remains an administrative CLI operation using the configured database; there is no application-management HTTP endpoint.

Live testing and BYOK

Try the Distance API calculator and Geofencing point-in-zone demo with the server-side Postman development credential configured. The Address API and self-hosted-first forward, reverse, and full-address autocomplete can also be tried through the web app proxy. Operations that require a Geoapify BYOK key, including IP and timezone, remain documentation-only in the public tester.

Default rate limits

For API quotas, optional rate-limit and rate-time headers, rate-limit response headers, and retry guidance, see the Rate limiting guide.

Counters are in memory on each running service instance. They reset on restart and are not shared across serverless instances, so public deployments should also set per-client limits at their hosting gateway or BFF.

View the Geo Engine source on GitHub