# WritersLogic Farmland Soil Analysis

> WritersLogic Farmland Soil Analysis is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-11-21).

Fetches USDA NRCS soil survey data for a US point location and rates its suitability for cropland, pasture, orchard, or building use based on soil properties and groundwater conditions

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/farmland-soil?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-farmland-soil-analysis-ab8a3d25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5S9ERcLHgoVvVwv4KSbCe

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability writerslogic-farmland-soil-analysis-ab8a3d25 -d '<json body>'
```

Example prompt: Before I make an offer on a parcel at 38.9517, -95.2353 in Kansas, can you pull the USDA soil survey and rate it for cropland and building_site use — I want to know the land capability class, prime farmland status, water table depth, and any limiting factors?

## When to prefer this

Use this endpoint when you need objective, source-cited soil and land suitability data for a specific US point location prior to a purchase, lease, or planting decision. It is the right choice when you need USDA NRCS soil classifications, land capability ratings, and groundwater data combined in one call with traceable source URLs — not for general agronomic advice, soil contamination testing, water rights research, or crop yield forecasting. It is especially valuable when you need a deterministic, non-LLM assessment with explicit handling of data gaps rather than interpolated estimates.

## Known failure modes

- INSUFFICIENT_DATA returned when the point falls outside USDA NRCS soil survey coverage (e.g., urban areas, federal lands without survey)
- Address geocoding failure if the US Census geocoder cannot resolve the provided address
- Individual data layers (USGS groundwater, Drought Monitor) may fail and are listed as failed rather than estimated
- Invalid coordinates (outside US, beyond lat/lon bounds) rejected at input validation
- Payment failure if x402 USDC payment is not completed before the call

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

A structured report including: soil map unit name and description, prime farmland classification, land capability class and subclass, drainage class, hydric rating, flooding and ponding frequency, water table and bedrock depth, slope percentage, pH, organic matter percentage, available water capacity, shrink-swell and building-site ratings, nearest USGS groundwater depth, US Drought Monitor status and 4-week trend for the county, and a suitability rating for each requested land use (cropland, pasture, orchard, building_site) with every limiting factor listed alongside its value, threshold, source URL, and fetch timestamp. Returns INSUFFICIENT_DATA if no soil survey coverage exists; lists failed data layers explicitly rather than estimating.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number",
   "maximum": 90,
   "minimum": -90,
   "description": "WGS84 latitude. Give lat with lon, or address."
  },
  "lon": {
   "type": "number",
   "maximum": 180,
   "minimum": -180,
   "description": "WGS84 longitude."
  },
  "use": {
   "enum": [
    "cropland",
    "pasture",
    "orchard",
    "building_site"
   ],
   "type": "string",
   "description": "Intended use to rate. Omit to rate all four."
  },
  "address": {
   "type": "string",
   "maxLength": 200,
   "minLength": 5,
   "description": "US street address, geocoded by the US Census geocoder."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-farmland-soil-analysis-ab8a3d25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
