Endpoints
Soil API
The full soil profile for a single point in Nepal, plus the recommended fertilizer dose per crop and variety for that soil rating.
/soil/api/soildata
Query parameters
Decimal latitude in EPSG:4326, between 26.3 and 30.5. A coordinate
outside Nepal returns 404. Example 28.5737.
Decimal longitude in EPSG:4326, between 80.0 and 88.2.
Example 80.8068.
Response format: json (default) or xml.
Response fields
The requested lat / lon echoed back
(rounded to 3 dp) plus elevation in metres.
Soil pH at this point, with its rating in brackets,
"7.69 (Low Alkaline)".
The rating on its own, for the seven classified properties
(ph, organic_matter,
total_nitrogen, potassium,
p2o5, boron, zinc). Parse
this rather than the bracketed text.
A display hint used by the NARC map: red for
High / Very High, #777 otherwise. Presentation only;
ignore it if you are not rendering our UI.
Soil composition, percent by mass. Values carry their unit suffix.
Micronutrient concentration in ppm.
Macronutrients in kg/ha.
Parent soil group, from the 1:100k national soil survey.
Administrative location for the point.
Recommended MOP, DAP and split urea doses plus organic manure, zinc
and boron for the soil rating at this location. MOP, DAP and urea
are kg per kattha; organic manure is t/ha, zinc and boron kg/ha.
NA where a nutrient does not apply to the crop.
Try it
Pick a point in Nepal and call the live endpoint with your API key. The call counts against your key's allowance.
Sent as X-API-Key for this request only.
How to get one.