We want to be able to dynamically retrieve the comparison from Earwig's Copyvio Detector Tool from the new Tool Labs interface for EranBot, but this requires an output API on Earwig's side. The API should accept a page title and a single URL and return all the info needed to construct a comparison showing the matching text between the WP article and the possible plagiarism source.
For now, the API should probably just return HTML for the diff, rather than trying to come up with some sort of JSON abstraction.