Skip to main content

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Worked Examples

Worked examples that use these APIs are published in the USGS Water Mission Area integrated data and tools catalog . Most began as Jupyter notebooks, and each page shows the code alongside its output. The catalog team maintains them; the collection is still growing, so check the date on an example before relying on it.

Browse the full set at water.usgs.gov/catalog/usecases . The examples below are the ones most relevant to the APIs documented on this site.

Network navigation and the hydrologic fabric

See Getting Started with the NLDI and the Hydrologic Fabric service for the reference documentation behind these.

Gridded data, catalogs, and processing

See the Geo Data Portal service for the reference documentation behind these.