Skip to main content
U.S. flag

An official website of the United States government

API - Stream Trace

July 13, 2018

Additional features, such as adding Streamer base maps and creating stream trace reports, are also built into the API. Like Streamer, the Trace API uses a 1:1,000,000-scale dataset of streams for the 50 U.S. States, the District of Columbia, Puerto Rico, and the U.S. Virgin Islands.

The Streamer Trace API works in conjunction with the ESRI JSAPI and web pages using the Trace API must already contain one or more functional ESRI JSAPI maps. For compatibility, the version of the Trace API should match the version of the ESRI JSAPI you are using. The available Trace API versions are provided in the version menu at the top of this document – please select the version appropriate for your application if it is already using the ESRI JSAPI. If a Trace API version that matches your application ESRI JSAPI version is not available, try the closest available version. Depending on the version differences and what features of the API's you are using, the closest matching Trace API version may function correctly for your needs. However, be aware that complete Trace API functionality may not be available when using mismatched Trace API and ESRI JSAPI versions.

Client browsers must have JavaScript enabled to execute both the ESRI JSAPI and Trace API JavaScript code.

You can visit the Trace API documentation with complete descriptions of all functionality, the sample gallery showing several samples using the API, an interactive demonstration of various API features, and the data services that the Trace API uses behind the scenes. The FAQ page may answer any questions or address any problems you may have.

Publication Year 2018
Title API - Stream Trace
Product Type Software Release
Record Source USGS Digital Object Identifier Catalog