Supported Indices
Calculate an Index
Calculate a vegetation index for a field on a specific date. The API selects the best available imagery for that date (lowest cloud cover) or uses the exact imagery ID you specify.Path Parameters
Query Parameters
The vegetation index to calculate. Accepted values:
NDVI, NDRE, NDWI, EVI, SAVI, MSAVI2, custom.The target date for the calculation in
YYYY-MM-DD format. The API uses the best available image on or nearest to this date.When
true, the response includes per-zone summary statistics: min, max, mean, and std (standard deviation) calculated across all valid pixels within the field boundary.Pin the calculation to a specific imagery record by ID. If omitted, the API automatically selects the image with the lowest cloud cover for the requested date.
Example Request
Example Response
Response Fields
Summary statistics for the index across all valid pixels within the field boundary. Only present when
zonal_stats=true.A GeoJSON
FeatureCollection containing the per-pixel index values rasterised as vector features, clipped to the field boundary.Index values generally range from
-1.0 to 1.0 for normalised difference indices. Pixels with cloud_cover or masked areas are excluded from the calculation and appear as null in the GeoJSON output.Get an Index Time Series
Retrieve a historical time series of aggregated index values for a field over a date range. Use this endpoint to track seasonal crop development, compare growing seasons, or detect anomalies over time.Path Parameters
Query Parameters
The vegetation index to compute for each period. Same accepted values as the single-date endpoint.
The aggregation interval. Accepted values:
daily, weekly, biweekly. The best available image within each interval is used.Example Request
Response
Returns a JSON array where each element represents one interval.Calculate a Custom Index
Define and calculate a custom vegetation index using a band-math formula. This is useful when you need an index that is not in the standard set, or when you want to test experimental formulas on your own data.Path Parameters
Request Body
A descriptive name for your custom index (e.g.,
"My Red-Edge Ratio"). This name is stored with the result for reference.The band-math formula expressed as a string using standard arithmetic operators and Sentinel-2 band identifiers. For example:
"(B08 - B04) / (B08 + B04)" reproduces the standard NDVI formula.Available band identifiers: B02 (Blue), B03 (Green), B04 (Red), B05 (Red Edge 1), B06 (Red Edge 2), B07 (Red Edge 3), B08 (NIR), B11 (SWIR 1), B12 (SWIR 2).