I want to connect MYSQL database

I want to connect MYSQL database Is their any default database connection variable or filter to connect with data base to insert and retrieve third part API data.

You need to create your own plugin that connects to MySQL and makes that data available. Grav has no built-in Database connection functionality.