Lookups
ECHO WBD Code Lookup Service
USGS Watershed Boundary Dataset (WBD) Name lookup based on a supplied WBD Code and Watershed Level
get/rest_lookups.wbd_code_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_codestring
Two-digit watershed code [Hydrologic Unit Code (HUC)].
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 code and WBD level provided. If WBD Code not provided, returns all values. 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"
}
}