API for getting plugin core compatibility?

This should get you what you are looking for:

WordPress.org API for Plugins

Here’s the full documentation:

WordPress.org API Doc

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)