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.
Thanks Drew,Unfortunately this will not used for me because I need to get details of features not activated.Is there any other way using Rest api or CSOM??
Here is documentation on the available REST feature endpoint
https://msdn.microsoft.com/en-us/library/office/jj246446.aspx
Use this to get the activated features
http://<sitecollection>/<site>/_api/web/features