I need to access the feature details of web and site which is not activated using the REST api or by using CSOM.Is there any way to do that?
The feature class for the microsoft.sharepoint.client.feature class returns active features as well.
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.feature.aspx
If you have access to Powershell you can do this or else you could construct a loop an run a compare vs a list all features and active features.