Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Roblox API | RAP Checker | All external websites are down?

So, a while back, there we're a lot of websites to check RAP using their custom API's. But to this day, they've all been shutdown. Does anyone know an other website that still offers this function? It would be greatly appreciated.

1 answer

you can send a request to https://rbxcity.com/user/USERID to make it check RAP then wait a second then send a request to https://data.rbxcity.com/user-inventories/fetch/history/USERID This will return a JSON table take the last value of Data and take its RecentAveragePrice PHP example using Requests Library

<?
if (isset($_GET["userid"])) {
    $userid = $_GET["userid"];
    include('library/Requests.php');
    Requests::register_autoloader();
    Requests::get("https://rbxcity.com/user/".$userid);
    sleep(1);
    $response = Requests::get("https://data.rbxcity.com/user-inventories/fetch/history/".$userid)->body;
    $decoded = json_decode($response,true);
    foreach($decoded['data'] as $info){
        $rap =  $info['recentAveragePrice'];
    }
    echo $rap;
}
?>

This discussion is preserved as it was. New answers, comments, and votes are closed.