The ratings are the dislikes and likes on the product. Like basically what the player thinks about it then they can leave a like or dislike on the gamepass. The only way to get ratings on one of your product is checking the like/dislike ratio on a gamepass.
Luckily for you, there’s a web API for getting voting information on assets. For accessing the web API through HttpService, you must use a proxy (such as rprxy.xyz).
Unfortunately, this is only for assets - no web API for gamepasses which I’m aware of.