Rolimon's API Module

Rolimon's API Module


I have created a module that allows you to easily access the Rolimon’s API, it comes with several features and is available for download here. If you would prefer not to download the RBXM file, the marketplace model can be found here.

A more in depth documentation can be found on the Github repository.

Features


  • Fetch the latest item data from Rolimon’s
  • Detect what the change of an items RAP would be if sold at a certain price
  • Fetch details for any Roblox user
  • Fetch assets owned by any Roblox user

Modules Usage


Items Module
--<< NotFrindow >>--

local module = require(script.Parent.Items)

--<< Returns the item table >>--
function fetchItems()
	local items = module.fetchItems()
	if items.Success then
		return items.Items
	else
		warn("Failed to fetch items")
	end
end

local itemsTable = fetchItems()
print(itemsTable)

--<< Prints the item details for ROBLOX Madness Face >>--

function printMadnessFaceDetails()
	local madnessFace = module.fetchItemDetails(130213380)
	print("Madness Face RAP: " .. madnessFace.RAP)
end

printMadnessFaceDetails()

--<< Returns the changes in RAP if the madness face were to be sold at 1,000 robux >>--
function madnessFaceRAPChangeFrom1000()
	local data = module.getRAPChangeFromItem(1000, 130213380)
	if data.Success then
		print("Original RAP: " .. data.OriginalRAP)
		print("Expected RAP: " .. data.ExpectedRAP)
	end
end

madnessFaceRAPChangeFrom1000()

--<< Prints the changes in RAP between two numbers (BestPrice, CurrentRAP) >>--
function getRAPChangeFrom2000IfSoldAt1000()
	local data = module.getRAPChange(1000, 2000)
	print("Original RAP: " .. data.OriginalRAP)
	print("Expected RAP: " .. data.ExpectedRAP)
end

getRAPChangeFrom2000IfSoldAt1000()

--<< Prints the current amount of limiteds in the Rolimon's database >>--
function printItemCount()
	local data = module.getItemCount()
	if data.Success then
		print(data.ItemCount)
	end
end

printItemCount()
Players Module
--<< NotFrindow >>--

local module = require(script.Parent.Players)

--<< Prints a table which includes the players assets >>--
function fetchPlayerAssets(userId)
	local data = module.fetchPlayerAssets(userId)
	if data.Success then
		print(data.PlayerAssets)
	end
end

fetchPlayerAssets(491970127)

--<< Prints various information about the player >>--
function fetchUserDetails(userId)
	local data = module.fetchUserDetails(userId)
	if data.Success then
		print("Is terminated? " .. data.Terminated)		
		print("Inventory private? " .. data.PrivacyEnabled)
	end
end

fetchUserDetails(491970127)

Changelog


1.3.0 (2/6/24)
  • fetchItems() now returns a table
  • fetchItemDetails() now returns a table
  • getRAPChangeFromItem() now returns a table
  • getRAPChange() now returns a table
  • getItemCount() now returns a table
  • fetchUserDetails() now returns a table
1.2.0 (9/12/23)
  • Functions will now return values instead of updating values inside of the modules
  • Function datatypes are now shown
  • Renamed some functions
  • Merged the UserAssets and UserDetails modules into one module called Players
  • The RBXM file now includes the example scripts for easy accessibility
  • Uploaded the module to the marketplace, it can be located here
10 Likes

What happens if the request errors?

The module wouldn’t work, the only time this would be an issue is when HTTP requests are not enabled, Roblox is down, or Rolimon’s is down, which doesn’t happen frequently.

1 Like

I created something like this for the API, however, it works with other endpoints as well. Great work though!

I tried finding an API for Rolimon’s but couldn’t find one so I made my own, this looks great, also, could you provide me with all of the endpoints Rolimon’s has because I want to implement them into mine. I thought there was only an endpoint for items.

1 Like
https://www.rolimons.com/itemapi/itemdetails
https://www.rolimons.com/api/activity
https://www.rolimons.com/tradeadsapi/getrecentads
https://www.rolimons.com/playerapi/player/USER_ID

There are more endpoints but these are the only ones that really have a use for Roblox. And here is unofficial documentation for the Rolimons API I created a little back. Rolimons - Rolimons API Documentation

Hello. I have a question: Is it possible to access UGC limiteds api of Rolimons?

image

If your still looking for one you can use mine

https://mewt.xyz/collectables
https://mewt.xyz/collectables/:id -- gets specific item details

Might add this to my module, thanks for taking your time to make this!

Bumping this topic because I just released an update! :slightly_smiling_face:

Bumping this topic because I just released an update! :slightly_smiling_face:

1 Like