> ## Documentation Index
> Fetch the complete documentation index at: https://docs.acreblitz.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use the V2 API at https://esa.acreblitz.com/api/v2. V1 is deprecated and is no longer documented.
> Read /llms.txt for all supported endpoints. For bulk integration, read bulk submission, status, results, and /v2/errors before constructing requests.

# Analyze soil

> Analyze hydrologic soil groups and slope for a field boundary

Analyze hydrologic soil groups and slope for a field boundary.

**provider\_id** `string` *required*

Your assigned provider identifier, matching the API key.

**field\_boundary** `object` *required*

GeoJSON Feature with Polygon or MultiPolygon in EPSG:4326. The single-check field-boundary limits apply.

## Response

The response contains `soil_data` (a GeoJSON FeatureCollection clipped to the field boundary), `dominant_hydgrpdcd`, `total_area_sqm`, `hydgrpdcd_analysis`, `weighted_avg_slopegradwta`, and `musym_analysis`. Missing hydrologic group or slope attributes can be null.

This endpoint does not save a field/application. Soil may be reused across requests for the same area. The example shows summary fields; the complete response also includes field-boundary data and map-unit analysis.

```bash cURL theme={null}
curl --request POST 'https://esa.acreblitz.com/api/v2/soil/process' \
  --header "X-API-Key: $ACREBLITZ_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "provider_id": "your-provider",
  "field_boundary": {
    "type": "Feature",
    "properties": {},
    "geometry": {
      "type": "Polygon",
      "coordinates": [
        [
          [
            -95.404,
            43.102
          ],
          [
            -95.392,
            43.102
          ],
          [
            -95.392,
            43.11
          ],
          [
            -95.404,
            43.11
          ],
          [
            -95.404,
            43.102
          ]
        ]
      ]
    }
  }
}'
```

```json 200 — selected response fields theme={null}
{
  "dominant_hydgrpdcd": "B",
  "total_area_sqm": 865700.0,
  "hydgrpdcd_analysis": {
    "B": {
      "area_sqm": 865700.0,
      "percentage": 100
    }
  },
  "weighted_avg_slopegradwta": 2.1
}
```

## Errors

Invalid field boundaries return `422 INVALID_REQUEST`. A dependency failure can return `503 REQUEST_FAILED`; capacity and deadline errors also apply.

All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors.md#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors.md) to choose a retry or correction. Keep `X-Request-ID` when present.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.