ArcGIS API for JavaScript: DataExtraction/Extract_Data_Within_Polygon (MapServer)
Built using the ArcGIS API for JavaScript