Search

Soil API

Access Soil data for any location on Nepal. Data is available in JSON, XML format.

By Geographic Coordinates

Description:

you can call by geographic coordinates. API responds with list of results that match a searching word.

API Call:

domain/api/soildata?lat={lat}&lon={lon}

Parameters:

Lat, Lon coordinates of the location of Nepal

Examples of API calls:

JSON:

Click here for demo..

API response:

          {
            "totalNitrogen": "0.12 %",
            "p2o5": 57.48,
            "ph": 7.05,
            "parentsoil": "Fluvial non calcareous",
            "sand": "30.68 %",
            "boron": "0.75 ppm",
            "coord": {
                "lon": 80.695,
                "lat": 28.746
            },
            "clay": "24.36 %",
            "organicMatter": "2.29 %"
        }
        

Parameters:

  • coord
    • coord.lon geo location, longitude
    • coord.lat geo location, latitude
  • Clay Clay Contents in the soil. Unit Default:percentage
  • Ph Ph value of the soil.
  • organicMatter Organic Matter Contents in the soil. Unit Default:percentage
  • totalNitrogen Total Nitrogen Contents in the soil. Unit Default:percentage
  • boron Boron Contents in the soil. Unit Default:Parts Per Millions
  • p2o5 P2o5 Contents in the soil.