PlayStation-Trophies icon indicating copy to clipboard operation
PlayStation-Trophies copied to clipboard

Current (PS5 / "v2") API and trophyEarnedRate Information

Open andshrew opened this issue 2 years ago • 1 comments

Seemingly one of the limitations of the current trophy API is that you cannot view the trophyEarnedRate (the percentage of people who have earned a specific trophy) unless your account - or the account you are querying against - has played the game and has the trophy list synced.

You can see this behavior when you access the API directly as you will get a Resource Not Found error, and this is also the case both in the PS App and on console with the PS5. You can see this limitation in effect if you try and compare trophies with someone using a game that neither of you have synced to your account.

Trophy-Comparison

However, I have noticed that when a game has trophies listed in the activity card section the PS5 is doing something which does allow it to retrieve the trophyEarnedRate - even if it is a game that your account does not have the trophy list synced for.

Activity-Card-Trophy

Activity-Card-Trophy-Stats

From the limited data you can capture if you run the PS5 through a proxy I can see that it is accessing the API when you open these cards, but cannot see any of the detail in the exact request it is making.

I'm interested in what they are doing, so if anyone has come across this and can share I would like to include it in the documentation here.

It would seem likely that it is either:

  • There is another API endpoint which can be used to retrieve this information.
  • There is a specific accountId they are querying against which has every trophy list synced against it and so will always return the information in a request to the API.

andshrew avatar Apr 05 '22 16:04 andshrew