Account API
This API will tell you how many API credits are left in your account.
https://api.makcorps.com/account
API Example
curl "https://api.makcorps.com/account?api_key=6574702667653735133680a052" import requests
url = "https://api.makcorps.com/account"
params = {
"api_key": "6574702667653735133680a052"
}
response = requests.get(url, params=params)
if response.status_code == 200:
print(response.json())
else:
print(f"Request failed with status code {response.status_code}") const axios = require('axios');
const url = "https://api.makcorps.com/account";
const params = {
api_key: "6574702667653735133680a052"
};
axios.get(url, { params })
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(`Request failed with status code ${error.response.status}`);
}); <?php
$url = "https://api.makcorps.com/account?api_key=6574702667653735133680a052";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Request Error:' . curl_error($ch);
} else {
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($http_code == 200) {
$response_data = json_decode($response, true);
print_r($response_data);
} else {
echo "Request failed with status code " . $http_code;
}
}
curl_close($ch);
?> Response
{
"requestLimit": 30,
"requestUsed": 0,
"remainingLimit": 30
}