US Soil Survey by Location API
The USDA soil survey at any US point: give latitude and longitude and get the soil map unit and each soil component under it, with share of the unit, soil order, drainage class, farmland class and hydric rating.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/usda-soil-survey/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"locations":["42.0,-93.6"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
12 fields: 11 here, 1 technical one under Technical details.
Basics
- Mukey
The survey's map unit key for the area at the point.
Example 411278
- Map unit symbol
Short symbol of the map unit on the soil map.
Example 1314
- Map unit name
Name of the map unit, such as a soil complex and its slopes.
Example Hanlon-Spillville complex, channeled, 0 to 2 percent slopes
- Component name
Name of the soil component, such as Hanlon.
Example Hanlon
- Component (%)
Representative share of the map unit this component covers, in percent.
Example 60%
- Taxonomic order
Soil order, such as Mollisols.
Example Mollisols
- Drainage class
How well the soil drains, such as Moderately well drained.
Example Moderately well drained
- Farmland class
Farmland classification of the map unit, such as Prime farmland or Farmland of statewide importance.
Example Farmland of statewide importance
- Hydric rating
Whether the component is a hydric (wetland) soil: Yes or No.
Example No
Location
- Latitude
Latitude of the point you asked for.
Example 42
- Longitude
Longitude of the point you asked for.
Example -93.6
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idThe survey's component key, unique for each soil component.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
mukey | text | Mukey | 3 of 3 |
map_unit_symbol | text | Map unit symbol | 3 of 3 |
map_unit_name | text | Map unit name | 3 of 3 |
component_name | text | Component name | 3 of 3 |
component_pct | number | Component (%) | 3 of 3 |
taxonomic_order | text | Taxonomic order | 3 of 3 |
drainage_class | text | Drainage class | 3 of 3 |
farmland_class | text | Farmland class | 3 of 3 |
hydric_rating | text | Hydric rating | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Mukey | Map unit symbol | Map unit name | Component name | Component (%) | Taxonomic order | Drainage class | Farmland class | Hydric rating | Latitude | Longitude |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 411278 | 1314 | Hanlon-Spillville complex, channeled, 0 to 2 percent slopes | Hanlon | 60% | Mollisols | Moderately well drained | Farmland of statewide importance | No | 42 | -93.6 |
| 2 | 411278 | 1314 | Hanlon-Spillville complex, channeled, 0 to 2 percent slopes | Spillville | 30% | Mollisols | Moderately well drained | Farmland of statewide importance | No | 42 | -93.6 |
| 3 | 411278 | 1314 | Hanlon-Spillville complex, channeled, 0 to 2 percent slopes | Spillville | 5% | Mollisols | Moderately well drained | Farmland of statewide importance | Yes | 42 | -93.6 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Covers only areas the USDA NRCS has surveyed (the United States and territories); a point outside coverage, or on water or an unmapped area, returns no records.
- A map unit is a mix of soils: each point returns one record per component, and comppct values (component_pct) are the survey's representative percentages of the unit, not exact measurements at the point.
- The survey is updated by NRCS as soil areas are re-mapped; values are as published in the Soil Data Access service and are not a substitute for an on-site soil test.
- One request is made per location, paced at one per second, so 100 points take under two minutes. At most 500 locations per run.
- Public domain USDA NRCS data; no key.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.