Endpoints
TSM API
The Trouble-Shooting Model: pests and diseases recorded for a crop, each with an identification photo, symptoms and management.
GET
Try it
/crop/api/tsm/{crop}
Path parameters
crop
string
path
required
One of cauliflower, onion,
tomato.
Response fields
The response is an array of disease objects.
id
integer
Primary key. Stable across releases, safe to store.
name
string
Common name of the disease.
pic
string (URL)
Absolute URL to the identification photo.
description
string
Symptoms and epidemiology, in plain language.
solution
string
Recommended management. Translated into Nepali on the public site.
Try it
Pick a crop and fetch its disease list.
Sent as X-API-Key for this request only.
How to get one.