The JavaScript examples use @shmaplex/xplant-sdk 0.4.0, which is on its way to npm. Until it lands, npm install gives you an older version. curl and Python examples work today.

xPlant REST API · v1

Connect your lab to xPlant.

Read and write plants, tasks, transfers, SOP runs, labels and sensor data from your own scripts, bench stations and devices. One key, the scopes you choose, and a response shape that never surprises you.

Your first call
curl https://app.xplantpro.com/api/v1/me \
  -H "Authorization: Bearer $XPLANT_API_KEY"
{
  "ok": true,
  "data": {
    "key": {
      "name": "Grow room bridge",
      "prefix": "xpk_live_abcd"
    },
    "scopes": ["read:plants", "read:tasks"],
    "workspace": { "id": "…" }
  }
}

Start here

Working with an AI assistant?

Point it at https://docs.xplantpro.com/llms-full.txt for the whole API on one page, or use “Copy page as Markdown” on any page.

How it works