What you can ask
- “What does USGS Water Data have for the area or asset I'm working on?”
- “Pull the most recent USGS Water Data records and put them in a table.”
- “What does USGS Water Data cover, and how fresh is the data?”
About this source
USGS water data: NWIS continuous, daily, groundwater, and monitoring-location reads (OGC API v0), the stream network, and water quality. getWatershed = HUC2..HUC12 at a point; searchFlowlines = NHDPlus HR streams; getCatchment = local drainage polygon; locateOnNetwork / traceNetwork / findNetworkFeatures / getUpstreamBasin = NLDI snap, up/downstream trace, gages / dischargers / dams along the network, basin; searchWaterQualitySites / getWaterQualityResults = Water Quality Portal sites and sample results; getPeakFlows = annual peaks; getLatestDailyValues; getFieldMeasurements / getChannelMeasurements; getTimeSeriesMetadata / getSiteDataAvailability = what a site records; searchParameterCodes / searchAquiferCodes / lookupHydrologicUnit.
Connector ID usgs-water
Provenance
Freshness & coverage
Caveats
- ⚠ USGS still labels this API v0; breaking changes are reserved for a future versioned URL.
- ⚠ Continuous observations may be provisional and can arrive after collection.
- ⚠ Observation collections return one feature per observation, unlike legacy WaterML grouping.
- ⚠ Monitoring locations cannot be filtered directly by parameter code.
› Methods (24)
Technical detail for developers: parameters, pagination, units, and freshness per method.
getServiceInfo
readDescribe the exact OGC collections, limits, parameter codes, and migration caveats.
EntitiesservicePaginationnoneFreshnessNear real-time (source-level)getInstantaneousValues
readGet bounded continuous observations or the latest value for named USGS sites.
Required paramssites or site or siteCode or siteIdEntitiescontinuous-observationPaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-timegetDailyValues
readGet bounded daily statistical observations for named USGS sites.
Required paramssites or site or siteCode or siteIdEntitiesdaily-observationPaginationoffset (offsetField: offset, limitField: limit)FreshnessScheduledgetSiteInfo
readGet normalized monitoring-location metadata for up to 50 exact USGS site numbers.
Required paramssitesEntitiesmonitoring-locationPaginationnoneFreshnessNear real-time (source-level)searchSites
readSearch monitoring locations by exactly one bbox, county FIPS, or state postal code.
Required paramsbbox or boundingBox or countyCd or countyCode or stateCd or stateEntitiesmonitoring-locationPaginationoffset (offsetField: offset, limitField: maxResults)CRSOGC CRS84FreshnessNear real-time (source-level)getGroundwaterLevels
readGet bounded discrete groundwater field measurements by sites or bbox.
Required paramssites or site or siteCode or siteId or bbox or bBoxEntitiesgroundwater-field-measurementPaginationoffset (offsetField: offset, limitField: limit)CRSOGC CRS84FreshnessNear real-time (source-level)getWatershed
readRetrieve the HUC2 to HUC12 hydrologic unit at a point with name, area, states, downstream unit.
Required paramslatitudelongitudeEntitieshydrologic-unitPaginationnoneFreshnessNear real-time (source-level)level 2|4|6|8|10|12 (default 12); includeGeometry for the polygon.
searchFlowlines
readRetrieve NHDPlus HR stream flowlines in a bbox or radius as GeoJSON with order and name.
Required paramsbbox or latitude and longitudeEntitiesflowlinePaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-time (source-level)bbox <= 1 deg; radiusMiles <= 50; minStreamOrder / namedOnly thin dense areas.
getCatchment
readRetrieve the NHDPlus HR local catchment draining to the stream at a point.
Required paramslatitudelongitudeEntitiescatchmentPaginationnoneFreshnessNear real-time (source-level)areaSqKm + nhdPlusId; includeGeometry for the polygon.
locateOnNetwork
unknownSnap a point to the NHDPlus stream network and return its comid and flowline.
Required paramslatitudelongitudeEntitiesflowlinePaginationnoneFreshnessNear real-time (source-level)found:false when no mapped stream is near; comid feeds traceNetwork.
traceNetwork
unknownTrace flowlines upstream or downstream of a comid, NWIS site, or point as GeoJSON.
Required paramscomid or nwisSite or latitude and longitudeEntitiesflowlinePaginationnoneFreshnessNear real-time (source-level)direction default upstream-tributaries; distanceKm default 50 (cap 1000).
findNetworkFeatures
readFind gages, water-quality sites, NPDES dischargers, or dams along the network from an origin.
Required paramscomid or nwisSite or latitude and longitudeEntitiesnetwork-featurePaginationnoneFreshnessNear real-time (source-level)source default nwis-sites; direction + distanceKm as traceNetwork.
getUpstreamBasin
readRetrieve the upstream drainage basin polygon for a comid, NWIS site, or point as GeoJSON.
Required paramscomid or nwisSite or latitude and longitudeEntitiesbasinPaginationnoneFreshnessNear real-time (source-level)simplified true by default; pass the result to patchops_addMapLayer.
searchWaterQualitySites
readRetrieve Water Quality Portal monitoring sites by bbox, radius, or state and county.
Required paramsbbox or latitude and longitude or stateEntitieswater-quality-sitePaginationnone (limitField: limit)FreshnessNear real-time (source-level)siteType Well|Stream|Lake|Spring; characteristic = only sites with that analyte.
getWaterQualityResults
readRetrieve discrete water-quality sample results by site, radius, bbox, or state and county.
Required paramssiteId or bbox or latitude and longitude or stateEntitieswater-quality-resultPaginationnone (limitField: limit)FreshnessNear real-time (source-level)Spatial searches also need characteristic or startDate. Dates YYYY-MM-DD.
getLatestDailyValues
readRetrieve the latest daily value per time series for sites or a bbox.
Required paramssites or bboxEntitiesdaily-observationPaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-time (source-level)parameterCd optional (default 00060); provisional values appear here first.
getPeakFlows
readRetrieve annual peak streamflow records for a gage, bbox, or state, the flood-frequency series.
Required paramssites or bbox or stateCdEntitiespeak-flowPaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-time (source-level)waterYear narrows to one year; parameterCd 00060 (default) or 00065 gage height.
getFieldMeasurements
readRetrieve discrete field measurements (discharge, stage, level, temperature) from site visits.
Required paramssitesEntitiesfield-measurementPaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-time (source-level)parameterCd + startDate/endDate (YYYY-MM-DD) narrow; rating + method included.
getChannelMeasurements
readRetrieve channel width, area, velocity, bed material, and stability behind streamflow measurements.
Required paramssitesEntitieschannel-measurementPaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-time (source-level)One row per measured channel; fieldVisitId joins to getFieldMeasurements.
getTimeSeriesMetadata
readRetrieve which time series (parameter, statistic, period of record) exist at sites or in a bbox.
Required paramssites or bboxEntitiestime-seriesPaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-time (source-level)Use before getDailyValues to learn a site parameter codes and date ranges.
getSiteDataAvailability
readRetrieve everything a site records with periods of record plus aquifer, well depth, drainage area.
Required paramssitesEntitiessite-data-availabilityPaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-time (source-level)One row per series (time series and field measurements); dataType tells which.
searchParameterCodes
readRetrieve USGS five-digit parameter codes by constituent name or parameter group.
Required paramsquery or groupEntitiesparameter-codePaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-time (source-level)query matches name and description; group e.g. PHY, INN, NUT, OOT.
searchAquiferCodes
readRetrieve USGS local or principal (national) aquifer codes by name.
Required paramsqueryEntitiesaquifer-codePaginationoffset (offsetField: offset, limitField: limit)FreshnessNear real-time (source-level)national:true searches the 67 principal aquifers; codes feed site searches.
lookupHydrologicUnit
readRetrieve the name and level of a 2 to 12 digit hydrologic unit code.
Required paramshucEntitieshydrologic-unitPaginationnoneFreshnessNear real-time (source-level)Pairs with getWatershed, which returns the code at a point.
