Added features to get data API