# info.description
The SURGGO Soils API provides soil type and average of the soil type attribute (e.g., NCCPI) by
field for a shape entered. 

# paths./get.get.description
Please note, this API has been deprecated. Please use the new version.

This API is utilized to drive the Ag-Analytics SSURGO soil panel below, for illustration. Area calculations from the API are provided in square meters and can be easily converted to acres on the front-end. The API Response contains shapes/features in ESRI JSON format, as well as the calculated metric (e.g., National Commodity Crop Productivity Index) and areas of each shape, the soil type name, the area for the sums of each soil type across all features for display in the table, metadata related to projection and other information. This API can be easily called and mapped using any standard front-end JavaScript mapping library (e.g., Leaflet).

Please note, we will gradually transition to the SSURGO Soil v2 API, which features changes in the response. Changes will be reflected in the SSURGO Soil v2 API Documentation and Jupyter Notebook.

SSURGO Soils and NCCPI in Ag-Analytics FarmScope.

Click the Jupyter Notebook Static Sample to view a static rendition of this APIs Jupyter Notebook.
Click the Jupyter Notebook Github Repo to access the Jupyter Notebook .ipynb files and
instructions needed in order to run this APIs Jupyter Notebook.

Request Parameters

Parameter | Data Type | Required? | Default | Options | Description

inputShape

Esri Geometry

Yes

--

See esriGeometryType
Constants

The shape information for the field,
as an Esri Geometry object

inputFields

String

Yes

aws0_5

See full
NRCS list

The soil metric to return, see the NRCS variables
PDF for full list with descriptions.

f | String | Yes | json | json/pjson | Response format.

spatialReference
WKID

Number

Yes

4326

See WKID list

The well-known ID of the
desired spatial reference.

# paths./get.get.parameters[].description
ESRI Polygon shape.

The inputShape should have the Albers (“wkid”: 5070) spatial
reference. The shape information for field is esriGeometryPolygon format. Standard open source
JavaScript front-end libraries (e.g., Leaflet) can be used to structure the shape. See example
request below, in which "spatialReference": {"wkid": 5070} is required

# paths./get.get.parameters[].description
The soil metrics to return, see NRCS variables.

# paths./post.post.description
Please note, this API has been deprecated. Please use the new version.

This API is utilized to drive the Ag-Analytics SSURGO soil panel below, for illustration. Area calculations from the API are provided in square meters and can be easily converted to acres on the front-end. The API Response contains shapes/features in ESRI JSON format, as well as the calculated metric (e.g., National Commodity Crop Productivity Index) and areas of each shape, the soil type name, the area for the sums of each soil type across all features for display in the table, metadata related to projection and other information. This API can be easily called and mapped using any standard front-end JavaScript mapping library (e.g., Leaflet).

Please note, we will gradually transition to the SSURGO Soil v2 API, which features changes in the response. Changes will be reflected in the SSURGO Soil v2 API Documentation and Jupyter Notebook.

SSURGO Soils and NCCPI in Ag-Analytics FarmScope.

Click the Jupyter Notebook Static Sample to view a static rendition of this APIs Jupyter Notebook.
Click the Jupyter Notebook Github Repo to access the Jupyter Notebook .ipynb files and
instructions needed in order to run this APIs Jupyter Notebook.

Request Parameters

Parameter | Data Type | Required? | Default | Options | Description

inputShape

Esri Geometry

Yes

--

See esriGeometryType
Constants

The shape information for the field,
as an Esri Geometry object

inputFields

String

Yes

aws0_5

See full
NRCS list

The soil metric to return, see the NRCS variables
PDF for full list with descriptions.

f | String | Yes | json | json/pjson | Response format.

env:outSR

Number

Yes

4326

See WKID list

The well-known ID of the
desired spatial reference.