My previous comment was a bit harsh on CanLII. They actually do have an API for building some limited types of applications: http://developer.canlii.org/docs. But certainly not the sort of free and open access that a developer would want for building something like a search engine.