Skip to content

Crops (code+label)

GET /reference/crops
  • Scope catalog:read
  • API key x-api-key
  • Base URL https://api.hub.akuasense.com/v1

Query parameters

  • lang string

    Language of the label fields, and of a probe’s default name (name: “Probe 3”, “Sonde 3”). The code values never vary. A crop with no translation falls back to its French name.

    Values: enfr
    Default: en

Response

200

Crop catalog, sorted on the French name whatever lang is

  • data array of CropReference always present

    A crop from the shared catalogue. root_depth_min_cm and root_depth_max_cm do 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
    • code string always present

      Stable identifier of the crop. This is the value to pass, as an integer, in cropId of PUT /modules/{id}/crop.

    • label string always present

      Name of the crop in the requested language (lang). With no English translation, falls back to the French name.

    • scientific_name string nullable always present

      Scientific name. null if not filled in.

    • root_depth_min_cm number always present

      Usual 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_cm number always present

      Light 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