v1

latestSwagger 2.0U.S. Public Domain License2026-07-143628384.6 KB
Lookups

ECHO WBD Name Lookup Service

USGS Watershed Boundary Dataset (WBD) Code lookup based on a supplied WBD Name and Watershed Level

get/rest_lookups.wbd_name_lu

Query parameters

output'JSONP' | 'JSON' | 'XML'

Output Format Flag. Enter one of the following keywords:

  • JSON = Data model formatted as Javascript Object Notation (default).
  • JSONP = Data model formatted as Javascript Object Notation with Padding.
  • XML = Data model formatted as Extensible Markup Language.
callbackstring

JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.

wbd_namestring required

Watershed Name Filter.

wbd_levelstring

The number of digits of the watershed code [Hydrologic Unit Code (HUC)] returned in the ValueCode. Must be an even number between 4 and 12.

Response

Returns an array of WBD names and codes based on the WBD name and WBD level provided. ValueCode is the WBD Code containing the number of digits provided in the WBD level.

Example response

{
  "Results": {
    "LuValues": [
      {
        "ValueCode": "77034",
        "ValueDescription": "1-Butanol"
      }
    ],
    "Message": "Success"
  }
}