How to query rewards data from a block
If you have a fully downloaded blockchain in your local machine, you can parse the raw database with this script.

Then you can find in output text files transactions with TX from hash equal to 64 zeros, there is the coinbase transactions.

Each of this TX has outputs with Value fields. The sum of this Values is the mining reward that you trying to find.