MediaWiki:Apihelp-compare-description/en

Get the difference between 2 pages.

A revision number, a page title, or a page ID for both "from" and "to" must be passed.