filter by type and test some apis