4,163 questions
4,376 answers
5,729 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.