openapi: 3.1.0
info:
title: USDA NRCS Soil Data Access Query SOAP API
description: OpenAPI description of the USDA Natural Resources Conservation Service Soil Data Access (SDA) web services. SDA exposes a public REST POST endpoint that accepts SQL queries against the Soil Data Mart database and returns tabular data in XML, JSON or plain text. SDA additionally provides SOAP, WFS and WMS endpoints which are referenced here but not fully modeled in this specification. The REST endpoint is open and does not require authentication.
version: 1.0.0
contact:
name: API Evangelist
email: kin@apievangelist.com
servers:
- url: https://SDMDataAccess.sc.egov.usda.gov
description: USDA NRCS Soil Data Access
tags:
- name: SOAP
paths:
/Tabular/SDMTabularService.asmx:
post:
summary: SOAP tabular service
description: SOAP 1.1/1.2 endpoint exposing the RunQuery operation against the Soil Data Mart database. Requests must use a SOAP envelope.
operationId: runQuerySoap
tags:
- SOAP
requestBody:
required: true
content:
text/xml:
schema:
type: string
description: SOAP envelope containing a RunQuery request.
responses:
'200':
description: SOAP envelope with query results.
content:
text/xml:
schema:
type: string