4,156 questions
4,369 answers
5,718 comments
Use the getblock API with the block's hash or its height passed as a parameter, and look at the miner field of the response.