Crops (code+label)
/reference/crops Query parameters
-
langstringLanguage of the
labelfields, and of a probe’s default name (name: “Probe 3”, “Sonde 3”). Thecodevalues never vary. A crop with no translation falls back to its French name.
Response
Crop catalog, sorted on the French name whatever lang is
-
dataarray of CropReference always presentA crop from the shared catalogue.
root_depth_min_cmandroot_depth_max_cmdo NOT describe root growth (a start and an end): they are the two bounds of one depth, which depends on the soil and on irrigation. Annual crops: FAO-56 Rev.1 (2025). Trees and vines: the zone holding most of the roots and uptake of a mature drip-irrigated orchard, from published measurements.Show 5 attributes Hide attributes
-
codestring always presentStable identifier of the crop. This is the value to pass, as an integer, in
cropIdofPUT /modules/{id}/crop. -
labelstring always presentName of the crop in the requested language (
lang). With no English translation, falls back to the French name. -
scientific_namestring nullable always presentScientific name.
nullif not filled in. -
root_depth_min_cmnumber always presentUsual case, in cm: medium or heavy soil, or frequent irrigation such as drip. This is the value the hub uses to schedule irrigation, constant over the whole cycle.
-
root_depth_max_cmnumber always presentLight or deep soil, in cm, especially with widely spaced irrigation. The hub uses it in no calculation.
-
Errors
- 401
Not authenticated
- 403
Insufficient scope, or resource outside your company