Skip to main content
GET
/
api
/
v1
/
crops
/
{id}
curl 'https://www.wiseyield.co/api/v1/crops/33333333-4444-5555-6666-777777777777' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"
{
  "data": {
    "id": "33333333-4444-5555-6666-777777777777",
    "farmId": "11111111-2222-3333-4444-555555555555",
    "fieldId": "88888888-9999-aaaa-bbbb-cccccccccccc",
    "cropType": "date palm",
    "variety": "Medjool",
    "plantedArea": "4.2",
    "status": "growing",
    "createdAt": "2024-03-15T08:00:00.000Z",
    "updatedAt": "2026-05-10T14:30:00.000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.wiseyield.co/llms.txt

Use this file to discover all available pages before exploring further.

GET https://www.wiseyield.co/api/v1/crops/{id}

Authentication

Requires a key with the crops:read scope.

Path parameters

id
string
required
Crop UUID.

Response

Returns the crop wrapped under data. See List crops for the full field reference.
curl 'https://www.wiseyield.co/api/v1/crops/33333333-4444-5555-6666-777777777777' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"
{
  "data": {
    "id": "33333333-4444-5555-6666-777777777777",
    "farmId": "11111111-2222-3333-4444-555555555555",
    "fieldId": "88888888-9999-aaaa-bbbb-cccccccccccc",
    "cropType": "date palm",
    "variety": "Medjool",
    "plantedArea": "4.2",
    "status": "growing",
    "createdAt": "2024-03-15T08:00:00.000Z",
    "updatedAt": "2026-05-10T14:30:00.000Z"
  }
}

Errors

StatusWhen
400 INVALID_ID{id} is not a valid UUID
401Missing, malformed, expired, or revoked API key
403 INSUFFICIENT_SCOPEKey lacks crops:read scope
404 NOT_FOUNDCrop doesn’t exist, is soft-deleted, or belongs to a farm the user doesn’t own
429 RATE_LIMIT_EXCEEDEDPer-user rate limit reached
5xxServer error