Is there a way to get file diff SHA from a commit?

This one, it appears when you click on the file in the commit. And it seems not to change from commit to commit, but this is not the SHA of the file itself.

Can I get it somehow?

In case somebody comes here with the same question: it is not possible atm.

https://github.community/t5/GitHub-API-Development-and/How-to-build-direct-link-to-a-file-change-in-a-PR/td-p/13672