ArcGIS API for JavaScript: Hosted/flow_direction (FeatureServer)
Built using the ArcGIS API for JavaScript