Data and services
Data access API
The LifeWatch service exposes the raw station measurements through HTTP GET requests, with JSON responses. The explorer uses exactly the same routes.
https://<domeniu>/lifewatch-apiUsage notes
- The /lifewatch-api route is served from the same address as the site, through a proxy, so it also works from the browser without any CORS setup.
- The interval of a measurement request must be shorter than 7 days. The response has at most 50,000 rows.
- Time zone, time step and missing values are described in documentation.
GET/health
Starea serviciului
Returns the service status. The explorer checks it on start-up to choose between real and demo data.
curl "https://<domeniu>/lifewatch-api/health"{ "status": "healthy" }GET/stations
Station list
All stations, with their type (weather or eddy covariance) and the methane sensor flag.
curl "https://<domeniu>/lifewatch-api/stations"[
{ "id": 1, "name": "Stația 1 - Ilfov, Cornetu", "kind": "meteorological", "has_ch4": null }
]GET/stations/{id}
A station's record
Station coordinates and the variables it measures, with units and descriptions.
| Parametru | Type | Descriere |
|---|---|---|
| id | integer | Station identifier from the list above. |
curl "https://<domeniu>/lifewatch-api/stations/1"{
"id": 1, "name": "Stația 1 - Ilfov, Cornetu", "kind": "meteorological",
"location": { "latitude": 44.334, "longitude": 25.966 },
"variables": [{ "name": "air_temperature", "label": "Air temperature", "units": "°C", "description": "" }]
}GET/stations/{id}/measurements
Time series
Values of the requested variables over the chosen interval. The interval must be shorter than 7 days, and the response has at most 50,000 rows.
| Parametru | Type | Descriere |
|---|---|---|
| variables | text, repetabil | One or more variables: variables=air_temperature&variables=air_humidity. |
| since | ISO 8601 | Start of the interval, for example 2026-10-01T00:00:00Z. |
| until | ISO 8601 | End of the interval. |
curl "https://<domeniu>/lifewatch-api/stations/1/measurements?variables=air_temperature&since=2026-10-01T00:00:00Z&until=2026-10-02T00:00:00Z"{
"variables": ["air_temperature"],
"timestamps": { "air_temperature": ["2026-10-01T00:00:20Z", "..."] },
"measurements": { "air_temperature": [11.4, "..."] }
}GET/variables
Catalogul variabilelor
All variables known to the service, with the station type, unit and description.
curl "https://<domeniu>/lifewatch-api/variables"[
{ "id": "air_temperature", "name": "Air temperature", "kind": "meteorological", "units": "°C", "description": "" }
]GET/stations/snapshot
Availability by station
For a variable and an interval, the number of records of each station, with its coordinates.
| Parametru | Type | Descriere |
|---|---|---|
| variable | text | The variable counted. |
| since, until | ISO 8601 | The interval, optional. |
curl "https://<domeniu>/lifewatch-api/stations/snapshot?variable=air_temperature"{
"stations": [{ "id": 1, "name": "Stația 1 - Ilfov, Cornetu", "location": { "latitude": 44.334, "longitude": 25.966 }, "count": 4320 }]
}Serviciul LTSER
Remote sensing, aggregated network values and social indicators come from a second service, published at /ltser-api. Its contract is documented with the explorer's code. Until it goes live, the explorer shows these modules with demo data, marked as such.

