No. We do not allow API calls over AJAX because it exposes your API credentials which can be easily misused.
The recommended way is to send a request to your server with the required data and from
there you should make a request to our API instead with the credentials being stored on your server. Once the API returns a response, you may then forward the result to your frontend.