ArcGIS API for JavaScript: Hosted/gwitem_smart (FeatureServer)

Built using the ArcGIS API for JavaScript