MSideek,
What specific cPanel API function do you want to call? WinHTTP.WinHTTPRequest or MSXML2.ServerXMLHTTP COM classes can be used to execute the call, and JSON libraries like nfJSON @ VFPX to help you parse the result.
If you want to perform CRUD operations on a MySQL database that you normally access via a cPanel installation, then the MySQL server must be accessible through an IP port to which you can set an ODBC connection.