---
updatedAt: 2025-10-13T07:01:30.000Z
agentTools:
  projectIndex: https://developer.soilhive.ag/llms.txt
---

# /soil-properties/queries

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "SoilHive API Services",
    "version": "1.1.0"
  },
  "tags": [
    {
      "name": "Soil properties"
    }
  ],
  "servers": [
    {
      "url": "https://api.soilhive.ag/v1",
      "description": "SoilHive API services"
    }
  ],
  "components": {
    "securitySchemes": {
      "Varda-JWT": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "A JWT access token is required."
      }
    },
    "responses": {
      "400": {
        "description": "Request is malformed. Please check parameters/payload.",
        "content": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "example": "Bad request"
                },
                "detail": {
                  "type": "string",
                  "example": "Parameter is missing"
                },
                "instance": {
                  "type": "string",
                  "example": "URI of this resource"
                }
              }
            }
          }
        }
      },
      "403": {
        "description": "Forbidden. Request is not authorized.",
        "content": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "example": "Forbidden"
                },
                "detail": {
                  "type": "string",
                  "example": "Key not authorized"
                },
                "instance": {
                  "type": "string",
                  "example": "URI of this resource"
                }
              }
            }
          }
        }
      },
      "500": {
        "description": "There is some internal server error. Please try again.",
        "content": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "example": "Internal sever error"
                },
                "detail": {
                  "type": "string",
                  "example": "An unspecified internal server error has occurred"
                },
                "instance": {
                  "type": "string",
                  "example": "URI of this resource"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "Varda-JWT": []
    }
  ],
  "paths": {
    "/soil-properties/queries": {
      "post": {
        "tags": [
          "Soil properties"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "geometry"
                ],
                "properties": {
                  "geometry": {
                    "type": "string",
                    "description": "POINT, MULTIPOINT, POLYGON, MULTIPOLYGON, GEOMETRYCOLLECTION in Well-known text (WKT) format",
                    "example": "POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))"
                  },
                  "spatialFilters": {
                    "type": "array",
                    "description": "List of spatial filters",
                    "items": {
                      "type": "integer",
                      "example": 1
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Get soil properties",
            "content": {
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "@context": {
                      "type": "string",
                      "example": "https://api.soilhive.ag/v1/core.jsonld"
                    },
                    "@id": {
                      "type": "string",
                      "description": "The node identifier of the resource",
                      "example": "https://api.soilhive.ag/v1/soil-properties"
                    },
                    "type": {
                      "type": "string",
                      "example": "ItemList"
                    },
                    "description": {
                      "type": "string",
                      "example": "List of soil properties"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "example": "ChemicalProperty"
                          },
                          "@id": {
                            "type": "string",
                            "description": "The node identifier of the resource",
                            "example": "https://api.soilhive.ag/v1/soil-properties/6"
                          },
                          "identifier": {
                            "type": "integer",
                            "example": 6
                          },
                          "name": {
                            "type": "string",
                            "example": "Aluminium"
                          },
                          "description": {
                            "type": "string",
                            "example": "About Aluminium"
                          },
                          "unitText": {
                            "type": "string",
                            "example": "mg/kg, ppm"
                          },
                          "propertyID": {
                            "type": "string",
                            "example": "http://purl.obolibrary.org/obo/CHEBI_27560",
                            "description": "This property is optional"
                          },
                          "unitCode": {
                            "type": "string",
                            "example": "https://qudt.org/vocab/unit/MilliGM-PER-KiloGM",
                            "description": "This property is optional"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          }
        }
      }
    }
  }
}
```