To get code coverage of a class or all classes you can use Tooling API on objects like:
- ApexCodeCoverage – contains coverage per class per test class
- ApexCodeCoverageAggregate – contains coverage per class for all test classes
- ApexOrgWideCoverage – contains coverage overall for all classes in the org
The best way is run queries using Developer Console