Hydrologic Database (HDB) Data Query

The Bureau of Reclamation makes efforts to maintain the accuracy of data found in the HDB system databases but the data is largely unverified and should be considered preliminary and subject to change. Data and services are provided with the express understanding that the United States Government makes no warranties, expressed or implied, concerning the accuracy, completeness, usability, or suitability for any particular purpose of the information or data obtained by access to this computer system. The United States shall be under no liability whatsoever to any individual or group entity by reason of any use made thereof. Please contact the developer if you have any questions regarding this service.

1. Select your desired HDB:
Lower Colorado Regional Office
Upper Colorado Regional Office
Eastern Colorado Area Office
Yuma Area Office
Lahontan Basin Area Office
Klamath Basin Area Office
Pacific Northwest Regional Office
Great Plains Regional Office
2. Input your desired Site-Datatype ID (SDI) number(s), start typing to filter the list of available SDIs, or select from the drop-down list:
Separate multiple ID numbers with commas and no spaces. (Ex: 1234,5678,...)
3. Select your desired data frequency:
Instantaneous   Hourly   Daily   Monthly  
4. Select your desired date range (YYYY-MM-DD hh:mm):
From To
5. Select your desired data type:
Observed   Modeled, Model Run ID =
6. Select your desired output format:
WebPage   CSV   HTML Table   JSON   Interactive Graph

Web Service Information

SAMPLE REQUEST
https://www.usbr.gov/pn-bin/hdb/hdb.pl?svr=lchdb&sdi=1863&tstp=DY&t1=2018-05-26T00:00&t2=2018-06-25T00:00&table=R&mrid=0&format=table
REQUIRED ARGUMENTS
svr - either lchdb, uchdb2, yaohdb, ecohdb, lbohdb, kbohdb, pnhyd, or gphyd for the Lower Colorado Regional Office, Upper Colorado Regional Office, Yuma Area Office, Eastern Colorado Area Office, Lahontan Basin Area Office, Klamath Basin Area Office HDBs, or the Pacific Northwest Regional Office or Great Plains Regional Office Hydromets respectively
sdi - separate multiple Site Datatype IDs (sdi) with a comma
tstp - IN, HR, DY, MN to query instantaneous, hourly, daily, or monthly data
t1 & t2 - start and end date in MM-DD-YYYY (01-01-1980) or YYYY-MM-DDTHH:mm (1980-01-01T13:00) format. You may alternatively set these to integers to get data using a timestep offset from today (Ex: If querying daily data and t1=-7 and t2=0, this will query the last 7-day's worth of data)
format - csv, table, json, or graph
OPTIONAL ARGUMENTS
table - either R or M to specify whether to query observed or modeled data (defaults to R if not specified)
mrid - required integer Model Run ID (mrid) if table=M

Please contact via e-mail at bor-sha-lcb-wmis@usbr.gov to report bugs or for questions and information regarding this service.

March
January
February
March
April
May
June
July
August
September
October
November
December
2025
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
SunMonTueWedThuFriSat
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
00:00
01:00
02:00
03:00
04:00
05:00
06:00
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00
March
January
February
March
April
May
June
July
August
September
October
November
December
2025
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
SunMonTueWedThuFriSat
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
00:00
01:00
02:00
03:00
04:00
05:00
06:00
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00