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.

Try it
Ready-made, maintained by usRecords, 12 fieldsv1.0

Data from sdmdataaccess.sc.egov.usda.gov/Tabular/post.rest

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

Locations
Points as 'lat,lon' in decimal degrees, for example 42.0,-93.6. One per line.
Example: 42.0,-93.6

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
Endpoint
POSThttps://pullrow.dev/v1/apis/usda-soil-survey/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

locationslistrequired
Points as 'lat,lon' in decimal degrees, for example 42.0,-93.6.
example: 42.0,-93.6

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
mukeytextMukey3 of 3
map_unit_symboltextMap unit symbol3 of 3
map_unit_nametextMap unit name3 of 3
component_nametextComponent name3 of 3
component_pctnumberComponent (%)3 of 3
taxonomic_ordertextTaxonomic order3 of 3
drainage_classtextDrainage class3 of 3
farmland_classtextFarmland class3 of 3
hydric_ratingtextHydric rating3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordMukeyMap unit symbolMap unit nameComponent nameComponent (%)Taxonomic orderDrainage classFarmland classHydric ratingLatitudeLongitude
14112781314Hanlon-Spillville complex, channeled, 0 to 2 percent slopesHanlon60%MollisolsModerately well drainedFarmland of statewide importanceNo42-93.6
24112781314Hanlon-Spillville complex, channeled, 0 to 2 percent slopesSpillville30%MollisolsModerately well drainedFarmland of statewide importanceNo42-93.6
34112781314Hanlon-Spillville complex, channeled, 0 to 2 percent slopesSpillville5%MollisolsModerately well drainedFarmland of statewide importanceYes42-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.
Known limits
  • 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.