PixelGust Soil API
SoilGrids 2.0 by ISRIC - World Soil Information, CC BY 4.0. Usable without a key (20 calls a day). Attribution: https://pixelgust.com/docs#soil-attribution
SoilGrids 2.0 by ISRIC - World Soil Information, CC BY 4.0. Usable without a key (20 calls a day). Attribution: https://pixelgust.com/docs#soil-attribution
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/pixelgust-com:pixelgust-com-soil-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Pixelgust Com Soil API
version: 1.1.0
description: 'Operations tagged Soil across 2 of this provider''s published API definitions: pixelgust-com-openapi.json, pixelgust-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://pixelgust.com/v1
security:
- ApiKeyHeader: []
tags:
- name: Soil
description: 'SoilGrids 2.0 by ISRIC - World Soil Information, CC BY 4.0. Usable without a key (20 calls a day). Attribution: https://pixelgust.com/docs#soil-attribution'
paths:
/soil:
get:
tags:
- Soil
summary: Soil properties
description: 'SoilGrids 2.0 soil properties at a point (ISRIC - World Soil Information, CC BY 4.0): 250 m mean predictions of bulk density, cation exchange capacity, coarse fragments, clay, sand and silt, total nitrogen, organic carbon content and density at six depths from 0-5 cm to 100-200 cm, the organic carbon stock for 0-30 cm, and pH. Values are in the units listed in soil.units. Every requested pair is present, null where SoilGrids has no prediction. Works without a key: 20 calls a day and 5 a minute per network address. With a key, your plan''s limits apply. Model estimates, not measurements: ISRIC advises against using SoilGrids at the local or farm level, and they are not for engineering design.'
operationId: v1_soil_soil_get
parameters:
- name: lat
in: query
required: true
schema:
type: number
description: Latitude in decimal degrees, -90 to 90
title: Lat
description: Latitude in decimal degrees, -90 to 90
- name: lon
in: query
required: true
schema:
type: number
description: Longitude in decimal degrees, -180 to 180 (other values are wrapped)
title: Lon
description: Longitude in decimal degrees, -180 to 180 (other values are wrapped)
- name: property
in: query
required: false
schema:
anyOf:
- type: array
items:
type: string
- type: 'null'
description: 'Properties to return, repeated or as a comma list: bdod, cec, cfvo, clay, nitrogen, ocd, ocs, phh2o, sand, silt, soc. Default: all 11'
title: Property
description: 'Properties to return, repeated or as a comma list: bdod, cec, cfvo, clay, nitrogen, ocd, ocs, phh2o, sand, silt, soc. Default: all 11'
- name: depth
in: query
required: false
schema:
anyOf:
- type: array
items:
type: string
- type: 'null'
description: 'Depths to return, repeated or as a comma list: 0-5cm, 5-15cm, 15-30cm, 30-60cm, 60-100cm, 100-200cm, and 0-30cm for ocs. Pairs that do not exist are left out. Default: all'
title: Depth
description: 'Depths to return, repeated or as a comma list: 0-5cm, 5-15cm, 15-30cm, 30-60cm, 60-100cm, 100-200cm, and 0-30cm for ocs. Pairs that do not exist are left out. Default: all'
- name: nearest
in: query
required: false
schema:
type: boolean
description: 'When the point''s own pixel has no prediction for any requested pair (built-up areas, water, permanent ice), use the nearest mapped pixel within a few kilometres and report it in pixel. Default: true'
default: true
title: Nearest
description: 'When the point''s own pixel has no prediction for any requested pair (built-up areas, water, permanent ice), use the nearest mapped pixel within a few kilometres and report it in pixel. Default: true'
- name: api_key
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional API key (the X-API-Key header is preferred)
title: Api Key
description: Optional API key (the X-API-Key header is preferred)
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'401':
description: An API key was given but is invalid or revoked (a request without a key is keyless)
'429':
description: Per-minute or daily limit reached, keyed or keyless. Retry after the Retry-After header (seconds)
'503':
description: Soil data is temporarily unavailable, could not be read, or the server is busy with other soil reads. Retry after the Retry-After header (seconds)
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- ApiKeyHeader: []
- {}
servers:
- url: https://pixelgust.com/v1
/soilgrids/v2.0/properties/query:
servers:
- url: https://pixelgust.com
get:
tags:
- Soil
summary: SoilGrids-compatible point query
description: ISRIC's SoilGrids REST API v2.0 request and answer format (properties/query) on PixelGust's copy of the SoilGrids 2.0 mean maps (ISRIC - World Soil Information, CC BY 4.0). Change the base URL from https://rest.isric.org/soilgrids/v2.0 to https://pixelgust.com/soilgrids/v2.0. Works without a key (20 calls a day, shared with /v1/soil). Errors other than 422 are text/plain. PixelGust is not affiliated with or endorsed by ISRIC. https://pixelgust.com/docs#soilgrids
operationId: soilgridsPropertiesQuery
parameters:
- name: lon
in: query
required: true
description: Longitude, -180 to 180 (not wrapped)
schema:
type: number
minimum: -180
maximum: 180
- name: lat
in: query
required: true
description: Latitude, -90 to 90
schema:
type: number
minimum: -90
maximum: 90
- name: property
in: query
required: false
style: form
explode: true
description: 'SoilGrids properties. wv0010, wv0033 and wv1500 come back as null, repeated (comma lists also work). Default: all of ISRIC''s'
schema:
type: array
items:
type: string
enum:
- bdod
- cec
- cfvo
- clay
- nitrogen
- ocd
- ocs
- phh2o
- sand
- silt
- soc
- wv0010
- wv0033
- wv1500
default:
- bdod
- cec
- cfvo
- clay
- nitrogen
- ocd
- ocs
- phh2o
- sand
- silt
- soc
- wv0010
- wv0033
- wv1500
- name: depth
in: query
required: false
style: form
explode: true
description: 'Depth intervals. Pairs that do not exist are left out, repeated (comma lists also work). Default: all of ISRIC''s'
schema:
type: array
items:
type: string
enum:
- 0-5cm
- 0-30cm
- 5-15cm
- 15-30cm
- 30-60cm
- 60-100cm
- 100-200cm
default:
- 0-5cm
- 0-30cm
- 5-15cm
- 15-30cm
- 30-60cm
- 60-100cm
- 100-200cm
- name: value
in: query
required: false
style: form
explode: true
description: 'Statistics. Only mean is served, the others come back as null, repeated (comma lists also work). Default: all of ISRIC''s'
schema:
type: array
items:
type: string
enum:
- Q0.5
- Q0.05
- Q0.95
- mean
- uncertainty
default:
- Q0.5
- Q0.05
- Q0.95
- mean
- uncertainty
- name: api_key
in: query
required: false
description: Optional API key (the X-API-Key header is preferred)
schema:
type: string
security:
- ApiKeyHeader: []
- {}
responses:
'200':
description: 'ISRIC''s GeoJSON Feature: raw integers in mapped units (divide by d_factor), null where there is no prediction, and a pixelgust key with the attribution'
content:
application/json:
example:
type: Feature
geometry:
type: Point
coordinates:
- -7.557
- 41.196
properties:
layers:
- name: soc
unit_measure:
d_factor: 10
mapped_units: dg/kg
target_units: g/kg
uncertainty_unit: ''
depths:
- range:
top_depth: 0
bottom_depth: 5
unit_depth: cm
label: 0-5cm
values:
Q0.5: null
mean: 758
- name: wv0033
unit_measure:
d_factor: 10
mapped_units: (10-2 cm³/cm³)*10
target_units: 10-2 cm³/cm³
uncertainty_unit: ''
depths:
- range:
top_depth: 0
bottom_depth: 5
unit_depth: cm
label: 0-5cm
values:
Q0.5: null
mean: null
query_time_s: 0.04
pixelgust:
not_served:
properties:
- wv0033
values:
- Q0.5
attribution: SoilGrids 2.0 by ISRIC - World Soil Information, CC BY 4.0
license_url: https://creativecommons.org/licenses/by/4.0/
citation: https://doi.org/10.5194/soil-7-217-2021
source_url: https://files.isric.org/soilgrids/latest/data/
built_utc: '2026-10-31T02:05:01Z'
affiliation: PixelGust is not affiliated with or endorsed by ISRIC
docs: https://pixelgust.com/docs#soilgrids
'401':
description: An API key was given but is invalid or revoked
content:
text/plain:
schema:
type: string
'422':
description: Invalid request, in ISRIC's format
content:
application/json:
example:
detail:
- loc:
- query
- lat
msg: field required
type: value_error.missing
'429':
description: Per-minute or daily limit reached. Retry after the Retry-After header (seconds)
content:
text/plain:
schema:
type: string
headers:
Retry-After:
schema:
type: integer
description: Seconds to wait
'503':
description: Soil data is temporarily unavailable or the server is busy with other soil reads. Retry after the Retry-After header (seconds)
content:
text/plain:
schema:
type: string
/k/{api_key}/soilgrids/v2.0/properties/query:
servers:
- url: https://pixelgust.com
get:
tags:
- Soil
summary: SoilGrids-compatible point query, key in the path
description: The same query for tools that cannot send headers, such as R's soilDB, whose endpoint becomes https://pixelgust.com/k/YOUR_API_KEY/soilgrids/v2.0/properties/query. Anyone who sees the URL can use the key's quota.
operationId: soilgridsPropertiesQueryKeyed
parameters:
- name: api_key
in: path
required: true
schema:
type: string
description: Your API key
- name: lon
in: query
required: true
description: Longitude, -180 to 180 (not wrapped)
schema:
type: number
minimum: -180
maximum: 180
- name: lat
in: query
required: true
description: Latitude, -90 to 90
schema:
type: number
minimum: -90
maximum: 90
- name: property
in: query
required: false
style: form
explode: true
description: 'SoilGrids properties. wv0010, wv0033 and wv1500 come back as null, repeated (comma lists also work). Default: all of ISRIC''s'
schema:
type: array
items:
type: string
enum:
- bdod
- cec
- cfvo
- clay
- nitrogen
- ocd
- ocs
- phh2o
- sand
- silt
- soc
- wv0010
- wv0033
- wv1500
default:
- bdod
- cec
- cfvo
- clay
- nitrogen
- ocd
- ocs
- phh2o
- sand
- silt
- soc
- wv0010
- wv0033
- wv1500
- name: depth
in: query
required: false
style: form
explode: true
description: 'Depth intervals. Pairs that do not exist are left out, repeated (comma lists also work). Default: all of ISRIC''s'
schema:
type: array
items:
type: string
enum:
- 0-5cm
- 0-30cm
- 5-15cm
- 15-30cm
- 30-60cm
- 60-100cm
- 100-200cm
default:
- 0-5cm
- 0-30cm
- 5-15cm
- 15-30cm
- 30-60cm
- 60-100cm
- 100-200cm
- name: value
in: query
required: false
style: form
explode: true
description: 'Statistics. Only mean is served, the others come back as null, repeated (comma lists also work). Default: all of ISRIC''s'
schema:
type: array
items:
type: string
enum:
- Q0.5
- Q0.05
- Q0.95
- mean
- uncertainty
default:
- Q0.5
- Q0.05
- Q0.95
- mean
- uncertainty
security:
- {}
responses:
'200':
description: 'ISRIC''s GeoJSON Feature: raw integers in mapped units (divide by d_factor), null where there is no prediction, and a pixelgust key with the attribution'
content:
application/json:
example:
type: Feature
geometry:
type: Point
coordinates:
- -7.557
- 41.196
properties:
layers:
- name: soc
unit_measure:
d_factor: 10
mapped_units: dg/kg
target_units: g/kg
uncertainty_unit: ''
depths:
- range:
top_depth: 0
bottom_depth: 5
unit_depth: cm
label: 0-5cm
values:
Q0.5: null
mean: 758
- name: wv0033
unit_measure:
d_factor: 10
mapped_units: (10-2 cm³/cm³)*10
target_units: 10-2 cm³/cm³
uncertainty_unit: ''
depths:
- range:
top_depth: 0
bottom_depth: 5
unit_depth: cm
label: 0-5cm
values:
Q0.5: null
mean: null
query_time_s: 0.04
pixelgust:
not_served:
properties:
- wv0033
values:
- Q0.5
attribution: SoilGrids 2.0 by ISRIC - World Soil Information, CC BY 4.0
license_url: https://creativecommons.org/licenses/by/4.0/
citation: https://doi.org/10.5194/soil-7-217-2021
source_url: https://files.isric.org/soilgrids/latest/data/
built_utc: '2026-10-31T02:05:01Z'
affiliation: PixelGust is not affiliated with or endorsed by ISRIC
docs: https://pixelgust.com/docs#soilgrids
'401':
description: An API key was given but is invalid or revoked
content:
text/plain:
schema:
type: string
'422':
description: Invalid request, in ISRIC's format
content:
application/json:
example:
detail:
- loc:
- query
- lat
msg: field required
type: value_error.missing
'429':
description: Per-minute or daily limit reached. Retry after the Retry-After header (seconds)
content:
text/plain:
schema:
type: string
headers:
Retry-After:
schema:
type: integer
description: Seconds to wait
'503':
description: Soil data is temporarily unavailable or the server is busy with other soil reads. Retry after the Retry-After header (seconds)
content:
text/plain:
schema:
type: string
/soilgrids/v2.0/properties/layers:
servers:
- url: https://pixelgust.com
get:
tags:
- Soil
summary: Layer structure (not available)
operationId: soilgridsPropertiesLayers
description: properties/layers is not available on PixelGust. The layers it serves are listed at https://pixelgust.com/docs#soilgrids.
security:
- {}
responses:
'501':
description: Not available on PixelGust
content:
text/plain:
schema:
type: string
/soilgrids/v2.0/classification/query:
servers:
- url: https://pixelgust.com
get:
tags:
- Soil
summary: WRB classification (not available)
operationId: soilgridsClassificationQuery
description: PixelGust serves SoilGrids soil properties only. WRB classification is not available.
security:
- {}
responses:
'501':
description: Not available on PixelGust
content:
text/plain:
schema:
type: string
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
ApiKeyHeader:
type: apiKey
in: header
name: X-API-Key
x-refined-from:
- pixelgust-com-openapi.json
- pixelgust-com-openapi.json