Sony has an API for retrieving details of the trophies an account has earned, but there is no public documentation for using it. This is an attempt at documenting the API by capturing the requests made by the https://my.playstation.com web site.
MIT License
100
stars
4
forks
source link
Various minor updates and new miscellaneous API endpoints documentation #27
Sony have added a new platform PSPC to the trophy system to support their game releases on PC.
No PC specific endpoints have been documented yet. Should you wish help and contribute any endpoints specific to the new PlayStation Overlay please see:
There have been a number of requests for the documentation to be updated to include endpoints which aren't strictly related to the trophy system, but which may be of interest. Many of these have previously been shared within the GitHub repo issues.
A new miscellaneous section has been created to document these:
These endpoints previously required a PS+ subscription to be able to query, but Sony removed this requirement as part of a feature update in early 2024.
GraphQL Endpoints
GraphQL based endpoints now require additional headers in the request, otherwise the server will reject it. The PowerShell examples have been updated to include these headers:
PlayStation PC platform
Sony have added a new platform
PSPC
to the trophy system to support their game releases on PC.No PC specific endpoints have been documented yet. Should you wish help and contribute any endpoints specific to the new PlayStation Overlay please see:
https://github.com/andshrew/PlayStation-Trophies/issues/26
Miscellaneous API Endpoints
There have been a number of requests for the documentation to be updated to include endpoints which aren't strictly related to the trophy system, but which may be of interest. Many of these have previously been shared within the GitHub repo issues.
A new miscellaneous section has been created to document these:
https://andshrew.github.io/PlayStation-Trophies/#/misc/
User profile including account id
https://github.com/andshrew/PlayStation-Trophies/issues/10#issuecomment-1304723441
Alternative user profile https://github.com/andshrew/PlayStation-Trophies/issues/25#issue-2217178193
User played games list including time played https://github.com/andshrew/PlayStation-Trophies/issues/12#issuecomment-1076795941
PS Store Wishlist https://github.com/andshrew/PlayStation-Trophies/issues/18#issuecomment-1484152501
PS Store and User Account Search https://github.com/andshrew/PlayStation-Trophies/issues/25#issue-2217178193
PS5 Console Storage Usage
PS5 Game Help
These endpoints previously required a PS+ subscription to be able to query, but Sony removed this requirement as part of a feature update in early 2024.
GraphQL Endpoints
GraphQL based endpoints now require additional headers in the request, otherwise the server will reject it. The PowerShell examples have been updated to include these headers: