Global Soil Properties

Modelled soil pH, organic carbon, clay, sand, silt, nitrogen, cation exchange capacity and bulk density for any point on land worldwide, by depth band, in ordinary units.

$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, 8 fieldsv1.0

Data from rest.isric.org/soilgrids/v2.0/docs

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 'latitude,longitude' in decimal degrees, one per entry. Up to 50. One per line.
Example: 51.57,5.39
Propertiesoptional
Soil properties to return: phh2o (pH), soc (organic carbon), clay, sand, silt, nitrogen, cec, bdod (bulk density). Leave empty for all eight. One per line, or separated by commas.
Example: phh2o, soc
Depthsoptional
Depth bands: 0-5cm, 5-15cm, 15-30cm, 30-60cm, 60-100cm, 100-200cm. Leave empty for 0-5cm. One per line, or separated by commas.
Example: 0-5cm

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/soilgrids-global-soil/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/soilgrids-global-soil/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"locations":["51.57,5.39"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

locationslistrequired
Points as 'latitude,longitude' in decimal degrees, one per entry. Up to 50.
example: 51.57,5.39
propertieslist
Soil properties to return: phh2o (pH), soc (organic carbon), clay, sand, silt, nitrogen, cec, bdod (bulk density). Leave empty for all eight.
example: phh2o, soc
depthslist
Depth bands: 0-5cm, 5-15cm, 15-30cm, 30-60cm, 60-100cm, 100-200cm. Leave empty for 0-5cm.
example: 0-5cm

What's in each record

8 fields: 7 here, 1 technical one under Technical details.

Basics

  • Property

    Property code: phh2o, soc, clay, sand, silt, nitrogen, cec or bdod.

    Example phh2o

  • Property name

    Plain name of the property, such as Soil pH (water).

    Example Soil pH (water)

  • Depth

    Depth band, such as 0-5cm.

    Example 0-5cm

  • Mean

    Predicted mean value, already converted to the unit in unit.

    Example 5.6

  • Unit

    Unit of mean, such as g/kg, % or cmol(c)/kg; pH has no unit and shows as pH.

    Example pH

Location

  • Latitude

    Latitude of the point, in decimal degrees.

    Example 51.57

  • Longitude

    Longitude of the point, in decimal degrees.

    Example 5.39

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 idRow key: latitude, longitude, property and depth joined together.

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
propertytextProperty3 of 3
property_nametextProperty name3 of 3
depthtextDepth3 of 3
meannumberMean3 of 3
unittextUnit3 of 3

How it reads the site

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

Sample records

Sample records
RecordPropertyProperty nameDepthMeanUnitLatitudeLongitude
1phh2oSoil pH (water)0-5cm5.6pH51.575.39
2phh2oSoil pH (water)5-15cm5.9pH51.575.39
3socSoil organic carbon0-5cm49.3g/kg51.575.39

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
  • Values are ISRIC SoilGrids model predictions on a 250 m grid, not field measurements; the mean value is returned, without uncertainty bands.
  • The service allows about 5 calls a minute, so we make one call every 12 seconds, shared across all runs: each location takes about 12 seconds, and 50 locations take about 10 minutes. At most 50 locations per run.
  • Points with no soil data (water, ice, built-up land) return no rows.
  • The service is in beta and can be slow or unavailable at times.
  • Licence CC BY 4.0: credit ISRIC - World Soil Information (SoilGrids) when you use the data.

Version history

A run uses the live version unless the request names another one with version.