Skip to content

土壤温湿度

目前仅支持中国区域实况数据,逐小时更新

bash
curl "https://api.caiyunapp.com/v1/soil?token=TOKEN&lng=116&lat=39"
json
{
  "status": "ok",
  "result": {
    "soil": [
      {
        "depth": "0-0.1",
        "tsoil": 3.100006103515625,
        "soliw": 0.1529541015625
      },
      {
        "depth": "0.1-0.4",
        "tsoil": 4.850006103515625,
        "soliw": 0.237060546875
      }
    ],
    "meta": {
      "updated_at": 1640248183, // 数据更新时间
      "datatime": 1640246400 // 数据批次时间
    }
  }
}