Just come behind that my website is broken and i can not find anymore my API fir blackbox indide control panel. Is my API removed and Why it did happened without any warning or notice to me?
It is OK CMunroe. Thanks for the help. I just think it’s very strange that RAPIDAPI doesn’t have the option to pay via Paypal, which has almost become standard in today’s payment system. I have no choice but to regulate it only after 10 days, when I return.
Just found stats. It looks as i have alost all time below 100.000 and sometime above 100.000 per day API views and that RapidAPI forcing me this way to to change to Ultra
$10.00 / mo (300,000 / day) should to solve issue?
{“message”:“You have exceeded the rate limit per hour for your plan, CUSTOM-mega-free, by the API provider”}
Rate Limit 1000 requests per hour for custom mega free.
What to do?
btw
Can y0ou see how many request i did per hour and how many request i did per day? I do not have anymore access to stats (at least i do not see how to access stats).
Glad it is all working again!
Today back from vacation an add CC and everything works fine with old code. I’ve removed true behind $response because that way it does not works.
It is OK CMunroe. Thanks for the help. I just think it’s very strange that RAPIDAPI doesn’t have the option to pay via Paypal, which has almost become standard in today’s payment system. I have no choice but to regulate it only after 10 days, when I return.
My appologies, I do not control the payment platforms they allow nor the limits they have placed.
https://blackblock.ipinfo.app/lookup/{ip|} should have no limits on it, but is using the older v1 api.
They do not have option to pay with paypal what is very strange and i’m on vacation. I do not have CC with me.
I think changing to that plan /should/ fix the issue.
I can’t confirm, but if it doesn’t fix the issue we could contact RapidAPI for a refund.
Just found stats. It looks as i have alost all time below 100.000 and sometime above 100.000 per day API views and that RapidAPI forcing me this way to to change to Ultra
$10.00 / mo (300,000 / day) should to solve issue?
I found probably reason by testing this one:
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => “https://blackbox.p.rapidapi.com/v2/1.1.1.1,8.8.8.8”,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “GET”,
CURLOPT_HTTPHEADER => [
“X-RapidAPI-Host: blackbox.p.rapidapi.com”,
“X-RapidAPI-Key: mykey”
],
]);
response=curlexec(curl);
err=curlerror(curl);
curl_close($curl);
if ($err) {
echo “cURL Error #:” . $err;
} else {
echo $response;
}
?>
{“message”:“You have exceeded the rate limit per hour for your plan, CUSTOM-mega-free, by the API provider”}
Rate Limit 1000 requests per hour for custom mega free.
What to do?
btw
Can y0ou see how many request i did per hour and how many request i did per day? I do not have anymore access to stats (at least i do not see how to access stats).
I have this kind of code that works all time:
<?
$curl = curl_init();
curl_setopt_array(curl,[CURLOPTURL=>"https://blackbox.p.rapidapi.com/v2/ip",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 1,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “GET”,
CURLOPT_HTTPHEADER => [
“x-rapidapi-host: blackbox.p.rapidapi.com”,
“x-rapidapi-key: ???”
],
]);
response=curlexec(curl);
err=curlerror(curl);
curl_close($curl);
if ($err) {
echo “Error #:” . $err;
}
else {
$response = $response[0];
}
?>
Then below i did:
<?php if (response−>detection−>tor===true)echo′′−ConfirmedProxyServer(TOR)";elseif(response->detection->proxy === true)
{
echo ‘’ Confirmed Proxy Server (VPN)";
}
elseif (response−>detection−>bogon===true)echo′′BogonFakeIPFound";elseif(response->detection->cloud === true)
{
echo ‘’ (AWS Cloud)";
}
elseif (response−>detection−>hosting===true)echo′′(HostingIP)";elseif(response->detection->spamhaus === true)
{
echo ‘’ Most Likely A Proxy Server";
}
else
{
echo ‘’ Clean. VPN Proxy IP Not Found";
}
?>
$response = $response[0];
and to remove
$response = $response[0];
but all time i got result as Clean Proxy not found.
Can you try the Singular Object lookup?
url: ‘https://blackbox.p.rapidapi.com/v2/obj/8.8.8.8’,
“ip”: “8.8.8.8”,
“error”: null,
“asn”: {
“name”: “GOOGLE”,
“number”: 15169,
“network”: “8.8.8.0”,
“cidr”: 24
},
“detection”: {
“bogon”: false,
“cloud”: true,
“hosting”: true,
“proxy”: false,
“spamhaus”: false,
“tor”: false
},
“suggestion”: “block”
}
Adjustments on your end:
Remove the following line;
$response = $response[0];