Skip to main content
GET
/
api
/
v1
/
crop-library
/
user-crops
curl 'https://www.wiseyield.co/api/v1/crop-library/user-crops?limit=50' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"
{
  "data": [
    {
      "id": "<string>",
      "userId": "<string>",
      "farmId": {},
      "adminCropId": "<string>",
      "source": "<string>",
      "userCustomizations": {},
      "adminCropName": "<string>",
      "adminCropCategory": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ],
  "pagination": {}
}

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/crop-library/user-crops
The shortlist is a per-user collection of admin-catalog crops the user is tracking or considering. Distinct from crops (which represent actual plantings on a field).

Authentication

Requires a key with the library:read scope.

Query parameters

page
integer
default:"1"
Page number (≥ 1).
limit
integer
default:"20"
Results per page (1–100).

Response

data
array
Array of user-crop objects (joined with parent admin crop name + category).
pagination
object
Offset pagination envelope.
curl 'https://www.wiseyield.co/api/v1/crop-library/user-crops?limit=50' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"

Errors

StatusWhen
401Missing, malformed, expired, or revoked API key
403 INSUFFICIENT_SCOPEKey lacks library:read scope
429 RATE_LIMIT_EXCEEDEDPer-user rate limit reached
5xxServer error