USBR Water API V1

This page contains documentation of the RWIS Application Programming Interface (API), which can be used to automate data retrieval.

Contact rwis@usbr.gov to request a feature.

Please visit our API Usage page for examples of how to utilize this API.

Available URL Options

Series

/api/series

/api/series/{siteId}

Example: /api/series/abei Additional Parameters: start end Example: api/series/abei/pn_abei_dayavgairtemperaturedegf?start=2015-11-01&end=2015-12-31 Returned Attributes: value type="float", precision=10, scale=0, nullable=true flag type="string", length=50, nullable=true datetime type="datetime"

Returned Attributes: description type="string", length=1024, nullable=false state type="string", length=30, nullable=false latitude type="string", length=30, nullable=false longitude type="string", length=30, nullable=true timezone type="string", length=30, nullable=false install type="string", length=30, nullable=false horizontal_datum type="string", length=30, nullable=false vertical_datum type="string", length=30, nullable=false vertical_accuracy type="float", precision=10, scale=0, nullable=false elevation_method type="string", length=100, nullable=false tz_offset type="string", length=10, nullable=false active_flag type="string", length=1, nullable=false type type="string", length=100, nullable=false responsibility type="string", length=30, nullable=false agency_region type="string", length=30, nullable=false siteid type="string", length=255 elevation type="string", length=30

Available Parameters format= json download= false (default) true



Sites

/api/sites/

/api/sites/{siteId}

Example: /api/sites/abei

Returned Attributes: description type="string", length=1024, nullable=false state type="string", length=30, nullable=false latitude type="string", length=30, nullable=false longitude type="string", length=30, nullable=true timezone type="string", length=30, nullable=false install type="string", length=30, nullable=false horizontal_datum type="string", length=30, nullable=false vertical_datum type="string", length=30, nullable=false vertical_accuracy type="float", precision=10, scale=0, nullable=false elevation_method type="string", length=100, nullable=false tz_offset type="string", length=10, nullable=false active_flag type="string", length=1, nullable=false type type="string", length=100, nullable=false responsibility type="string", length=30, nullable=false agency_region type="string", length=30, nullable=false siteid type="string", length=255 elevation type="string", length=30

Available Parameters format= json download= false (default) true



Multi Site/Parameter Select