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": {}
}Crop Library
List shortlist
List crops on the user’s personal shortlist (curated favorites).
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": {}
}GET https://www.wiseyield.co/api/v1/crop-library/user-crops
crops (which represent actual plantings on a field).
Authentication
Requires a key with thelibrary:read scope.
Query parameters
integer
default:"1"
Page number (≥ 1).
integer
default:"20"
Results per page (1–100).
Response
array
Array of user-crop objects (joined with parent admin crop name + category).
Show User crop
Show User crop
string
UUID.
string
Owner user ID.
string | null
Optionally bound to a specific farm.
string
UUID of the linked admin crop.
string
How the crop was added:
manual_search or ai_recommendation.object | null
User overrides (custom name, notes, growth duration).
string
Convenience join — name of the linked admin crop.
string
Convenience join — category of the linked admin crop.
string
ISO 8601.
string
ISO 8601.
object
Offset pagination envelope.
curl 'https://www.wiseyield.co/api/v1/crop-library/user-crops?limit=50' \
-H "Authorization: Bearer $WISEYIELD_API_KEY"
Errors
| Status | When |
|---|---|
401 | Missing, malformed, expired, or revoked API key |
403 INSUFFICIENT_SCOPE | Key lacks library:read scope |
429 RATE_LIMIT_EXCEEDED | Per-user rate limit reached |
5xx | Server error |