Build on CAMARON
Connect your IoT sensors, integrate market data, and leverage 13 AI functions through our RESTful API. Open ecosystem for aquaculture innovation.
IoT Webhook Ingestion
Push sensor data from any IoT device via HTTP POST with device_key authentication. Supports V1-V8 hardware.
163+ Species API
Query the full species database with optimal water params, growth curves, FCR benchmarks, and market sizes.
Tiered Auth System
Public read endpoints, API key for IoT/market data, JWT Bearer for AI modules. RBAC with 22+ roles.
Real-Time SSE Streaming
Server-Sent Events for AI responses with token-by-token rendering. Supports chat, analysis, and alerts.
Global Edge Deployment
Edge functions across 30+ regions for low-latency sensor ingestion. Multi-CDN with 99.9% uptime SLA.
Enterprise Security
Per-device rate limiting, RLS-protected data, encrypted API key rotation, and RBAC enforcement.
API Endpoints
| Method | Endpoint | Auth |
|---|---|---|
| POST | /api/v1/sensor-data | API Key |
| GET | /api/v1/sensor-data/{device_id} | API Key |
| POST | /api/v1/devices/register | Bearer |
| GET | /api/v1/species/{id} | Public |
| GET | /api/v1/species | Public |
| POST | /api/v1/disease/detect | Bearer |
| GET | /api/v1/disease/protocols | Public |
| GET | /api/v1/market-prices | API Key |
| GET | /api/v1/feed-prices | API Key |
| POST | /api/v1/feed/optimize | Bearer |
| GET | /api/v1/water-standards | Public |
| POST | /api/v1/growth/forecast | Bearer |
| POST | /api/v1/water/analyze | Bearer |
| POST | /api/v1/harvest/readiness | Bearer |
| GET | /api/v1/export-regulations/{country} | API Key |
| POST | /api/v1/chat | Bearer |
| GET | /api/v1/feed-recipes | API Key |
| POST | /api/v1/benchmark | Bearer |
| GET | /api/v1/medications | Public |
| POST | /api/v1/webhooks/configure | Bearer |
Edge Functions LIVE
These backend functions are currently deployed and can be invoked via the Supabase client SDK.
| Function | Status |
|---|---|
| ai-aquaculture-chat | Live |
| ai-crop-intelligence | Live |
| ai-expert-prescription | Live |
| ai-feed-growth | Live |
| ai-pond-analytics | Live |
| ai-market-intelligence | Live |
| ai-supply-compliance | Live |
| analyze-creature | Live |
| iot-webhook | Live |
| weather-data | Live |
| water-alerts | Live |
| community-benchmarks | Live |
import { supabase } from "@/integrations/supabase/client";
const { data, error } = await supabase.functions.invoke(
"ai-crop-intelligence",
{ body: { creature: "Shrimp", species: "Vannamei", cropData: {...} } }
);SDK Quick Start
import fetch from 'node-fetch';
// List species
const species = await fetch('https://api.camaron.ai/v1/species', {
headers: { 'x-api-key': process.env.CAMARON_API_KEY }
}).then(r => r.json());
// Push sensor data
await fetch('https://api.camaron.ai/v1/sensor-data', {
method: 'POST',
headers: {
'x-api-key': process.env.CAMARON_API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({
device_id: 'D001',
ph: 7.8, temperature: 28.5, dissolved_oxygen: 5.2
})
});IoT Manufacturer Integration
1. Register Devices
Each sensor gets a unique device_key for authentication. Supports V1–V8 hardware profiles with GPS and pond assignment.
2. Push Sensor Data
HTTP POST to /api/v1/sensor-data with DO, pH, temp, salinity, ammonia, turbidity. Real-time ingestion across 30+ edge regions.
3. Access AI Insights
Your device data feeds 13 AI functions — water advisor, disease predictor, growth forecaster, risk scoring & more. Co-brand the intelligence layer with your hardware.
Developer Changelog
- Interactive Try-It panels on all documented endpoints
- Multi-language SDK snippets (JS, Python, cURL)
- Developer changelog section
- Added /api/v1/benchmark endpoint
- SSE streaming for chat responses
- Webhook callback configuration
- Disease detection via YOLO V4
- Feed optimization AI module
- Rate limiting per API key
- 163+ species database
- Market price endpoints
- IoT device registration
20 endpoints • 6-module AI Suite • SSE streaming • Webhook callbacks • 30+ region edge deployment
Request API Access