How to make an API call to a custom post type but filtering by meta value?

How to make an API call to a custom post type but filtering by meta value?

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