Before the Ethereum merge. The miner received the fee or reward, and the miner was known by looking at the json rpc function "eth_getBlockByNumber".
Now, I know that people who participated in staking get a reward. Has the json-rpc api been added to know how much reward each participant received?? Is there any way to find out?