# TBS Weather & Climate API – Soil & Agriculture Intelligence

> TBS Weather & Climate API – Soil & Agriculture Intelligence is a paid API for AI agents from x402.tbs-digital.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Returns live soil moisture at four depths, soil temperature at multiple depths, reference evapotranspiration (ET0), vapour pressure deficit, and frost risk for any lat/lon or city.

## Facts

- Endpoint: GET https://x402.tbs-digital.com/weather/agriculture?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tbs-weather-climate-api-soil-agriculture-intelligence-fd09ecc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KixHofS4s0eVJt1iZoQEq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tbs-weather-climate-api-soil-agriculture-intelligence-fd09ecc9
```

Example prompt: Pull the current soil moisture at all depths, soil temperature, ET0, vapour pressure deficit, and frost risk for my field at latitude 38.5 and longitude -122.8 — I need to decide whether to irrigate today.

## When to prefer this

Choose this endpoint when you need granular soil-layer data (moisture and temperature at multiple depths), ET0, vapour pressure deficit, and frost risk specifically for agricultural or irrigation decision-making. Prefer it over general weather endpoints when the use case is grower-facing, agronomist tooling, or crop management rather than atmospheric conditions alone. Ideal for precision agriculture agents that need soil-health intelligence at a specific GPS coordinate or named location.

## Known failure modes

- Missing both lat/lon and city — returns error requiring at least one location parameter
- Invalid latitude (outside -90..90) or longitude (outside -180..180) — returns validation error
- City name not recognized or ambiguous — may return no-match or wrong-location result
- No soil data available for remote ocean or polar coordinates — may return null agriculture fields
- Rate limiting or payment failure via x402 protocol — returns 402 Payment Required

## How this service works

Soil and agriculture intelligence for grower, agronomist and farming agents at any lat/lon. Returns live soil moisture at four depths, soil temperature at 0/6/18/54 cm, reference evapotranspiration (ET0), vapour pressure deficit and frost risk. For irrigation scheduling, soil-health monitoring and crop management.

## Output

A JSON object containing the queried location details, timestamp, and an agriculture block with: soil moisture readings at four depths, soil temperature at 0/6/18/54 cm, reference evapotranspiration (ET0), vapour pressure deficit, and frost risk indicator. Also includes payer address/network and a unique request ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude -90..90 (requires lon)"
      },
      "lon": {
       "type": "number",
       "description": "Longitude -180..180 (requires lat)"
      },
      "city": {
       "type": "string",
       "description": "City name (alternative to lat/lon)"
      },
      "timezone": {
       "type": "string",
       "description": "Optional IANA timezone"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "payer": {
       "type": "object",
       "properties": {
        "address": {
         "type": "string",
         "nullable": true
        },
        "network": {
         "type": "string"
        }
       }
      },
      "source": {
       "type": "string"
      },
      "location": {
       "type": "object",
       "properties": {
        "lat": {
         "type": "number"
        },
        "lon": {
         "type": "number"
        },
        "name": {
         "type": "string"
        },
        "country": {
         "type": "string"
        }
       }
      },
      "request_id": {
       "type": "string"
      },
      "agriculture": {
       "type": "object"
      },
      "generated_at": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "payer": {
   "address": "0x0000000000000000000000000000000000000000",
   "network": "base"
  },
  "source": "open-meteo",
  "location": {
   "lat": 48.85,
   "lon": 2.35,
   "name": "Paris",
   "country": "FR"
  },
  "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
  "agriculture": {
   "frost_risk": false,
   "soil_temp_0cm_c": 18.2,
   "soil_temp_6cm_c": 17.5,
   "soil_temp_18cm_c": 16.9,
   "soil_temp_54cm_c": 15.8,
   "evapotranspiration_mm": 3.4,
   "soil_moisture_0_1cm_m3m3": 0.28,
   "soil_moisture_1_3cm_m3m3": 0.3,
   "vapour_pressure_deficit_kpa": 0.9
  },
  "generated_at": "2026-08-09T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tbs-weather-climate-api-soil-agriculture-intelligence-fd09ecc9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tbs-digital.com](https://www.zero.xyz/host/x402.tbs-digital.com/llms.txt)
