How would I go about getting real time prices of crypto in Roblox?

So, in my game NFT Simulator, I want the player to be able to convert their Etherius to in-game cash. I was thinking of a randomly changing conversion rate, however it doesn’t seem like a good idea. I think it would be really cool to make real time Etherium prices the conversion rate, so when actual crypto prices go up it encourages people to come back to the game and sell all of their Etherius. How would I do this? I know I might have to use some http service stuff but I don’t know how. Any help would be appreciated.

You’d need to find an API that you can fetch that data from, I’m not sure if such a thing exists for crypto but it may be out there. The wiki reference has a great example of using HTTPService as well as some considerations like polling it too frequently (no more than 500 requests a minute, etc.) Once you have an API and receive some data from it you’d have to manipulate it to be usable for your application by seeing what kind of format the data arrives as and what pieces of it are actually useful, as I’d assume the API involves more than just the raw prices.

Ah, thanks for your help! I will look into crypto APIs to see if I can find anything.

With a brief search it looks like Coinbase has a very nice, simple API for getting the price of any of the coins they trade.

1 Like

I’ve found another API, but thank you for all your suggestions. I am currently figuring out how to use http service. Will mark your answer as solution now :smiley:

1 Like

Did you figure out how? I wasn’t able to

Yeah, cant remember, this thread is very old. Ill check through scripts later

At least can you tell me what the API was?

1 Like