Know how many credits you have left
One call returns your request limit, how many you have used, and how many remain — so your integration never runs dry by surprise.
- Limit
- Used
- Remaining
Account
- 30requestLimit
- 0requestUsed
- 30remainingLimit
Built for
Monitor usage
Show remaining credits on your own admin dashboard.
Alert before you run out
Warn your team when remaining credits drop below a threshold.
Plan upgrades
Track usage over the month to pick the right plan.
Make your first request
One GET to https://api.makcorps.com/account with your API key. Examples in every language from the docs.
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);
?> {
"requestLimit": 30,
"requestUsed": 0,
"remainingLimit": 30
} Related APIs
All products →- GET /mappingMapping API
Search a hotel by name to get the MakCorps hotel ID the /hotel API takes.
- GET /hotelHotel Price Comparison API
Compare one hotel across 15+ vendors in a single request, with every price and tax.
- GET /roomtypeRoom-Type API
Pricing for every room category a hotel sells, ready to compare across vendors.