Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quickstart: your first API request

Create an API key and make your first requests to the LumiDB API.

In a few minutes you create an API key, list your datasets and search for data in an area. You need a LumiDB account and a tool that sends HTTP requests, such as curl.

All requests go to https://api.lumidb.com/api.

1. Create an API key

Open API keys under Admin in the sidebar, click Create API key, give the key a name and copy it. LumiDB shows the key once. See API keys for the steps and for the ways to send a key.

2. List your datasets

Send the key in the Authorization header, as apikey followed by the key.

curl https://api.lumidb.com/api/datasets \
  -H "Authorization: apikey lumi_your_key_here"
import os
import requests

BASE = "https://api.lumidb.com/api"
headers = {"Authorization": f"apikey {os.environ['LUMIDB_API_KEY']}"}

datasets = requests.get(f"{BASE}/datasets", headers=headers).json()
for dataset in datasets.values():
    print(dataset["kind"], dataset["display_name"], dataset["size_bytes"])
const BASE = "https://api.lumidb.com/api";
const headers = { Authorization: `apikey ${process.env.LUMIDB_API_KEY}` };

const response = await fetch(`${BASE}/datasets`, { headers });
const datasets = await response.json();
for (const dataset of Object.values(datasets)) {
  console.log(dataset.kind, dataset.display_name, dataset.size_bytes);
}

The response is an object keyed by dataset ID. The datasets you can see depend on your access.

{
  "0195f4f2-0000-7000-8000-000000000000": {
    "id": "0195f4f2-0000-7000-8000-000000000000",
    "name": "my_scan",
    "display_name": "My scan",
    "kind": "pointcloud",
    "proj": "EPSG:3067",
    "bounds_wgs84": [24.927, 60.168, 24.929, 60.169, 10.0, 15.0],
    "size_bytes": 60000,
    "created_at": "2026-10-25T08:35:23.163198Z",
    "project_id": null
  }
}
Field
What it holds

kind

pointcloud, raster or attachment.

name

The name that other endpoints use.

display_name

The name shown in the app. It falls back to name.

proj

The coordinate reference system of the dataset.

bounds_wgs84

[west, south, east, north, low, high]. The first four are degrees.

size_bytes

The size of the dataset.

project_id

The project the dataset belongs to, or null.

If the response is 401, the key is missing or invalid.

3. Search an area

Send a bounding box as [west, south, east, north] in degrees (WGS84). The response lists the point cloud and raster datasets whose footprint intersects the box.

west must be less than east. For an area that crosses 180° of longitude, send two searches.

Next steps