Docs

Every call goes through the gateway with the farm's API key.

EnvironmentBase URL
Productionhttps://api-prod.nextfarm.vn

Quickstart

From zero to your first API call in 5 steps — farm owners or partners.

API keys and scopes

Headers, 22 scopes, safety limits, error codes.

Webhooks

3 events, sample payload, signature verification, retry schedule.

MCP for AI assistants

Connect any AI assistant, 32 tools (read-only).

Security

Credentials, least privilege, HMAC-SHA256 signatures, HTTPS, key rotation, vulnerability reports.

Apps & OAuth

Software for many farms: create an app, the install link returns a code, Test Console, Publish.

Error codes

HTTP statuses, error codes, causes and fixes.

Rate limit

600 calls/minute per app × farm / API key, X-RateLimit-*, 429.

DownloadsOpenAPI 3Postmanllms.txtllms-full.txtGenerated from the running services.

API reference — 146 operations

Parcels, zones, farmers, seasons, map layers — the farm's spatial data foundation.

Devices, sensor readings, alerts, irrigation schedules. API keys have no device-control API.

Harvest records, pre-harvest intervals, traceability lots, QR labels, certificates, market prices.

The farm's custom books (logs, inventory, costs…), calendar and automation rules: read tables, read/add/edit rows.

Reports →/api/v1/reports

Reports and labour cost by period.