https://api.snodas.geog.pdx.edu/
https://api.snodas.geog.pdx.edu/docs#
Open a Windows command prompt
Type curl -V in to check curl version
To get a list of all the pourpoint IDs, type curl -X GET \ "https://api.snodas.geog.pdx.edu/pourpoints/" \ -H "accept: application/json"
To perform a DOY (day of the year) query of station id 168 (13202000:ID:USGS Boise R nr Boise) with the elevation band interval of 1000 feet, type curl -X GET \ "https://api.snodas.geog.pdx.edu/pourpoints/168/zonal-stats/doy?products=swe&month=6&day=12&start_year=2010&end_year=2012&elevation_band_step_ft=1000" \ -H "accept: text/csv" > "C:\temp\outputfile.csv"Â
/tiles: GET all dates for which SNODAS raster tiles are available in json format
/tiles/date-params: GET start date and end date of SNODAS dates with list of missing dates in json format (for UI datepicker)
/tiles/{DATE}/{ZOOM}/{X}/{Y}.[png|jpg|jpeg]: GET a specific SNODAS raster tile in the specified format
/pourpoints: GET all pourpoints as a geojson feature class
/pourpoints/{ZOOM}/{X}/{Y}.mvt: GET a vector tile of the pourpoint geometries, including the basin geometries corresponding to each
/query/pourpoint/[point|polygon]/{POURPOINT_ID}/{START_DATE}/{END_DATE}/: GET statistics for a given pourpoint feature for a continuous date range in CSV format
/query/pourpoint/polygon/{POURPOINT_ID}/{MM}-{DD}/{START_YYYY}/{END_YYYY}/: GET statistics for a pourpoint basin polygon for a specific DOY over the provided year range in CSV format
/query/feature/{LAT}/{LONG}/{START_DATE}/{END_DATE}/: GET statistics for a date range for a specific lat/long coordinate in CSV format
/analysis/streamflow/[swe|depth|runoff|sublimation|sublimation_blowing|precip_solid|precip_liquid|average_temp]/{START_MM}/{END_MM}/{FORECASTED_MM}-{FORECASTED_DD}/{START_YYYY}/{END_YYYY}/: GET streamflow regression based on current streamflow data in CSV