API for Large Document Comparison

Anyone is familiar with an existing API that enables comparing two large documents (>= 20 pages each)?