Developers

API Reference

Pull live farm data into your own website or integrations.

Base URL

https://api.jct.farm/v2

Authentication

All requests require a Bearer token. Generate API keys from Settings → Integrations in your JCT dashboard.

Authorization: Bearer YOUR_API_KEY

Products

List all products with current inventory levels.

GET /products { "data": [ { "id": "prod_8x2k", "name": "Heirloom Tomatoes", "price": 4.00, "unit": "lb", "quantity_available": 142, "in_stock": true } ] }

Orders

Create and retrieve online orders from your farm website.

GET /orders?status=pending POST /orders/{id}/fulfill

Webhooks

Subscribe to real-time events: inventory.updated, order.created, surplus.listed.

POST /webhooks { "url": "https://yourfarm.com/hooks/jct", "events": ["inventory.updated", "order.created"] }

API access is included on Grower and Harvest plans. See pricing for details.