Skip to main content
GET
/
api
/
v1
/
crop-library
/
crop-details
curl 'https://www.wiseyield.co/api/v1/crop-library/crop-details?adminCropId=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"

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/crop-details

Authentication

Requires a key with the library:read scope.

Query parameters

One of adminCropId or name is required.
adminCropId
string
UUID of the admin crop.
name
string
Crop name (case-insensitive exact match).

Response

Returns the admin crop wrapped under data. See Search crops for the full field reference.
curl 'https://www.wiseyield.co/api/v1/crop-library/crop-details?adminCropId=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"

Errors

StatusWhen
400 VALIDATION_ERRORNeither adminCropId nor name provided
400 INVALID_IDadminCropId is not a valid UUID
401Missing, malformed, expired, or revoked API key
403 INSUFFICIENT_SCOPEKey lacks library:read scope
404 NOT_FOUNDNo matching admin crop
429 RATE_LIMIT_EXCEEDEDPer-user rate limit reached
5xxServer error