Salesforce List Views are stored in ListView object/entity. So, we have to use ListView object/entity to query all the list views for an object in Salesforce.
Sample SOQL:
SELECT Id, Name, DeveloperName, SobjectType
FROM ListView
WHERE SobjectType = 'Employee__c'
![](https://www.infallibletechie.com/wp-content/uploads/2021/04/How2Bto2Bquery2Ball2Bthe2Blist2Bviews2Bfor2Ban2Bobject2Bin2BSalesforce.jpg)
Here Employee__c is a custom object.