Cannabis Cultivation API
Your cultivation data, ready for AI
With the PDS API, your apps, dashboards, and AI tools all pull from the same trusted data on every harvest, room, and sensor.
Book a demo| Zoap | 129.9 g |
| Runtz | 117.6 g |
| Gumbo | 116.8 g |
| Facility average | 112.4 g |
APIs and AI
As AI becomes part of everyday work, more growers are using APIs to use their data in ways they never could before. A common setup is an API key from a sensor company plugged into an AI subscription and paired with a yield spreadsheet. But there’s a hidden risk growers are finding out about. Millions of rows of time-series sensor data are more than these tools can handle, so they skip data or make mistakes without telling the grower, and the insights look solid when they aren’t. Million-dollar decisions shouldn’t ride on a $20-a-month AI subscription.
Big decisions deserve data you can trust.
Looking for a fix
Once the numbers stop adding up, a lot of growers try one of three fixes. They keep feeding their API to a general AI and hope the answers get better, vibe code their own tool, or hire a data team. Each one gets part of the way there, but only PDS fixes the data before your AI ever sees it.
Plug your API into Claude or ChatGPT
EffortVibe code it
EffortBuild it yourself
EffortTeam cost is based on typical salaries of $108K to $145K a year before benefits. Savings are based on current PDS pricing.
How PDS gets your data ready for AI
PDS pulls your data in automatically, with no uploads or spreadsheets to keep up. It lands everything in one place, cleans it up and does the yield, strain, environmental and Metrc math itself, so your AI gets answers instead of raw rows. Every result comes back with its units, its date window and any data problems we found, and missing data shows up as missing instead of zero. You get 23 built-in reports to start, including the morning grower report, weekly cultivation review, strain comparison, harvest forecast and Metrc readiness. When we add a new one, your AI picks it up the next time it connects.
- Morning grower report
- Weekly cultivation review
- Strain comparison
- Harvest forecast
- Metrc readiness
Connect the AI tools you already use
Claude Code and Codex
Install the PDS data skill, add your API key once, and ask questions in plain English.
The PDS MCP
A whole new level of insights. Connect the PDS MCP to the Claude app and start asking questions, with no installs or command lines.
Your own apps and dashboards
Feed your BI tools, internal apps or your own product straight from the GraphQL API.
Book a demo and we’ll walk you through the API using your own grow’s data.
Book a demoSee How PDS Compares
We counted the public API operations of cannabis cultivation software, by category. The full table is below.
Public API coverage by category
| PDS | Compliance and ERP software | Controller company | Sensor company | |
|---|---|---|---|---|
| Total API operations | 323 | 60 to 90 | About 30 | Under 10 |
| Read operations | 124 | 30 to 65 | About 20 | Under 10 |
| Write operations | 199 | 20 to 30 | Under 10 | None |
| Data types | 786 | About 20 to 85 | Not published | Not published |
| API style | GraphQL | REST | REST | REST |
| AI connector for Claude | Yes, read plus logs and tasks | Read-only beta or none | None found | Read only |
Ranges come from the public API documentation of companies in each category as of November 2026. An operation is one action the API offers, like reading a harvest or creating a task. Counts show how much an API covers, not how well it works.
Already using sensors and controllers?
PDS pulls in your device data, so you keep your sensors and controllers and get the full picture on top.
Give This to Your Developers
This guide contains everything your team needs to connect and use the PDS API and MCP
- Three ways to connectThe GraphQL API, the PDS MCP, and the PDS data skill.
- An example request and responseOne GraphQL query and the result it returns.
- A developer FAQAuthentication, key access, rate limits, bulk export and more.
- The PDS MCP specWhat it reads and writes, and how to connect it in about 2 minutes.
Get the developer guide
Fill in the form to unlock and download the PDF.
We use your email to send PDS updates. You can unsubscribe any time.
Submitted but no download button? Get the guide here.
Your guide is ready
Thanks. Your download is below, and you can come back to this page any time to get it again.
Download the guide (PDF)Questions about the PDS cannabis cultivation API
For developers
What kind of API is PDS?
A GraphQL API. You ask for exactly the fields you need in one request, and the schema documents everything that’s available.
How do I authenticate?
Create an API key in your PDS settings and send it in a request header, either as Authorization: Bearer <key> or X-API-Key: <key>. Never put a key in a URL.
What can an API key access?
Each key is scoped to one organization and is read-only by default. Write access is limited to tasks and logs, and you can revoke a key at any time.
Are there rate limits?
Yes. Every key has per-minute and per-day limits, and every request is logged.
How do I find the available reports and queries?
PDS serves a catalog of instructions and report recipes through the API, and the GraphQL schema documents every field. Large results come back in pages, with a cursor to fetch the next one.
Can I export my data in bulk?
Yes. Bulk export is available through the API.
Is there an SDK?
There’s a lightweight Python helper, plus the PDS data skill for Claude Code and Codex, and the PDS MCP for the Claude app.
What’s PDS built on?
Python and Django with a GraphQL layer, PostgreSQL, and Kubernetes with automated deployments.
Do you offer webhooks?
We can set up webhooks depending on what you need. Contact PDS for more details.
For growers
What is an API, and why does it matter for my grow?
An API is how one piece of software shares data with another. Metrc, your sensors and your accounting software all have one, and AI tools can now use them to answer questions about your grow. The catch is that the data has to be cleaned up and connected first, or the answers won’t hold up.
Is it safe to paste my API key into ChatGPT or Claude?
Treat an API key like a password. Pasted into a chat, it can sit in your chat history, and some keys can change your data as well as read it. PDS keys are read-only by default, limited to your organization, and you can revoke them any time.
Can I connect Claude to my cannabis grow data?
Yes. Growers using Claude Code or Codex can install the PDS data skill today and ask about their yields, rooms and harvests in plain English. Or connect the PDS MCP to the Claude app and ask the same questions with no installs.
Why does my AI give different answers about my yields?
Millions of rows of time-series sensor data are more than a general AI tool can handle, so it can skip data or do the math differently each time without telling you. PDS does the yield and environmental math inside the platform the same way every time, so your AI starts from the same numbers whenever you ask.
Does the PDS API work with Metrc?
Yes. PDS syncs your Metrc data for each license and ties it to your rooms and harvests. The API includes reports for Metrc readiness and for tracing where your harvest numbers came from.
Can other growers see my data through the API?
No. Every API key is limited to your own organization, and you create and revoke keys yourself in your PDS settings. Every key is also rate limited and every request is logged.
Do I need to know how to code to use the PDS API?
No. With Claude Code or Codex there are a few setup steps and we’ll walk you through them. Developers building their own apps can use the GraphQL API directly.
I vibe coded an app for my grow. Can I use PDS as the backend?
Yes, for your grow data. Your app can pull clean room, harvest, sensor and report data from the PDS API instead of building its own data pipelines. Contact PDS for more details on setting it up.
Can I just connect my sensor company’s API to an AI tool?
You can, and plenty of growers do. The trouble is that millions of rows of time-series sensor data are more than a general AI tool can handle, so it can skip data or make mistakes without telling you. PDS pulls that data in, ties it to your rooms and harvests, and does the math before your AI sees it.
What systems does PDS pull data from?
Metrc, environmental controllers like Aroya, TrolMaster and Growlink, Dutchie, QuickBooks and your own harvest records. For equipment without an API, PDS can collect data on site with its own field hardware. See the full list on the integrations page.
How is PDS different from building our own data warehouse?
A warehouse holds your data. PDS also cleans it, fills the gaps Metrc leaves, ties each reading to the right room and harvest, and runs the cultivation math, and it was built by growers who know what those numbers should look like. There’s no data team to hire or keep.
How long does it take to get set up?
As fast as 10 minutes for systems PDS already connects to. Bigger setups with more systems take longer. We handle the setup and data mapping with your team.
How much does the PDS API cost?
Pricing depends on your operation. For most growers it costs at least 80% less than hiring an in-house data team. Book a demo and we’ll price it for your grow.
What kinds of questions can I ask once it’s connected?
Bigger ones than most growers expect. With complete data, you can ask “What’s my most profitable strain, and what’s the best setup to grow it?” or “Which environmental factors are affecting my yield the most?” Day-to-day questions like “How did VPD look in Room 2 last week?” work too, backed by 23 built-in reports.
Can the API change my data?
Only if you set it up to. Keys are read-only by default, and write access is limited depending on your needs.
Request a 30-minute PDS demo
Tell us about your operation. We’ll follow up to set a time and walk you through the API using your own grow’s data.