Skip to main content
L
LDPS Africa
Developer API

Build on the platform.

Enterprise customers can pull farms and KPI snapshots into their own BI, ERP or investor reporting stack. Authentication is via a project API key issued from the Enterprise console.

API keys

Issue and revoke project-scoped keys from the Enterprise console. Each key is bound to a single organisation.

REST + JSON

Standard HTTPS, bearer-token authentication, JSON responses. No proprietary SDK required.

Fair-use limits

60 requests per minute per key on Enterprise tier. Higher limits available on request.

Endpoints

GET
/api/public/v1/farms

List farms accessible to your API key.

GET
/api/public/v1/farms/{farmId}

Single farm record with species, location and ownership context.

GET
/api/public/v1/kpis

Latest KPI snapshots, scoped by farm, species and date range.

Example request

curl https://ldpspro.lovable.app/api/public/v1/kpis?species=swine \
  -H "Authorization: Bearer YOUR_API_KEY"