How to query data of a validator using Cosmos Api available in the docs

How to query data of a validator using Cosmos Api available in the docs. Kindly help me, as I am new to cosmos