Skip to content

SurfaceLens#

SurfaceLens maps each airport data feed into one shared schema and gives each application a single scoped connection to it. Query aircraft, flights, vehicles, stands and runways by place and time, replay any instant, and test a change to the day before you make it.

QuickstartAPI reference

Preview design. These pages describe the v1 API as designed. No endpoint is served yet. Examples use a simulated day at Suvarnabhumi (VTBS). Status and changelog

Aircraft within 600 m of stand C2
curl -G https://api.surfacelens.app/v1/airports/VTBS/entities \
  -H "Authorization: Bearer $SURFACELENS_KEY" \
  -d type=aircraft \
  -d near=13.69214,100.75388 \
  -d radius=600

200 OK

{
  "object": "list",
  "at": "2026-11-23T02:58:41Z",
  "data": [
    {
      "id": "aircraft:8851a4",
      "label": "HS-THB",
      "distance_m": 3.6,
      "attributes": { "stand": "stand:C2", "movement": "parked" }
    },
    {
      "id": "aircraft:76cd51",
      "label": "9V-SMF",
      "distance_m": 160.2,
      "attributes": { "stand": "stand:C4", "movement": "taxi" }
    }
  ]
}

How it works

Map each feed once. Connect each application once.#

Without a shared model, every application keeps its own adapter to every feed: N feeds and M applications need N × M integrations. SurfaceLens needs N mappings and M keys.

The shared model Seven airport feeds are each mapped once into the SurfaceLens shared model for an airport. Five applications each read it through one scoped API key. FEEDS SHARED MODEL APPLICATIONS Flight scheduleAODB Stand allocationRMS Surface tracksADS-B WeatherMETAR Cameras, sensors Workforce positions Airfield mapAMDB one mapping each VTBS one schema, one timeline aircraft flight vehicle person stand runway taxiway, area observations with provenance any instant, replay, what-if one scoped key each Turnaround board Stand planning Apron safety Handler dispatch Airline operations
Each feed is mapped into the shared model once. Each application reads it through one key whose scopes limit what it can see and do.

Ask by place and timeEvery read accepts at. Spatial reads take a point and radius, a polygon, or an airfield feature such as a runway strip.

Trace every valueEach attribute of an entity names the observation it came from, and each observation keeps the raw record it was mapped from.

Compare before you changeA scenario simulates the whole day twice, as planned and with your change, in about four seconds at VTBS.

Get started

From a first call to a working application#

  1. Make a first call#

    Use a test key to read the simulated VTBS day: the airport, the aircraft near a stand, and the same place half an hour earlier.

    About 5 minutes

  2. Connect a feed#

    Register a flight schedule feed, map its records to the shared schema, test the mapping, push records and activate it.

    About 30 minutes

  3. Build on the model#

    Query by place and time, subscribe to changes, replay an incident, and run a what-if on a runway closure.

    Guides