SoilSense soil moisture data flowing into other systems through an API and webhooks

API & webhooks

An easy-to-use API and webhooks for your soil moisture data

SoilSense gives you full programmatic access to your soil data through a documented REST API and real-time webhooks — so it works with the farm software, dashboards, and automations you already run.

Your data, your way

Your readings don't have to stay locked inside an app. With the SoilSense API and webhooks, every measurement your sensors collect is yours to pull, push, and combine with the rest of your operation — no CSV wrangling, no lock-in.

REST API

Read every measurement with a simple REST API

Authenticate with a personal API key and read your farms, observation sites, and full measurement history as clean JSON.

bash
# the latest reading for a site
curl https://api.app.soilsense.io/api/site/{siteId}/observations/latest \
  -H "x-api-key: $SOILSENSE_API_KEY"

# 200 OK
{
  "timestamp": 1640995200000,
  "rssi": -75,
  "data": { "top": {
    "volumetricWaterContent": 25.5,
    "temperature": 18.5,
    "plantAvailableWater": 75.2,
    "salinity": 0.45
  } }
}
01

All your soil data

Volumetric water content, temperature, salinity, and plant-available water at every depth, plus rainfall from connected rain gauges.

02

Farms, sites, and history

List your farms and observation sites, read their configuration, and query historical readings over any time range.

03

The latest reading, instantly

Fetch the most recent observation for any site in a single request — ideal for live dashboards and quick status checks.

Webhooks

Real-time webhooks push data straight to you

Instead of polling for updates, let SoilSense send data to your endpoint the moment it arrives.

Telemetry webhooks

New sensor readings are pushed to your endpoint in real time, ready to drop into your database, dashboard, or irrigation controller.

Attributes webhooks

Get notified whenever an observation site is created or changed, so your own records stay in sync automatically.

Signed and secure

Every webhook can be verified with an optional HMAC-SHA256 signature, so you know each request genuinely came from SoilSense.

POST your-endpoint
// pushed from SoilSense the moment it arrives
{
  "ts": 1640995200000,
  "values": {
    "volumetricWaterContent_top": 25.5,
    "plantAvailableWater_top": 75.2,
    "irrigationStatus": "ok"
  }
}

// verify with the signature header
SoilSense-Signature: t=…,v1=<hmac-sha256>

What you can build

Connect SoilSense to the tools you already use

Farm management software

Bring soil moisture and plant-available water into the platform you already plan irrigation in.

Automated irrigation

Trigger or fine-tune irrigation controllers from live readings and drying alerts.

BI and reporting

Feed dashboards, spreadsheets, and reports for water-use accounting and compliance.

Custom alerts and automations

Route readings into your own notification, automation, or analytics pipeline.

API and webhooks — frequently asked questions

The essentials on connecting SoilSense to your own systems.

Start building with the SoilSense API

Full reference, endpoints, and examples — everything you need to connect SoilSense to your systems.

Read the API docs

Let's talk

Want to integrate SoilSense?

Tell us what you'd like to connect and we'll help you get the most out of the API and webhooks.

Contact us

No commitment · We'll get back to you as soon as we can

Or stay in the loop

Occasional updates on product releases and the latest in agricultural technology.